diff --git a/docs/src/demos/Examples/CollaborativeEditing/index.vue b/docs/src/demos/Examples/CollaborativeEditing/index.vue index cb726599..3b5c5cdd 100644 --- a/docs/src/demos/Examples/CollaborativeEditing/index.vue +++ b/docs/src/demos/Examples/CollaborativeEditing/index.vue @@ -28,6 +28,7 @@ import CollaborationCursor from '@tiptap/extension-collaboration-cursor' import TaskList from '@tiptap/extension-task-list' import TaskItem from '@tiptap/extension-task-item' import Highlight from '@tiptap/extension-highlight' +import CharacterCount from '@tiptap/extension-character-count' import * as Y from 'yjs' import { WebsocketProvider } from 'y-websocket' import { IndexeddbPersistence } from 'y-indexeddb' @@ -93,6 +94,9 @@ export default { this.users = users }, }), + CharacterCount.configure({ + limit: 10000, + }), ], })