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

CommentFileSizeAuthor
#3 ckeditor_wrong.png18.78 KBsourabhbhalerao
ckeditor.png71.41 KBsourabhbhalerao

Comments

sourabhbhalerao created an issue. See original summary.

sourabhbhalerao’s picture

Title: Nested ordered lists not auto‑formatting after upgrade to Drupal 11.3.2 (CKEditor 47.3.0) » Nested ordered lists not auto‑formatting after upgrade to Drupal 11.3.2
sourabhbhalerao’s picture

StatusFileSize
new18.78 KB
cilefen’s picture

The 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.

sourabhbhalerao’s picture

I 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.

cilefen’s picture

For regressions, finding the release where the behavior changed is important. Between 11.2.8 and 11.3.2 there are:

  • 11.2.9
  • 11.2.10
  • 11.2.11
  • 11.3.0
  • 11.3.0-alpha1
  • 11.3.0-beta1
  • 11.3.0-rc1
  • 11.3.0-rc2
  • 11.3.1

11.3.2 is missing important security updates. After it are:

  • 11.3.3
  • 11.3.4
  • 11.3.5
  • 11.3.6
  • 11.3.7
  • 11.3.8

Do you happen to know, or can you determine, the precise release where this bug appears?

sourabhbhalerao’s picture

Thanks for detail list - 11.3.0 is the version where this bug appear.

cilefen’s picture

Not 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.