Expand my Community achievements bar.

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

2 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.