From ed3460302ce7f9421503e883ea4ddb42e41008fb Mon Sep 17 00:00:00 2001 From: Trang Doan Date: Thu, 26 Mar 2026 15:01:09 -0400 Subject: [PATCH] don't enforce font style and size on migration --- .../DiscourseRelationShape/discourseRelationMigrations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/roam/src/components/canvas/DiscourseRelationShape/discourseRelationMigrations.ts b/apps/roam/src/components/canvas/DiscourseRelationShape/discourseRelationMigrations.ts index 7c94474fc..7584dea72 100644 --- a/apps/roam/src/components/canvas/DiscourseRelationShape/discourseRelationMigrations.ts +++ b/apps/roam/src/components/canvas/DiscourseRelationShape/discourseRelationMigrations.ts @@ -141,8 +141,8 @@ export const createMigrations = ({ filter: (r: any) => r.typeName === "shape" && allNodeTypes.includes(r.type), up: (shape: any) => { - shape.props.size = "m"; - shape.props.fontFamily = "draw"; + if (!shape.props.size) shape.props.size = "m"; + if (!shape.props.fontFamily) shape.props.fontFamily = "draw"; }, }, {