Skip to main content
kinjald72392939
Nov 2, 2015 12:04 PM UTC
Solved

rtePlugin removing style attribute

Hi All,

I am trying to put the source as follows in rtePlugin 

 

 <span style="font-size:18px; font-weight:bold;"> testing </span>

 

but it is getting converted to simple span tag without style attribute as follows. Is there anyway i can retail style attribute as it is?

 

<b> testing </b>

 

Thanks,

Kinjal

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
Nov 2, 2015 1:06 PM UTC

Unfortunately custom styles in the RTE are not currently supported for the touch-optimized UI. Please see the documentation at:

They are supported for the classic UI.

 

Please refer to the forum thread stating the same :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__gqxh-hi_im_tryingto.html

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni

2 replies

kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Nov 2, 2015 1:06 PM UTC

Unfortunately custom styles in the RTE are not currently supported for the touch-optimized UI. Please see the documentation at:

They are supported for the classic UI.

 

Please refer to the forum thread stating the same :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__gqxh-hi_im_tryingto.html

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

Translate
Kautuk Sahni
edubey
Level 10
Nov 2, 2015 1:54 PM UTC

Hi Kinjal,

By default rte source edit removes inline css which you paste. You can override it to remove and customize it according to your requirement.

Translate