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

Pixelairport's avatar

Laravel nova trix field with custom elements (image, charts, ...)

Hi. I searched a lot but cant find anything for my problem. We build a system with nova and want to have also cms pages. These pages have charts, images (used with spatie medialibrary), slider and other things. I would like to have someting like in wordpress. But it seems trix is really a simple editor with only small setup. I would like to have blocks like in gutenberg... is there a editor which really works great with nova? I know tinymce, ckeditor, froala, ... But these also have to be customized a lot and are not for free... I just look for a good solution to let our writers flexible content.

Our solution/idea at the moment and maybe that is the best idea, we use https://github.com/webwizo/laravel-shortcodes and use trix. And then we have something like [blade file="mybladefile" data1="hello" data2="world"], which loads the mybladefile.blade.php and set the vars.

Maybe somebody have a better idea? if not I think we will try this.

0 likes
0 replies

Please or to participate in this conversation.