Fix <ol start> → native CKEditor 5 functionality and fix bug in SourceEditingRedundantTagsConstraintValidator that allowed it to slip by

Created on 25 October 2023, about 1 year ago
Updated 28 November 2023, 12 months ago

Problem/Motivation

📌 Use CKEditor 5's native support (and also support ) Fixed should've introduced an update hook for replacing <ol start type> in the Basic HTML editor in Standard to just <ol type>.

But … it didn't.

Tests didn't fail. Because Source Editing didn't complain.

This means \Drupal\ckeditor5\Plugin\Validation\Constraint\SourceEditingRedundantTagsConstraintValidator is not working precisely enough.

Discovered this over at [upstream] Use CKEditor 5's native and UX Needs work .

Steps to reproduce

Proposed resolution

  1. Add explicit test coverage
  2. Tighten validator
  3. Fix Standard's default config
  4. Write update path

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

N/A

🐛 Bug report
Status

Fixed

Version

10.2

Component
CKEditor 5 

Last updated about 4 hours ago

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024