diff --git a/docs/src/demos/Experiments/CollaborationAnnotation/extension/collaboration-annotation.ts b/docs/src/demos/Experiments/CollaborationAnnotation/extension/collaboration-annotation.ts index 11a6e7c5..5e918a5f 100644 --- a/docs/src/demos/Experiments/CollaborationAnnotation/extension/collaboration-annotation.ts +++ b/docs/src/demos/Experiments/CollaborationAnnotation/extension/collaboration-annotation.ts @@ -62,6 +62,8 @@ declare module '@tiptap/core' { export const CollaborationAnnotation = Extension.create({ name: 'annotation', + priority: 1000, + defaultOptions: { HTMLAttributes: { class: 'annotation', diff --git a/docs/src/docPages/api/commands/extend-mark-range.md b/docs/src/docPages/api/commands/extend-mark-range.md index 511a85e4..514fdc7c 100644 --- a/docs/src/docPages/api/commands/extend-mark-range.md +++ b/docs/src/docPages/api/commands/extend-mark-range.md @@ -17,4 +17,13 @@ editor.commands.extendMarkRange('link') // Expand selection to link marks with specific attributes editor.commands.extendMarkRange('link', { href: 'https://google.com' }) + +// Expand selection to link mark and update attributes +editor + .chain() + .extendMarkRange('link') + .updateAttributes('link', { + href: 'https://duckduckgo.com' + }) + .run() ``` diff --git a/docs/src/docPages/api/commands/join-forward.md b/docs/src/docPages/api/commands/join-forward.md index 9c3c958f..5a4fe000 100644 --- a/docs/src/docPages/api/commands/join-forward.md +++ b/docs/src/docPages/api/commands/join-forward.md @@ -1,3 +1,5 @@ # joinForward + +https://prosemirror.net/docs/ref/#commands.joinForward diff --git a/docs/src/layouts/App/index.vue b/docs/src/layouts/App/index.vue index 5ec051fa..69b167f5 100644 --- a/docs/src/layouts/App/index.vue +++ b/docs/src/layouts/App/index.vue @@ -13,7 +13,7 @@ v-if="$route.name === 'home'" color="yellow" > - Get early access to our Node.js collaboration backend → + Get early access to our Node.js realtime backend →