mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 07:40:13 +08:00
add comment
This commit is contained in:
parent
56e1a0e045
commit
c925160e78
@ -123,6 +123,9 @@ export class Editor extends EventEmitter {
|
||||
this.options = { ...this.options, ...options }
|
||||
}
|
||||
|
||||
/**
|
||||
* Update editable state of the editor.
|
||||
*/
|
||||
public setEditable(editable: boolean): void {
|
||||
this.setOptions({ editable })
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user