custom paragraph formats in RTE not getting removed on selecting h1 and h2 Paragraph format option [AEM6.3 with sp2]

srinivas_chann1

07-04-2020

Hi ,

 

Could some one help me as how to replace the custom format.

 

I copied from /libs to /apps i.e /apps/cq/xssprotection/config.xml and added a new tag like below and it worked

<tag name="newtag" action="validate"/>

 

But have few more issues on this in RTE could you please provide your inputs that will be very helpful.

 

Now in RTE we have added this tag under paragraph to give an easy to author instead of using source edit

 

1> When they click on it shows as the newtag from paragraph option in RTE and then click on h1 , h2 tags from paragraph it does not remove <newtag> from text already selected. But when you first try with h1 for new text and then you select h2 it will replace the tag as h2 without any h1 tag in it.

 

So need inputs here as when we select newtag from paragraph option in RTE and then click on h1 , h2 tags from paragraph it does not remove/replace <newtag> from text already selected to just h1 or h2 tag

rte1.PNG

 

rte2.PNG

Below is the issue:-

 

 

rte3.PNG

 

rte4.PNG

 

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

jbrar

Employee

08-04-2020

Can you try with the latest CFP and log a daycare ticket if still facing the issue?

 

I am not able to reproduce the issue on 6.3.3.8