rtePlugin removing style attribute | Community
Skip to main content
kinjald72392939
New Participant
November 2, 2015
Solved

rtePlugin removing style attribute

  • November 2, 2015
  • 2 replies
  • 783 views

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.
Best answer by kautuk_sahni

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

2 replies

edubey
New Participant
November 2, 2015

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.

kautuk_sahni
kautuk_sahniAccepted solution
Employee
November 2, 2015

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