WYSIWYG editor and pages built from sections, with drafts and revisions.
1.0
alpha
MMO\editor
What it is
A rich-text (WYSIWYG) editor for mmo.client: <mmo-editor> is a form field with a toolbar, or edits the page in place (`inline`). It produces clean html (sanitized pastes, theme-token colours), keeps its own undo history, and its toolbar is a registry of extensible JS tools (text formatting, headings, lists, links, colours, images with upload -- to mmo.edms as they are --, tables, html source). It also edits the pages of a site built from sections: JSON kept by mmo.core entities (a draft, the published version, its revisions), rendered by PHTML templates, with the backoffice's api and mmo.oauth rights, edited in <mmo-page-editor>: a form from the sections' schemas beside a live preview, mmo.client's three display levels (the expert one edits the page in place), undo and redo of the draft, a guided tour per level.