fix editable

This commit is contained in:
Philipp Kühn
2020-08-21 21:53:45 +02:00
parent 6a70d80af2
commit 65ed653d22
2 changed files with 13 additions and 3 deletions

View File

@@ -4,6 +4,6 @@ import Editor from '../..'
export default (editor: Editor) => new Plugin({
key: new PluginKey('editable'),
props: {
editable: () => editor.isEditable,
editable: () => editor.options.editable,
},
})