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
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM 6.4 RTE Touch UI Adding Classes

Avatar

Avatar
Level 1
toodooleedoo
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
toodooleedoo
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
toodooleedoo
Level 1

03-03-2019

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!

1703286_pastedImage_3.png

1703287_pastedImage_0.png

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

03-03-2019

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

http://experience-aem.blogspot.com/2017/06/aem-63-touch-ui-rte-rich-text-editor-color-pick er-plugin-inplace-dialog-edit.html

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

04-03-2019

I spoke to our team too and they suggested that you look here as well -- http://experience-aem.blogspot.com/2017/05/aem-62-touch-ui-extend-rte-list-plugin-for-adding-selecte...