mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-08-06 13:38:49 +08:00
remove check for editable in todoitem
This commit is contained in:
parent
5e271df859
commit
8505763d89
@ -12,9 +12,6 @@ export default class TodoItemNode extends Node {
|
||||
props: ['node', 'updateAttrs', 'editable'],
|
||||
methods: {
|
||||
onChange() {
|
||||
if (!this.editable) {
|
||||
return
|
||||
}
|
||||
this.updateAttrs({
|
||||
done: !this.node.attrs.done,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user