Hi community,
Is there any way to remove the span tag when using RTE styles? Also need to add the class name to custom tag.
Current:
<h2> <span class="some-class"> some text </span></h2>
Expected:
<h2 class="some-class"> some text </h2>
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
OOB RTE use span tag to add custom styles. If you want to avoid custom tags, you have to write a new plugin in RTE.
Thanks @Mohit_KBansal . Can you please give me an example.
Views
Likes
Replies