Is there a way to add a clear formatting button? I am trying to build a plugin but to be honest I don't know where to start.
Here is an example from vue-wysiwyg
That would be really helpful. +1
+1
Need this feature to my project. Is there some workaround for this?
@xkubow No workaround. This has to get implemented at the "core" level. Unfortunately, I am really busy thanks to my project manager. Maybe some other maintainers can focus on this.
This should be possible with a custom command right now. What would you expect? Only clear marks (bold, italic, etc.) or also convert everything to plain text (headline to paragraph, etc.)? Links are marks too, so when removing all marks, links would also be removed.
Probably could be there some options for this, but I would like to get plain text.
@philippkuehn for me clearing just the marks and leaving everything else in place would be perfect. An option for leaving links in place or even better define a subset of marks that should be removed would be super awesome. Thanks.
Any workaround? I need this a lot in my project :pray:
I am willing to tackle this. But I am swamped, probably will do it in October.
Any eta? Clearing the formatting would be a valuable feature for our project.
Is there an update on this?
+1
+1
@Leecason has done something in his version of tiptap, you can easy copy and paste the solution to your tiptap setup.
https://github.com/Leecason/element-tiptap/blob/master/src/utils/format_clear.ts
Will come in v2
It鈥檚 added to tiptap 2, so I鈥檓 closing this here for now. 馃檭
Most helpful comment
That would be really helpful. +1