app/components/base/prompt-editor/utils.ts
@@ -296,7 +296,7 @@ } export function textToEditorState(text: string) { const paragraph = text && (typeof text === 'string') ? text.split('\n') : [''] const paragraph = text ? text.split('\n') : [''] return JSON.stringify({ root: {