Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

rtePlugin removing style attribute

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Administrator

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-manage...

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

2 Replies

Avatar

Correct answer by
Administrator

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-manage...

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Level 10

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.