html-editor-enhanced icon indicating copy to clipboard operation
html-editor-enhanced copied to clipboard

[FEATURE] how to clean styling if user copy some text from website and paste it to html editor ?

Open bwrelawan opened this issue 3 years ago • 1 comments

Hello! i like your plugin, but i got a problem. If user copy text or content from website then paste it to html editor, styles come too. How to cleaning up the styling if user copy from website ? thanks!!

bwrelawan avatar Nov 24 '21 10:11 bwrelawan

I don't know if this would be possible on the package side, you can look into the Dart HTML parser library, and using that parse the HTML and remove all the styling elements. I will see if there is anything I can do with summernote or JS and let you know.

tneotia avatar Nov 24 '21 12:11 tneotia