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.
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
kautuksahni wrote...
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.
Views
Replies
Total Likes