Search code examples
reactjsmeteorquill

quilljs replace <strong> with <b>


I have a Meteor React app.

I'm using Quill, but bold produces a <strong> tag instead of a <b> tag.

To render the HTML through dangerouslySetInnerHTML it doesn't display <strong> as bold.

Is there a way to have Quilljs use <b> instead of <strong>?


Solution

  • Why not just add a css class to make <strong> bold?

    strong {
        font-weight: bold;
    }