emencia / cmsplugin-blocks

A set of DjangoCMS plugins for structured contents in CMS pages
https://cmspluginblocks.readthedocs.io/
MIT License
2 stars 0 forks source link

Ckeditor is not correctly binded to newly added slide item #30

Open sveetch opened 1 month ago

sveetch commented 1 month ago

Describe the bug When adding a new slide item in a slider with the button "Add another Slide", the content field is not a ckeditor field but instead a basic textarea.

To Reproduce Steps to reproduce the behavior:

  1. Go to any cms page
  2. Add or edit a Slider to the page
  3. Add a new slide item
  4. The content field is a basic textarea
  5. Save the slider with the new slide
  6. Go back to edit the plugin, the previously added new slide has a Ckeditor widget on field 'content' as expected

Expected behavior The slide item field 'content' should always be a Ckeditor widget.

Versions:

Additional context There is some Javascript error when adding new field, i don't know yet why it does not work as expect since this is automatically done from Django inline form system.

sveetch commented 1 month ago

Seems related to https://github.com/django-cms/djangocms-text-ckeditor/issues/465 but the issue should be resolved with a following pull request fix, i may have missed something to adapt to the fix ?

sveetch commented 3 weeks ago

Finally it seems the issue was fixed for some time but then it was broken since ~2022, i opened a new detailed issue django-cms/djangocms-text-ckeditor#680

I don't know if i can fix this temporarily in projects with a patched bundle.