From 6706dcdf72d54f33c1cf4956602c3a64a1578826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Mon, 16 Dec 2024 12:46:02 +0100 Subject: [PATCH] fix(editor): Prevent stickies from being edited in preview mode in the new canvas (#12222) --- .../canvas/elements/nodes/render-types/CanvasNodeStickyNote.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeStickyNote.vue b/packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeStickyNote.vue index 1fb597be690b2..d3852a81cac3a 100644 --- a/packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeStickyNote.vue +++ b/packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeStickyNote.vue @@ -109,6 +109,7 @@ onBeforeUnmount(() => { :model-value="renderOptions.content" :background-color="renderOptions.color" :edit-mode="isActive" + :read-only="isReadOnly" @edit="onEdit" @dblclick="onDoubleClick" @update:model-value="onInputChange"