Hello,
I'm trying to get the Kendo Vue Editor to be able to accept pasted content from a Google Doc.
However when trying to copy paste from there the text in the clipboard is wrapped in a <b style="font-weight: normal"> tag.
This is a known issue for the ProseMirror devs and they have a fix for it.
Simple Copy Paste from google docs yields bold text · Issue #459 · ProseMirror/prosemirror (github.com)
If you try the editor example on ProseMirror.com you can safely paste text from Google Doc and it won't be converted to <strong>:
ProseMirror basic example
It seems it's able to do so correctly because of this ProseMirror schema change:
Don't treat <b style=font-weight: normal> as strong · ProseMirror/prosemirror-schema-basic@cbbdc1a (github.com)
However when I try to load this schema-basic schema it doesn't work as intended and Google Doc text is still converted to <strong> text
Here is my attempt so far:
Yrawzh (forked) - StackBlitz
What's the best way to fix this issue?