Skip to content

Commit fa58c04

Browse files
authored
[fix] Disable serialization for text preview widget (#4004)
1 parent 9c84c9e commit fa58c04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/composables/widgets/useProgressTextWidget.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export const useTextPreviewWidget = (
2828
setValue: (value: string | object) => {
2929
widgetValue.value = typeof value === 'string' ? value : String(value)
3030
},
31-
getMinHeight: () => options.minHeight ?? 42 + PADDING
31+
getMinHeight: () => options.minHeight ?? 42 + PADDING,
32+
serialize: false
3233
}
3334
})
3435
addWidget(node, widget)

0 commit comments

Comments
 (0)