Problem/Motivation
After migrating the website from Drupal 10 to Drupal 11.3.2, the automatic formatting of nested ordered lists in the CKEditor no longer behaves as expected.
Specifically, when creating nested lists using the Tab key, the numbering style does not automatically change (e.g., from numeric → alphabetic → roman numerals).
This behavior worked correctly in Drupal 11.2.8 and earlier versions, where nested indentation automatically adjusted the numbering style.
Steps to reproduce
Navigate to any content type using CKEditor (e.g., Basic Page).
Add an ordered list:
1. Item one
2. Item two
Place the cursor on “Item two” and press Tab to create a nested list.
Continue adding nested list items.
Observed result:
The nested list continues using the same numeric format (1, 2, 3) instead of switching to alphabetic or roman numerals.
Expected result:
Nested lists should automatically switch formatting (e.g., 1 → a → i), as demonstrated in:
CKEditor demo: https://ckeditor.com/ckeditor-5/demo/feature-rich/
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | ckeditor_wrong.png | 18.78 KB | sourabhbhalerao |
| ckeditor.png | 71.41 KB | sourabhbhalerao |
Comments
Comment #2
sourabhbhalerao commentedComment #3
sourabhbhalerao commentedComment #4
cilefen commentedThe description describes migrating from Drupal 10 to 11.3.2, but then also states that this is a regression from 11.2.8 and earlier versions, which is confusing. Maybe the migration aspect is irrelevant? If you can show that this is the case, consider removing the information about migration.
Comment #5
sourabhbhalerao commentedI downgraded the same site to version 11.2.8 to test the issue, and it works fine in that version. That’s why I mentioned that it’s working in 11.2.8.
Yes migrate aspect may be irrelevant.
Comment #6
cilefen commentedFor regressions, finding the release where the behavior changed is important. Between 11.2.8 and 11.3.2 there are:
11.3.2 is missing important security updates. After it are:
Do you happen to know, or can you determine, the precise release where this bug appears?
Comment #7
sourabhbhalerao commentedThanks for detail list - 11.3.0 is the version where this bug appear.
Comment #8
cilefen commentedNot much changed in 11.3.0. It's more likely to have been 11.3.0-rc1, which contains #3274635: [upstream] Use CKEditor 5's native <ol type> and <ul type> UX. Because of what that issue changed, it looks highly related, if not the cause.