fix: First auto-save unfocuses document (#1046)
* fix: Autosave unfocuses document * Revert unneeded change * test: le fix * fix: Handle offline state fix: Untitled documents appear with empty titles * fix: Draft bubble roundness (yes, it doesnt belong here but see it, fix it)
This commit is contained in:
@ -13,11 +13,6 @@ export default async function present(document: Document, options: ?Options) {
|
||||
...options,
|
||||
};
|
||||
|
||||
// For empty document content, return the title
|
||||
if (!document.text.trim()) {
|
||||
document.text = `# ${document.title}`;
|
||||
}
|
||||
|
||||
const data = {
|
||||
id: document.id,
|
||||
url: document.url,
|
||||
|
Reference in New Issue
Block a user