From 071b17a2179fa19891f8c20d870d50e8fb65a6b5 Mon Sep 17 00:00:00 2001 From: zsviczian Date: Fri, 19 Dec 2025 18:23:09 +0100 Subject: [PATCH] fix: Embeddables lost stroke color option in element properties after #9996 (#10541) Add 'embeddable' type to comparisons --- packages/element/src/comparisons.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/element/src/comparisons.ts b/packages/element/src/comparisons.ts index c15e1ca4bc..148b2ea62b 100644 --- a/packages/element/src/comparisons.ts +++ b/packages/element/src/comparisons.ts @@ -16,7 +16,8 @@ export const hasStrokeColor = (type: ElementOrToolType) => type === "freedraw" || type === "arrow" || type === "line" || - type === "text"; + type === "text" || + type === "embeddable"; export const hasStrokeWidth = (type: ElementOrToolType) => type === "rectangle" ||