diff --git a/docs/src/demos/Guide/Content/ReadOnly/index.spec.js b/docs/src/demos/Guide/Content/ReadOnly/index.spec.js index 16fb9d91..17cc73cf 100644 --- a/docs/src/demos/Guide/Content/ReadOnly/index.spec.js +++ b/docs/src/demos/Guide/Content/ReadOnly/index.spec.js @@ -6,7 +6,7 @@ context('/demos/Guide/Content/ReadOnly', () => { it('should be read-only', () => { cy.get('.ProseMirror').then(([{ editor }]) => { editor.setEditable(false) - editor.commands.insertText('Edited: ') + editor.commands.insertContent('Edited: ') cy.get('.ProseMirror p:first').should('not.contain', 'Edited: ') }) @@ -15,7 +15,7 @@ context('/demos/Guide/Content/ReadOnly', () => { it('should be editable', () => { cy.get('.ProseMirror').then(([{ editor }]) => { editor.setEditable(true) - editor.commands.insertText('Edited: ') + editor.commands.insertContent('Edited: ') cy.get('.ProseMirror p:first').should('contain', 'Edited: ') }) diff --git a/docs/src/demos/Nodes/Emoji/index.vue b/docs/src/demos/Nodes/Emoji/index.vue index c9431d26..f466a9a9 100644 --- a/docs/src/demos/Nodes/Emoji/index.vue +++ b/docs/src/demos/Nodes/Emoji/index.vue @@ -1,21 +1,21 @@