AEM RTE styles plugin selects more than one option in the dropdown | Community
Skip to main content
Level 2
April 15, 2022
Solved

AEM RTE styles plugin selects more than one option in the dropdown

  • April 15, 2022
  • 2 replies
  • 1368 views

Hi, 
I have implemented the RTE styles from this documentation plugin but the is one issue. I'm able to select more than one option at the same time from the dropdown

 

 

I want only one style selected at once just like the paraformat dropdown

 

I checked other answers regarding this issue but couldn't find any custom plugin or OOTB solution. Please let me know if anybody has developed a solution for this.


Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by B_Sravan

Hi @hiteshra3

I just tested the functionality and I believe it is the default behavior of the styles plugin. 

As there can be a span tag inside a span tag, the multi-select option is enabled to styles and it is valid behavior.

 

for example, take a look at this element.

here I created styles likes this.

 

 

 

2 replies

B_Sravan
Community Advisor
B_SravanCommunity AdvisorAccepted solution
Community Advisor
April 17, 2022

Hi @hiteshra3

I just tested the functionality and I believe it is the default behavior of the styles plugin. 

As there can be a span tag inside a span tag, the multi-select option is enabled to styles and it is valid behavior.

 

for example, take a look at this element.

here I created styles likes this.

 

 

 

HiteshRa3Author
Level 2
April 18, 2022

Hi @b_sravan 

yes this behavior is fine from coding perspective but its confusing in the authoring interface. Can we change this so that only one value is selected at a time in the styles dropdown

bhoang
Level 4
February 13, 2023

@hiteshra3 I have the same problem. Can you customize it to select only one style?

ManviSharma
Adobe Employee
Adobe Employee
April 18, 2022

Hi,

 

As far as I know, this is the default OOTB behavior and works as expected.