T
T
t55fr656tg77732021-06-18 12:28:10
JavaScript
t55fr656tg7773, 2021-06-18 12:28:10

How to remove the garbage that summernote gives?

i need to send the html code from summernote to the database and from the database to the site the
problem is that when you just write to summernote it edits correctly and sends to the database
but if you copy the code from the editor or from anywhere, summernote adds style to it with the size color and so on
How to make it so that when inserting code into summernote, it does not add more styles on top of them?
I realized that he does not process all the text like this when copying from editors, the question is how to chop off Consolas in summernote?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question