/** * @startsimpli/ui/document-editor — a generic, schema-driven, Google-Docs-like * editor over typed document sub-sections (blog markdown + text + structured SEO * + source lists). Presentational + controlled: bring your own persistence. * * Exposed as its own subpath (like ./blog and ./collection) because it pulls * react-markdown for the markdown preview — kept out of the main components * barrel so consumers that don't edit documents don't drag that dependency. */ export { DocumentEditor } from './DocumentEditor'; export type { DocumentEditorProps, SaveStatus } from './DocumentEditor'; export type { DocSection, DocSectionKind } from './types'; export { sectionsFromRecord, recordPatchFromSections, readData, toCamelKey, type DocAttribute, type SectionsFromRecordOptions, } from './sections';