MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN

mmo.editor

Éditeur WYSIWYG et pages construites par sections, avec brouillon et révisions.

Ce que c'est
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.
Dépend de
mmo.core, mmo.client, mmo.oauth
Utilisé par
aucune autre bibliothèque
Depuis un agent IA
search_documentation {"query": "…", "package": "mmo.editor"}

Sa démo en direct est en construction.

La documentation du framework est rédigée en anglais.

  • PHP · 17 pages
  • JavaScript · 25 pages

Chaque classe, fonction et élément