diff --git a/src/ui/src/builder/BuilderApp.vue b/src/ui/src/builder/BuilderApp.vue index 7bd2b21fc..961e8cc0c 100644 --- a/src/ui/src/builder/BuilderApp.vue +++ b/src/ui/src/builder/BuilderApp.vue @@ -253,6 +253,11 @@ function handleRendererDrop(ev: DragEvent) { function handleRendererClick(ev: PointerEvent): void { if (builderMode.value === "preview") return; + const unselectableEl: HTMLElement = (ev.target as HTMLElement).closest( + "[data-writer-unselectable]", + ); + if (unselectableEl) return; + const targetEl: HTMLElement = (ev.target as HTMLElement).closest( "[data-writer-id]", ); diff --git a/src/ui/src/builder/BuilderSettings.vue b/src/ui/src/builder/BuilderSettings.vue index d28c93039..9ed24163f 100644 --- a/src/ui/src/builder/BuilderSettings.vue +++ b/src/ui/src/builder/BuilderSettings.vue @@ -1,9 +1,7 @@