You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOC-3147: New list_max_depth option to limit list indentation. (#3766)
* DOC-3147: New list_max_depth option to limit list indentation.
* Update modules/ROOT/partials/configuration/list_max_depth.adoc
* Update modules/ROOT/pages/8.0-release-notes.adoc
Copy file name to clipboardExpand all lines: modules/ROOT/pages/8.0-release-notes.adoc
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,35 @@ In previous versions of {productname}, the editor's resize handle lacked a `role
237
237
238
238
In {productname} {release-version}, the resize handle now includes a `role` seperator and an `aria-valuetext` attribute that dynamically reflects the current dimensions of the editor. These improvements enhance accessibility and ensure more accurate announcements by screen readers.
239
239
240
+
=== New `list_max_depth` option to limit list indentation
241
+
// #TINY-11937
242
+
243
+
{productname} {release-version} introduced a new `list_max_depth` option that allows configuration of the maximum indent depth for list items. This setting accepts a non-negative integer value, where `0` permits list creation without any indentation, and higher values set the maximum allowable indent depth. Negative values are invalid and will trigger an error. When the option is not set, list behavior remains unchanged.
244
+
245
+
The setting applies only to list indentation and does not affect paragraph indentation. Existing content is not altered, and pasted lists that exceed the maximum indent depth will retain their structure but cannot be further indented. When multiple list items are selected, only items eligible for indentation will be indented individually—validation is applied per item, not across the full selection.
246
+
247
+
Outdent functionality remains unaffected and always available. The state of indent and outdent controls reflects the current indentation capabilities based on this setting.
248
+
249
+
==== Example configuration
250
+
251
+
The following example shows a basic configuration for the `list_max_depth` option, which limits list indentation to a maximum of 2 levels:
0 commit comments