MMOframework
Why AI Playground Libraries Documentation Search Agency
FR EN

mmo.editor

WYSIWYG editor and pages built from sections, with drafts and revisions.

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.
Depends on
mmo.core, mmo.client, mmo.oauth
Used by
no other library
From an AI agent
search_documentation {"query": "…", "package": "mmo.editor"}

Its live demo is being built.

The framework's documentation is written in English.

  • PHP · 17 pages
  • JavaScript · 25 pages

Every class, function and element