Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

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

Avatar

Level 8

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

3 Replies

Avatar

Employee Advisor

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

Avatar

Level 8

Hi,

 

we are using AEM6.3 with sp2 adding a new CFP will take time as they make require testing to done on most items .

So could you please provide files that i could take a look at that will help to resolve this issue.

 

I did raise daycare ticket, but still no luck as they have still not provided files that could i modify to resolve this.

 

Thanks

Avatar

Level 3

@srinivas_chann1 

 

i'm also facing same issue, did you make any headway with this?

 

thanks