From 76818949538c343050ffbc62e2032e4744a67839 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sat, 28 Mar 2026 11:38:44 +0000 Subject: [PATCH] hide in readonly mode --- packages/editor-ext/src/lib/resizable-nodeview.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/editor-ext/src/lib/resizable-nodeview.ts b/packages/editor-ext/src/lib/resizable-nodeview.ts index 439e61ed..d0352848 100644 --- a/packages/editor-ext/src/lib/resizable-nodeview.ts +++ b/packages/editor-ext/src/lib/resizable-nodeview.ts @@ -449,7 +449,10 @@ export class ResizableNodeView { this.container = this.createContainer(); this.applyInitialSize(); - this.attachHandles(); + + if (this.editor.isEditable) { + this.attachHandles(); + } this.editor.on('update', this.handleEditorUpdate.bind(this)); }