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,