Merge pull request #141 from fantasticit/fix/13x

This commit is contained in:
fantasticit 2022-07-30 14:24:12 +08:00 committed by GitHub
commit 4e009dd90d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ export const Paste = Extension.create<IPasteOptions>({
} }
// FIXME各家 office 套件标准不一样,是否需要做成用户自行选择粘贴 html 或者 图片? // FIXME各家 office 套件标准不一样,是否需要做成用户自行选择粘贴 html 或者 图片?
if (html?.length) { if (html?.includes('urn:schemas-microsoft-com:office') || html?.includes('</table>')) {
const doc = htmlToProsemirror({ const doc = htmlToProsemirror({
schema: editor.schema, schema: editor.schema,
html, html,