Regarding RTE Styles | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
khamat_bn
khamat_bnAccepted solution
Level 4
Jun 5, 2020 11:19 AM UTC

Hi @sreekanthreddy ,

When you adding at that time only style is adding means you may imported clientlibs in rich text component either in html or via class name in node.

Please check where you are importing the css class and remove the same or add the correct one.

Let us know.

 

Happy Coding 

~BK

 

7 replies

VeenaVikraman
New Participant
Jun 5, 2020 12:43 PM UTC

@sreekanthreddy  How did you author your RTE ? The content which I can see via inspect element doesn't look like authored via RTE field. It can be possible it might be source edited ? Could you please confirm how this is authored ? If you think the authoring is done properly and still it is getting added, as an additional step of debugging , can you author a page in we-retail using the same RTE component and check if the additional styles are getting added ? 

Translate
ArpitVarshney
New Participant
Jun 5, 2020 12:31 PM UTC

Hi @sreekanthreddy ,

 

It might be possible the content is copied from somewhere and while pasting it took the formatting of the source text.

Can you reauthor your text in rte after removing the source formatting?[You can use various method to remove formatting like an online tool https://www.textcleanr.com/# or copy the text in word and remove formatting before pasting it in richtext]

 

Regards,

Arpit

Translate
khamat_bn
khamat_bnAccepted solution
Level 4
Jun 5, 2020 11:19 AM UTC

Hi @sreekanthreddy ,

When you adding at that time only style is adding means you may imported clientlibs in rich text component either in html or via class name in node.

Please check where you are importing the css class and remove the same or add the correct one.

Let us know.

 

Happy Coding 

~BK

 

Translate
New Participant
Jun 5, 2020 11:26 AM UTC

.

Translate