Skip to main content
  Sunday, October 22, 2023
  2 Replies
  184 Visits
  Subscribe
Hi, is it possible to assign a class to span?
Example, my text is

<p>This is example <span>RED</span> text </p>

from the style selection if I choose a predefined or even customized style, this is applied to the entire paragraph even if I have previously selected only the word "RED"

How can I apply the style only to the selected tag SPAN?

Thank you
A
1 year ago
Hi,

Thanks for contacting us here about this extension.

While the <span> tag isn't supported, you can use block-level elements such as <p>, <div>, <h1>, <h2>,...
If you're trying to achieve a specific style or effect, using these alternatives might be helpful.

Cheers,
G
1 year ago
Thanks for the suggestion, but unfortunately I need to highlight specific words within the <p></p> tags
I'll see if I can find an alternative solution as per your suggestion, again
Thank you
  • Page :
  • 1
There are no replies made for this post yet.