Adding Table styles in RTE Plugin in touch UI in AEM as a CS | Community
Skip to main content
Level 2
August 13, 2026
Question

Adding Table styles in RTE Plugin in touch UI in AEM as a CS

  • August 13, 2026
  • 2 replies
  • 11 views

Hi All,

I’m trying to add custom styles to the table plugin in an RTE. Below is the structure I’ve used:

 

<table
jcr:primaryType="nt:unstructured"
features="*">
<tableStyles jcr:primaryType="cq:WidgetCollection">
<style-one jcr:primaryType="nt:unstructured"
cssName="table-bordered"
text="Bordered Table"/>
<style-two jcr:primaryType="nt:unstructured"
cssName="table-striped"
text="Striped Table"/>
</tableStyles>
</table>

But I don’t see the style options in the table edit options. 
Has anyone implemented similar functionality and can guide here?

2 replies

majdb58247479
User Group Leader
User Group Leader
August 13, 2026

Hi
 

that config are supported only in Classic UI, not Touch UI in AEM as a Cloud Service.

For Touch UI, use either the AEM Style System at component level or a custom RTE extension if authors need table-level CSS classes.

Dayana12Author
Level 2
August 13, 2026

Thanks for your reply. 
Can you please provide a sample code for the custom RTE extension if you have it? I did think of implementing style system in component level, But we need classes added in the table level also.