gregsphotography/tinymce-nova
Integrates the TinyMCE rich-text editor into Laravel Nova as a reusable field. Add a configurable WYSIWYG editor to Nova resource forms for creating and editing formatted HTML content, with familiar toolbar and editing controls. Supports standard TinyMCE configuration for flexible content editing in...
composer require the package and run php artisan vendor:publish to pull out its config (look for a tinymce/nova-tinymce config file) and any local editor assets. Register the field on a Nova resource in the usual way: a TinyMCE-style field class added to fields() for the attribute that holds the HTML body.tinymce.init) and the field class itself, which is where per-field option overrides and the detail/index rendering live.Body/Content column on a resource. Add the field, leave the default source alone, save a record with a paragraph and a bulleted list, then confirm the content round-trips through the form and renders correctly on the Nova detail page. That single pass exercises loading, init, save and detail rendering — the four things 1.2.2 touched.tinymce.init in a custom script, and let the field own the lifecycle. This matters most with Nova's client-side navigation between resources.Text-style resolver rather than expecting the field's default row to emit raw markup.{!! !!} deliberately.vendor:publish --force for the tagged assets, or your asset build step). A stale local build silently mismatches the field's expected TinyMCE version after a package bump.tinymce.init, so keep them JSON-serializable — closures, enums and PHP objects won't survive the trip.<strong> will appear literally there. That's intentional; don't "fix" it by disabling escaping globally.window.tinymce, guard with an existence check and don't hold references across page transitions; the field tears down its instance on navigate-away.How can I help you explore Laravel packages today?