Hello,
the button “clear formatting” does not work properly with the header formating (h1, h2, h3, h4).
What can i do to clear the formatting in the editor content with the tags h1, h2…?
Hello,
the button “clear formatting” does not work properly with the header formating (h1, h2, h3, h4).
What can i do to clear the formatting in the editor content with the tags h1, h2…?
Hello
Sorry, but it is a known DOM (not dhtmlx issue). We can only suggest you to do it manually:
var k = editor.getContent()
var newK = k.replace(/<\/?h\d>/gi,"");
editor.setContent(newK);