Problem/Motivation
After upgrading to 10.2.0 we noticed bullet points disappeared. Upon investigating the text filters on trying to save the Basic HTML filter I get the following error:
Error message
The current CKEditor 5 build requires the following elements and attributes:
<br> <p class="note large h2 h3 h4 text-align-left text-align-center text-align-right text-align-justify"> <h1 class="node__title text-align-left text-align-center text-align-right text-align-justify"> <h2 class="text-align-left text-align-center text-align-right text-align-justify"> <h3 class="text-align-left text-align-center text-align-right text-align-justify"> <h4 class="text-align-left text-align-center text-align-right text-align-justify"> <h5 class="text-align-left text-align-center text-align-right text-align-justify"> <h6 class="text-align-left text-align-center text-align-right text-align-justify"> <a class="button" href data-entity-type data-entity-uuid data-entity-substitution> <img class="border display-left display-right" src alt height width data-caption data-align> <* dir="ltr rtl" lang> <cite> <span> <dl class> <dt class> <dd class> <iframe allow allowfullscreen src width height frameborder> <strong> <em> <sub> <sup> <blockquote> <ul> <ol start> <li> <hr>
The following elements are missing:
<strong> <em> <sub> <sup> <blockquote> <ul> <ol start> <li> <hr>
The <img> tag is not yet supported by the Style plugin.
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
When saving Full HTML Filter I get the error:
The <img> tag is not yet supported by the Style plugin.
Try to save the default Basic HTML filter
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | filter.format.basic_html.yml | 2.17 KB | adrianm6254 |
| #8 | editor.editor.basic_html.yml | 2.25 KB | adrianm6254 |
Comments
Comment #2
adrianm6254 commentedComment #3
adrianm6254 commentedComment #4
adrianm6254 commentedComment #5
wim leersThanks for the report! This is very likely related to #3396628: Fix <ol start> → native CKEditor 5 functionality and fix bug in SourceEditingRedundantTagsConstraintValidator that allowed it to slip by.
Can you please export your
filter.format.SOMETHING.ymland correspondingeditor.editor.SOMETING.ymland post them here? 🙏Comment #6
wim leersDuplicate of #3410100: [10.2 regression] CKEditor 5 breaks when "Source"/Source editing button is added and "Manually editable HTML tags" are specified (which is the oldest). Will investigate and transfer relevant info from this issue, plus credit everyone who contributed here 👍
Comment #7
stsharp commentedWe are also seeing Youtube/Video embed using the Media button no longer working. No error seems to be thrown on the page but not video is viewable after saving the page. We have sites we have not upgraded to 10.2 yet and that embed works but on sites with 10.2, video embeds do not save.
The code remains in the page and it looks normal but no video appears when viewing the page. Any others with this issue after 10.2? We just upgraded last night and this was reported by clients almost immediately.
UPDATE: The temp fix for us was to uncheck "limit html" and that seems to restore the ability to view and see embeded videos and add new videos to pages. We don't want to leave it like this because we allow source editing for minor changes and not limiting HTML can cause some issues down the road. Hoping for a patch so we can restore the "limit html" restriction. If we disable source editing, other things start to break in ckeditor5 on our sites so we can't turn that off for the moment.
Comment #8
adrianm6254 commented@Wim Leers Here are the two files you requested.