Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sveetch opened this issue Aug 6, 2024 · 2 comments
Open

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

sveetch opened this issue Aug 6, 2024 · 2 comments
Labels

Comments

@sveetch
Copy link
Member

sveetch commented Aug 6, 2024

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:

  • Python: Any
  • Django: Any
  • DjangoCMS: Any

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 sveetch added the bug label Aug 6, 2024
@sveetch
Copy link
Member Author

sveetch commented Aug 6, 2024

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

@sveetch sveetch closed this as completed Aug 6, 2024
@sveetch sveetch reopened this Aug 6, 2024
@sveetch
Copy link
Member Author

sveetch commented Aug 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant