fix: Error when pasting embeddable content into comments

This commit is contained in:
Tom Moor
2023-04-25 21:56:23 -04:00
parent b0da3b7cab
commit 106b335602

View File

@@ -79,6 +79,7 @@ export default class PasteHandler extends Extension {
if (
embeds &&
this.editor.commands.embed &&
!isInTable(state) &&
!isInCode(state) &&
!isInList(state)