@trevixal/extension-workspace. A document store with folders, templates,
recents and favorites; a tab strip that switches the editor between
documents and autosaves; a workspace sidebar; and a split view with a
live preview or a mirrored second editor.
deriveTitle(doc:NodeJSON,untitled?:string):string
A title from a document body: the first heading's text, else the first
sixty characters of prose, else "Untitled". Lives here rather than in the
templates module so the store has no dependency on the schema.
@trevixal/extension-workspace. A document store with folders, templates, recents and favorites; a tab strip that switches the editor between documents and autosaves; a workspace sidebar; and a split view with a live preview or a mirrored second editor.