chmln / vue-wysiwyg

A lightweight WYSIWYG HTML editor for Vue.js
https://chmln.github.io/vue-wysiwyg/
MIT License
555 stars 134 forks source link

Clear format does not work #131

Open dannylg opened 3 years ago

dannylg commented 3 years ago

When I create a heading text and then add a paragraph, it inherits the heading style and the option to clear formatting it is not removed. even, if I paste the text with another external format and clean the style, it becomes heading text

nguyentanphu commented 3 years ago

Same issue, heading definitely not removing when clicking on clear format. Can you take a look @chmln ,please?

nguyentanphu commented 3 years ago

I have created a pull request. If you have sometime, please take a look @chmln https://github.com/chmln/vue-wysiwyg/pull/136

ZachitZo commented 3 years ago

forcePlainTextOnPaste: true - does not work, don't clear styles automatically for pasted text... Button "clear" on toolbar do it, but option "forcePlainTextOnPaste" - not...