Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM 6.4 RTE Touch UI Adding Classes

Level 1
Level 1

When you add a use the RTE Editor in Touch UI and Select a bullet or numbered list it appropriately adds <ol> or <ul> with <li>'s.  I however need to add a class to these elements like the sample below.  I also want to do this for everything like <h1>'s and other options.

Whats the best way to achieve this ?  Appreciate any assistance in advance!



2 Replies
Level 10
Level 10

To perform your use case - you need to develop a custom RTE plug-in. This is done using JavaScript. To see an example - see: er-plugin-inplace-dialog-edit.html