Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

fix: Embeddables lost stroke color option in element properties after #9996 (#10541)

zsviczian071b17a2179f
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" ||