From b477a1bb0acc3bc09468d590bf789394e28e023a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Wed, 7 Apr 2021 00:26:23 +0200 Subject: [PATCH] fix task list in collab example, fix #246, fix #247 --- docs/src/demos/Examples/CollaborativeEditing/index.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/src/demos/Examples/CollaborativeEditing/index.vue b/docs/src/demos/Examples/CollaborativeEditing/index.vue index 8543088a..17377348 100644 --- a/docs/src/demos/Examples/CollaborativeEditing/index.vue +++ b/docs/src/demos/Examples/CollaborativeEditing/index.vue @@ -33,10 +33,6 @@ import { WebsocketProvider } from 'y-websocket' import { IndexeddbPersistence } from 'y-indexeddb' import MenuBar from './MenuBar.vue' -const CustomTaskItem = TaskItem.extend({ - content: 'paragraph', -}) - const getRandomElement = list => { return list[Math.floor(Math.random() * list.length)] } @@ -77,7 +73,7 @@ export default { ...defaultExtensions().filter(extension => extension.config.name !== 'history'), Highlight, TaskList, - CustomTaskItem, + TaskItem, CollaborationCursor.configure({ provider: this.provider, user: this.currentUser,