diff --git a/docs/src/demos/Examples/Default/index.vue b/docs/src/demos/Examples/Default/index.vue index e2c4bb5d..c6c71525 100644 --- a/docs/src/demos/Examples/Default/index.vue +++ b/docs/src/demos/Examples/Default/index.vue @@ -87,23 +87,7 @@ export default { mounted() { this.editor = new Editor({ - extensions: [ - ...defaultExtensions(), - Extension.create({ - addKeyboardShortcuts() { - return { - 'Mod-Enter': () => { - console.log('Mod-Enter plugin') - return false - }, - 'Shift-Enter': () => { - console.log('Shift-Enter') - return false - }, - } - }, - }), - ], + extensions: defaultExtensions(), content: `