- Issue created by @cobasa
- π¨π¦Canada joelpittet Vancouver
Has this ever worked? I can't do that using core's filter either, I think this is a ckeditor5 issue
- Status changed to Closed: works as designed
10 months ago 4:45pm 12 February 2024 - π¬π§United Kingdom duttonma
I think I can see the problem here.
You have shown the values that you have set in 'Manually editable HTML tags' under source editing but, assuming that you have enabled this filter ('Limit allowed HTML tags and correct faulty HTML - editable tag list'), you haven't shown the values that you have set in 'Allowed HTML tags'.
I suspect that you have added
to source editing but you haven't added it to 'Allowed HTML tags' and the two work in conjunction. If it isn't in 'Allowed HTML tags' then it won't show when you view the node and that's it !
- πΊπΈUnited States jasonmacer
I can confirm that I have
enabled, as when I try to add it in: Home >Administration >Configuration >Content authoring>Text formats and editors, I get this error: The following tag(s) are already supported by enabled plugins and should not be added to the Source Editing "Manually editable HTML tags" field: Horizontal line (
).I also do not have the "Limit allowed HTML tags and correct faulty HTML" enabled, yet I am still not able to set a class id an
element
Drupal Core Version: 10.2.4
- πΊπΈUnited States irodriguez
Has this ever been resolved? I am still experiencing this problem.
- Status changed to Active
2 months ago 5:32pm 10 October 2024 - πΊπΈUnited States jsweetack
This is not a problem with your module, it's a problem with Drupal and CKEditor 5. I don't have your module installed on my site, I just happened to see this page when looking for a solution for this issue.
I'm really not understanding the move to CKEditor 5 with all these issues.
I purposefully didn't upgrade last year from 4 because of problems like this. I waited until now, and after a year, still so many issues. The "limit allowed tags" previous feature completely tripped me up right off the bat. After figuring out I had to turn it off completely just to make the site work correctly, the first tag I try to add a class to is a simple horizontal rule element.
And it doesn't work. The content editors of my site use these things all over the place. How am I supposed roll out this upgrade knowing it will break all the styled horizontal rules of any content if any of the editors make and save any changes to said content?
So you can imagine my frustration when I find there's actually an issue for this one individual element.
How much faith do you think I have that the rest of this system is going to work?
Absolutely ridiculous that CKEditor 5 was green lit to go into Drupal core given all the problems STILL not resolved.