https://summernote.org/deep-d.
$("-sharpsummernote").summernote("removeFormat");
this is official, but I don"t quite know how to use
. I now have a custom button
. What I want to do is that when I select the text, I press the "button" to delete all the "selected" formats and restore them to the default.
although he has a default normal follow-up can be used, but the source of my text (data in the database) is somewhere else.
so he has a lot of tags that come with him, such as < span style = "XXXX" >
and so on.
this practice is not available in summernote. That is, it seems that there is no way to clear the tags generated by their own editor, and
can not find the relevant practice on the Internet. I would like to ask if there is a great god who knows how to deal with this problem.
Thank you very much.