Skip to main content
vijayk87714775
Level 4
Mar 17, 2017 4:16 PM UTC
Solved

Rte Tags Chopping off

In WhitespaceProcessor in tagname look at DEFAULT_REMOVAL_RULES and remove the ones that shouldn’t be removed, also change keepChildren to “true” (this should keep it from removing the other nodes)

 

In HTMLSerializer change the serializeTextNode method to return the value without the replace.

 

I am trying follow above things so that my My source edtor will not chop off the tags. Even after the above changes made. Issue still persists. 

Any suggestions ???

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Mar 29, 2017 4:05 AM UTC

Reply from the experts are:

You should be modifying the RTE files under ‘/etc/clientlibs/granite/coralui2/optional/rte/js/core/’

Please try and let me know, if this works.

Reference post with similar problem :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.forum__zyte-_whitespaceprocess__y8mb-reply_from_theexper._s_1_tosp.html/forum__zyte-_whitespaceprocess.html#forum__zyte-_whitespaceprocess__y8mb-reply_from_theexper

~kautuk

Kautuk Sahni

2 replies

kautuk_sahni
Level 9
Mar 21, 2017 7:56 AM UTC

I have asked internal experts to have a look at this one.

~kautuk

Translate
Kautuk Sahni
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Mar 29, 2017 4:05 AM UTC

Reply from the experts are:

You should be modifying the RTE files under ‘/etc/clientlibs/granite/coralui2/optional/rte/js/core/’

Please try and let me know, if this works.

Reference post with similar problem :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.forum__zyte-_whitespaceprocess__y8mb-reply_from_theexper._s_1_tosp.html/forum__zyte-_whitespaceprocess.html#forum__zyte-_whitespaceprocess__y8mb-reply_from_theexper

~kautuk

Translate
Kautuk Sahni