[fix] Disable serialization for text preview widget (#4004)

This commit is contained in:
Robin Huang
2025-05-27 21:20:26 -07:00
committed by GitHub
parent 9c84c9e250
commit fa58c04b3a

View File

@@ -28,7 +28,8 @@ export const useTextPreviewWidget = (
setValue: (value: string | object) => { setValue: (value: string | object) => {
widgetValue.value = typeof value === 'string' ? value : String(value) widgetValue.value = typeof value === 'string' ? value : String(value)
}, },
getMinHeight: () => options.minHeight ?? 42 + PADDING getMinHeight: () => options.minHeight ?? 42 + PADDING,
serialize: false
} }
}) })
addWidget(node, widget) addWidget(node, widget)