diff --git a/docs/src/demos/Examples/Basic/index.vue b/docs/src/demos/Examples/Basic/index.vue index 76450865..1f999876 100644 --- a/docs/src/demos/Examples/Basic/index.vue +++ b/docs/src/demos/Examples/Basic/index.vue @@ -40,10 +40,10 @@ - - - - - - - @@ -55,7 +55,7 @@ export default { addLink() { const url = window.prompt('URL') - this.editor.chain().focus().link({ href: url }).run() + this.editor.chain().focus().addLink({ href: url }).run() }, }, diff --git a/docs/src/demos/Marks/Link/index.vue b/docs/src/demos/Marks/Link/index.vue index 296f6e8c..b3f13350 100644 --- a/docs/src/demos/Marks/Link/index.vue +++ b/docs/src/demos/Marks/Link/index.vue @@ -3,7 +3,7 @@ - @@ -52,7 +52,7 @@ export default { addLink() { const url = window.prompt('URL') - this.editor.chain().focus().link({ href: url }).run() + this.editor.chain().focus().addLink({ href: url }).run() }, }, diff --git a/docs/src/demos/Nodes/BulletList/index.vue b/docs/src/demos/Nodes/BulletList/index.vue index c501ef12..e89cf01d 100644 --- a/docs/src/demos/Nodes/BulletList/index.vue +++ b/docs/src/demos/Nodes/BulletList/index.vue @@ -1,6 +1,6 @@