Customization Request: AEM RTE Lists Plugin — Add Distinct Style Classes | Community
Skip to main content
Level 3
June 29, 2026
Question

Customization Request: AEM RTE Lists Plugin — Add Distinct Style Classes

  • June 29, 2026
  • 1 reply
  • 78 views

We require a customization to the AEM Rich Text Editor (RTE) Lists plugin so that each list-related action applies a distinct CSS class. Specifically, the RTE should add separate style classes for Unordered List, Ordered List, Indent, and Outdent operations to enable targeted styling and downstream processing.

1 reply

P R Vaspari
Adobe Employee
Adobe Employee
July 7, 2026

AEM RTE does not document a built-in Lists plugin setting for assigning separate classes per action like:

  • unordered list
  • ordered list
  • indent
  • outdent

The supported path is to treat this as a custom RTE behavior, not a Lists plugin configuration change.

Recommended approach:

  1. Keep the OOTB Lists plugin enabled for standard authoring behavior.
  2. Add a custom RTE plugin or command wrapper.
  3. For each action, invoke the relevant list command, then post-process the current selection/output DOM.
  4. Apply your required classes to the appropriate generated element, for example ul, ol, li or a wrapper depending on your downstream processing contract.
  5. Avoid overlaying or patching the internal OOTB Lists plugin JS, because that is upgrade-fragile.