-
Notifications
You must be signed in to change notification settings - Fork 21
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
[8046] Update ckeditor5 django #2559
Conversation
b777324
to
1cd0b1f
Compare
1cd0b1f
to
509b388
Compare
apps/documents/templates/a4_candy_documents/chapter_detail.html
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the interactiveevents module needs updating as well and a migration for the iframes, similar to mb
I don't exactly follow, there is no interactiveevent in mb. can you be more specific? @goapunk |
ah, I think it's called livequestions in mb, but I did that already since I wrote that comment |
add30d7
to
95430a3
Compare
apps/organisations/forms.py
Outdated
field = field_cls(**kwargs) | ||
# The CKEditor5Widget doesn't have a label field, so we need to set it | ||
# after creating the object | ||
if isinstance(field, CKEditor5Widget): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@goapunk shouldn't this check be against the CKEditor5Field instead of the widget?
ref https://github.com/liqd/django-ckeditor-5/blob/main/django_ckeditor_5/fields.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, yes, and it should be CKEditor5Field above as well I guess
95430a3
to
4f1f118
Compare
apps/organisations/migrations/0023_alter_organisationtranslation_information.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice!
This PR still is missing the ckeditor5 changes for assets/.jsx
TODO:
Tasks