-
Notifications
You must be signed in to change notification settings - Fork 40
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 not activated when content includes a list #6820
Comments
Seems like it has to do with white space. After activation there's some code indent that wasn't there initially. |
I'm unable to figure out, what's causing it, I just can narrow the problem down with some version comparison: No problem: Backdrop CMS: 1.29.2 Backdrop CMS: 1.30.0-preview Has the problem: Backdrop CMS: 1.29.3 Backdrop CMS: 1.30.x-dev (up to date) The version of CKE5 doesn't seem to be involved. Whatever it was, it happened recently, between preview and 1.29.3 - that's just a few days. |
Spoken too soon... It's that one: backdrop/backdrop#4757 Merged only two days ago. |
Yep, that's what I get for rushing a fix. Thank you @indigoxela for the research. The problem boils down to the removal of a I removed Rather than remove the I filed a PR at backdrop/backdrop#4992 that I believe fixes this. |
It was partly my fault. When testing with I've updated our testing catalogue with a new section "Caused trouble in the past": https://github.com/backdrop/backdrop-issues/wiki/CKEditor:-Checklist-for-manual-tests Maybe we should introduce a stricter testing policy for any CKE5 updates, not only when updating the library? Not sure, what would work best. |
Thanks for the PR, @quicksketch! It works for me in the sandbox. Unfortunately, it doesn't fix the issue when I apply the changes on a local site running Backdrop 1.29.3. |
Strange - it works for me. After applying the patch on a site already updated to 1.29.3, the editor initializes again without problems. Performance settings may play a role, as ckeditor5.formatter.js might be aggregated. But you probably already considered that. |
Description of the bug
In Backdrop 1.29.3, when I edit content which includes a list, CKEditor is not activated, and I get a warning message:
Activating CKE and saving the page works fine. However, editing the page again, leads to the same problem.
Steps To Reproduce
Actual behavior
CKEditor isn't activated. Instead, there is the following warning message:
Expected behavior
CKEditor is activated, no warning.
Additional information
Add any other information that could help, such as:
The text was updated successfully, but these errors were encountered: