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

SOLVED

Is it possible to hide Style tab from Rich Text component

Avatar

Level 6

Hi.

as you can see here

https://docs.adobe.com/docs/en/cq/5-6-1/wcm/using_rich_text_editor.html

 

This component has Style tab.

Is it possible to hide it?

1 Accepted Solution

Avatar

Correct answer by
Level 4

One approach would be to provide your own custom version of the rich text editor - by copying the components scripts and configuration to your own /apps/your-app/components/content/text node and remove the unwanted tab.

You could also hide the Style tab using javascript, again ideally in a custom of the rich text editor.            

View solution in original post

0 Replies

Avatar

Correct answer by
Level 4

One approach would be to provide your own custom version of the rich text editor - by copying the components scripts and configuration to your own /apps/your-app/components/content/text node and remove the unwanted tab.

You could also hide the Style tab using javascript, again ideally in a custom of the rich text editor.            

Avatar

Level 6

thank you. seems this is the right way to do it.