diff --git a/client/src/components/Workflow/Editor/Tools/useToolLogic.ts b/client/src/components/Workflow/Editor/Tools/useToolLogic.ts index 278f17e5fa36..6b25d46fc670 100644 --- a/client/src/components/Workflow/Editor/Tools/useToolLogic.ts +++ b/client/src/components/Workflow/Editor/Tools/useToolLogic.ts @@ -47,8 +47,8 @@ export function useToolLogic(toolbarStore: WorkflowEditorToolbarStore, annotatio data: { size: annotationOptions.textSize, text: "Enter Text", - bold: annotationOptions.bold, - italic: annotationOptions.italic, + bold: annotationOptions.bold || undefined, + italic: annotationOptions.italic || undefined, } as BaseWorkflowAnnotation["data"], }), markdownAnnotation: () => ({