Regarding RTE Styles

Avatar

Avatar
Boost 1
Level 1
SreekanthReddy
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
SreekanthReddy
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
SreekanthReddy
Level 1

05-06-2020

Hi,

  When i am open AEM page unwanted style getting added to Rich text component, Because of this style pages keep on scrolling to left.rte.PNG

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 1
Level 3
khamat_bn
Level 3

Likes

31 likes

Total Posts

55 posts

Correct reply

12 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Ignite 1
Level 3
khamat_bn
Level 3

Likes

31 likes

Total Posts

55 posts

Correct reply

12 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile
khamat_bn
Level 3

05-06-2020

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

 

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
MVP
ArpitVarshney
MVP

Likes

136 likes

Total Posts

185 posts

Correct reply

36 solutions
Top badges earned
Validate 1
Establish
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
MVP
ArpitVarshney
MVP

Likes

136 likes

Total Posts

185 posts

Correct reply

36 solutions
Top badges earned
Validate 1
Establish
Give Back 5
Give Back 3
Give Back 25
View profile
ArpitVarshney
MVP

05-06-2020

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

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

05-06-2020

@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 ?