Problem/Motivation
Add missing test coverage: CKE5's SmartDefaultSettings in the "supported tags but unsupported attributes" case works, but has zero test coverage.
Discovered this while working on #3228334: Refactor HTMLRestrictionsUtilities to a HtmlRestrictions value object. This issue blocks that! This is test coverage we forgot to introduce in #3216015: Generate CKEditor 5 configuration based on pre-existing text format configuration.
Steps to reproduce
N/A
Proposed resolution
Expand test coverage.
Note that we specifically do not attempt to improve the upgrade path here, only to add test coverage to prove that existing code works reasonably well.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
N/A
Comment | File | Size | Author |
---|---|---|---|
#16 | 3259174-16-9.3.x.patch | 5.44 KB | Wim Leers |
#16 | 3259174-16-9.4.x_and_10.0.x.patch | 5.44 KB | Wim Leers |
| |||
#16 | interdiff.txt | 2.28 KB | Wim Leers |
#12 | 3259174-12-9.3.x.patch | 5.34 KB | hooroomoo |
#11 | 3259174-11-9.4.x_10.0.x.patch | 5.33 KB | hooroomoo |
Comments
Comment #2
Wim LeersComment #3
Wim LeersComment #4
Wim LeersThe patch in #3 did not apply to
9.3.x
, only due to the dictionary being different in9.3.x
.Here's the same patch uploaded again for
9.4.x
and10.0.x
and a different patch for9.3.x
.Comment #5
lauriiiI think we should open an issue in our issue queue to track the upstream issue, and link it here.
Comment #6
Wim LeersDone: #3259367: [upstream] Allow configuring *which* HTML tags can be aligned.
Comment #7
lauriiiLooks good, thank you!
Comment #8
bnjmnmThis is such a nit that my dog is concerned about my visible embarrassment. These three @todo items exceed the 80 char limit. They should be extended to additional lines with a two space indent to indicate they're a continuation of the @todo
Comment #9
hooroomooUploaded same patches in #6 with added indents
Comment #10
hooroomooComment #11
hooroomooComment #12
hooroomooComment #15
bnjmnmIssue 3259179 landed earlier today, the changes introduced there makes this test outdated as the alignment operations have been split into individual plugins so enabling one does not automatically enable the others.
Comment #16
Wim Leers🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
Rebased now that #3259179: Split ckeditor5_alignment CKEditor 5 plugin, to allow for more precise upgrade path is in 👍 And now we have #3259593: Alignment being available as separate buttons AND in dropdown is confusing, which is the next way that this test coverage can be refined.
Comment #20
bnjmnmThis is now current with #3259179: Split ckeditor5_alignment CKEditor 5 plugin, to allow for more precise upgrade path so it's merged to 9.4.x/10.0.x as well as 9.3.x since CKEditor 5 is experimental and this is a non-disruptive expansion of test coverage.