fix: Error when pasting embeddable content into comments
This commit is contained in:
@@ -79,6 +79,7 @@ export default class PasteHandler extends Extension {
|
||||
|
||||
if (
|
||||
embeds &&
|
||||
this.editor.commands.embed &&
|
||||
!isInTable(state) &&
|
||||
!isInCode(state) &&
|
||||
!isInList(state)
|
||||
|
||||
Reference in New Issue
Block a user