From 7fc00dfecf10cbf123178394d0daa2d4faf8c29b Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Fri, 23 Apr 2021 14:14:39 +0200 Subject: [PATCH] limit collab demo to 10,000 characters --- docs/src/demos/Examples/CollaborativeEditing/index.vue | 4 ++++ 1 file changed, 4 insertions(+) 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, + }), ], })