I am using Nic-edit library in my code for editing text area. When I select font format it is not applying to the selected text because the font size present in the text is overriding.
This is a custom h1 heading with overridden font size.
when I select h1 format from Nic-editor for whole text then it needs to convert into h1 format including "this" as well.
but I am getting "this" with 1 font size and rest getting h1 format because of font size .