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 RTE Styles plugin. Select only one style.

Avatar

Avatar
Validate 1
Level 1
Prem_IB
Level 1

Likes

0 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Prem_IB
Level 1

Likes

0 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Prem_IB
Level 1

26-04-2021

With the default implementation of the styles plugin in RTE, I am able to add multiple classes to the selected text. The recent selection gets nested to the previously selected option. Is there any configuration that can make styles plugin to not chose more than one style for any selected text?

AEM 6.5 RTE RTE Plugin.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

373 likes

Total Posts

480 posts

Correct Reply

133 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

373 likes

Total Posts

480 posts

Correct Reply

133 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
Level 10

26-04-2021

Hi @Prem_IB 

 

There is no such configuration exists OOTB which will allow to prevent selection of multiple styles from style dropdown. If a style is sleected, the corresponding style will be having a checkmark in the authoring view so you should be able to identify if anything is selected.

 

If you really want to block it, then we might need to add a custom plugin which will be loaded while authoring and will prevent the functionality.

 

Thanks!

Answers (0)