0

I have a rich text field, and would like to add CSS class to each underline of the the rich text content. Please suggest

  • Hello. Can you please give an example of what you would like the HTML to be both before and after the CSS class is applied please? Is the 'after' something like <p>Some text <a href="#" class="custom-class">with a link</a></p> ? – Jonathan Williams Aug 12 at 8:51
  • Yes, currently I see <span style="text-decoration: underline>text</span> in the source of rich text field, I would like to have something like this, <span class="rt-css-for-underline" style="text-decoration: underline>text</span> – Sikarwar Aug 12 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.