<STYLE> TAG NOT WORKING IN RTE | Community
Skip to main content
Singaiah_Chintalapudi
New Participant
October 16, 2015
Solved

<STYLE> TAG NOT WORKING IN RTE

  • October 16, 2015
  • 6 replies
  • 1206 views

Hi,

I am using RTE source edit. I am copying the HTML into RTE source edit and it is not picking the CSS styles when we have the <section> tag. But if I replace the <section> tag with <div> tag, it is working fine. Could anyone help me to solve this issue?

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 kautuk_sahni

Hi SINGAIAH CHINTALAPUDI

 

Agreeing with edubey, its working fine for me too.

Please have a look at the link: - https://docs.adobe.com/docs/en/cq/5-6-1/administering/configuring_rich_text_editor.html

I hope this will help you.

 

Thanks and Regards

Kautuk Sahni

6 replies

edubey
New Participant
October 16, 2015

Tried to replicate the issue, but couldnt, Please see screenshots.

Are you having a your own CSS, written somewhere in clientlib ?. Share the CSS style please.

Singaiah_Chintalapudi
New Participant
October 16, 2015

edubey wrote...

Tried to replicate the issue, but couldnt, Please see screenshots.

Are you having a your own CSS, written somewhere in clientlib ?. Share the CSS style please.

 

Hi,

Correct. If you use CSS styles from the client lib then it is not applying that style. You can use any CSS style.

Thanks.

Lokesh_Shivalingaiah
New Participant
October 16, 2015

you should be able to see that css class applied in the page if not in the RTE. ofcourse within RTE the clientlibs will not be reachable and hence you cannot get the same experience.

edubey
New Participant
October 16, 2015

Hi,

Thanks for making this clear, I m able to replicate this now. I seems that as section tag belongs to HTML5, sourceedit might not be able to support. Please raise a ticket so that you can get adobe's view on this.

kautuk_sahni
kautuk_sahniAccepted solution
Employee
October 16, 2015

Hi SINGAIAH CHINTALAPUDI

 

Agreeing with edubey, its working fine for me too.

Please have a look at the link: - https://docs.adobe.com/docs/en/cq/5-6-1/administering/configuring_rich_text_editor.html

I hope this will help you.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
Singaiah_Chintalapudi
New Participant
October 16, 2015

kautuksahni wrote...

Hi SINGAIAH CHINTALAPUDI

 

Agreeing with edubey, its working fine for me too.

Please have a look at the link: - https://docs.adobe.com/docs/en/cq/5-6-1/administering/configuring_rich_text_editor.html

I hope this will help you.

 

Thanks and Regards

Kautuk Sahni

 

Hi,

Regular <section> tag is working. But when I use some css class name with that tag then it is working but not applying the styles.

Thanks.