Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

citricguy's avatar

Using Vue components in Trix WYSIWYG editor?

The Trix editor seems a bit lacking when it comes to customization but I was wondering if it would be possible to extend it using VueJS instead.

Is there a way that I can allow the Trix editor to allow Vue components directly?

For example, if I had a <youtube></youtube> Vue component, could I allow that to be directly entered into the WYSIWYG and then have Vue deal with it when displayed?

Is there a common workflow for this?

0 likes
1 reply
shaungbhone's avatar

Try this!

https://laracasts.com/series/lets-build-a-forum-with-laravel/episodes/99

Please or to participate in this conversation.