Closed (fixed)
Project:
AI: Editoria11y
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2025 at 14:18 UTC
Updated:
25 Feb 2026 at 13:54 UTC
Jump to comment: Most recent
I the previous issue we worked on the plugin implementation.
The scope of this issue is to apply the generated fix from AI into the CKEditor.
- Find element by marker or attributes
- Map DOM to CKEditor model
- Replace with corrected HTML
- Clean up CKEditor markup
- Re-run Editoria11y check
- Tests
Acceptance criteria:
- Accepting suggestion updates content in CKEditor
- Fix persists after editor operations
- Editoria11y re-checks and shows issue resolved
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
joevagyok commentedComment #4
nikro commentedHey there, took me a while to go through the diff as it's not small, found a few edge cases, some of these can be just committed as-is (but to create another smaller well-defined issue in the issue queue for later follow-up).
Overall it works well, replaces stuff nicely. Probably usability-wise the only discomforting thing is losing the action-history (unable to do undo anymore).
I'll leave it to you to decide, if you just create follow-up issues then consider it RTBC-ed :)
Comment #5
joevagyok commentedIt wasn't na easy feat! But I think after a redesign of the solution I addressed the history issue!
Comment #6
itmaybejj commentedI've been tuning some things to get rid of race conditions, and ended obscuring some method calls, so I recommend calling
Drupal.Ed11y.refresh()instead of
window.Ed11y.checkAll();I'll have the next alpha or beta out within the week. We're starting to test formally in our environment now.
Comment #7
nikro commentedHey @joevagyok - looks good, the undo/redo works well, you did end-up using
editor.mode.change()- awesome.There's one more issue that I'm not sure you seen, regarding matching regex tags. I think it can accidentally create some broken HTML ;(
Also #6's comment might be useful to bake-in :)
Comment #8
joevagyok commentedApplied the proposed fix from #6.
Comment #9
nikro commentedComment #11
joevagyok commentedThanks!