mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
hide in readonly mode
This commit is contained in:
@@ -449,7 +449,10 @@ export class ResizableNodeView {
|
||||
this.container = this.createContainer();
|
||||
|
||||
this.applyInitialSize();
|
||||
|
||||
if (this.editor.isEditable) {
|
||||
this.attachHandles();
|
||||
}
|
||||
|
||||
this.editor.on('update', this.handleEditorUpdate.bind(this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user