Closed (outdated)
Project:
CKEditor 5
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Plan
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2021 at 12:29 UTC
Updated:
5 Aug 2021 at 13:22 UTC
Jump to comment: Most recent
For example: basicStyles.Italic in CKE5 generates <i> instead of <em>; specifying a type attribute on an <ol> is not possible in CKE5 out of the box.
Achieving this equivalence is a hard requirement for an automatic upgrade path that does not cause data loss.
Comments
Comment #2
wim leersComment #3
wim leersThanks to #3216015-14: Generate CKEditor 5 configuration based on pre-existing text format configuration it just became super easy to finish this.
For
basic_htmlthese remain in current HEAD (a2dcccd3901d6d10138e642e73dc30aac88d4188):For
restricted_htmlthese remain:The only thing in there that does not already have an issue is
<h2 id> <h3 id> <h4 id> <h5 id> <h6 id>, or IOW the ability to assign an anchor to a heading.Created #3224256: <h* id> (or more generically: <$block id>) for that.
Comment #4
wim leersIf I compare the list of remaining HTML tags+attributes here with what's in Drupal 8|9's
core/assets/vendor/ckeditor/build-config.js, this is AFAICT complete 👍And 100% of the remaining tags/attributes could only be entered using CKEditor 4's
View Sourcebutton. So we're not regressing functionality-wise compared to CKEditor 4! 🎉Comment #5
wim leersClosing this per #3201824-20: Roadmap to core.