whitecube / nova-flexible-content

Flexible Content & Repeater Fields for Laravel Nova
MIT License
789 stars 228 forks source link

CKEDITOR not working with Flexible content #148

Open usman-topdot opened 4 years ago

usman-topdot commented 4 years ago

Hi, I want to use Ckeditor (https://github.com/waynestate/nova-ckeditor4-field) in flexible content, it's working perfectly fine for only first iteration (http://prntscr.com/r8vmvx) then it disappears for next iterations (http://prntscr.com/r8vn99)

I debugged it and found the reason, ckeditor takes title as an id, so if that id repeats then obviously it will not work for other repeated ckeditors.

so can we change that id at new creation of flexible content?

nilsE commented 4 years ago

same problem here, and the ID is showing up also in trix editor (maybe because the CKEDITOR inherits the TRIX field?). would be great if we could use these editor fields.