diff --git a/app/templates/_page_editor_scripts.html b/app/templates/_page_editor_scripts.html index 0326e14..57219b7 100644 --- a/app/templates/_page_editor_scripts.html +++ b/app/templates/_page_editor_scripts.html @@ -572,10 +572,10 @@ window.__fdEditorScriptsLoaded = true; var syncedTitle=b._synced_title||'Synced block'; var syncedContent=b._synced_content||[]; var sid=b.synced_id||''; - var inner=syncedContent.map(function(ch){return'
'+mdEsc(typeof ch==='object'?ch.content||'':ch)+'
';}).join(''); + var syncedInner=syncedContent.map(function(ch){return'
'+mdEsc(typeof ch==='object'?ch.content||'':ch)+'
';}).join(''); return `
đŸ”— Synced — ${esc(syncedTitle)}
-
${inner||'
Loading synced content…
'}
+
${syncedInner||'
Loading synced content…
'}
`; } const ph=b.type==='heading_1'?'Heading 1':b.type==='heading_2'?'Heading 2':b.type==='heading_3'?'Heading 3':b.type==='heading_4'?'Heading 4':b.type==='bulleted_list'?'List':b.type==='numbered_list'?'List':b.type==='to_do'?'To-do':b.type==='toggle'?'Toggle list':b.type==='quote'?'Empty quote':b.type==='code'?'Type code...':b.type==='callout'?'Type something...':(b.type==='paragraph'&&!b.content?'Press \'space\' for AI or \'/\' for commands':'Press \'/\' for commands...');