Skip to main content
Singaiah_Chintalapudi
Level 7
Oct 16, 2015 2:29 AM UTC
Solved

<STYLE> TAG NOT WORKING IN RTE

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.
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Oct 16, 2015 2:29 AM UTC

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

6 replies

Singaiah_Chintalapudi
Level 7
Oct 16, 2015 2:29 AM UTC

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.

Translate
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Oct 16, 2015 2:29 AM UTC

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

Translate
Kautuk Sahni
edubey
Level 10
Oct 16, 2015 2:29 AM UTC

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.

Translate
Lokesh_Shivalingaiah
Level 10
Oct 16, 2015 2:29 AM UTC

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.

Translate
Singaiah_Chintalapudi
Level 7
Oct 16, 2015 2:29 AM UTC

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.

Translate
edubey
Level 10
Oct 16, 2015 2:29 AM UTC

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.

Translate