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

mmo-page-editor

1 symbole · générée le 27 Oct 2026

element

mmo-page-editor

mmo-page-editor.jhs:1

The backoffice of the pages built from sections (MMO\editor\cms): the pages, and the one being edited -- a form made from its sections' schemas, a live preview, its publication, its history. MMO.editor.PageEditor does the work; this element builds it on its own content (the light dom: its <mmo-editor> fields need the page's selection), with the api of MMO.editor.config, which the server writes for whoever may edit pages.

<mmo-page-editor page level upload-url upload-labels nolist></mmo-page-editor>
Étend
CustomShadowElement
What it shows follows the display level of mmo.client (`MMO.modes`): `simple` the main fields, `standard` every field and the history, `expert` also the editing in place, in the preview. Without the levels in the application, it has a switch of its own. Events: `open` (`detail`: the page), `saved`, `api` (each call: `detail: {method, url, status, reason}`).
<mmo-page-editor page="3"></mmo-page-editor>

Index

pagethe id of the page to open; none: the first one
levelsimple, standard or expert, rather than the display modes'
upload-urlwhere the images go; none: mmo.edms' one-request upload when the page has it
upload-labelsthe edms labels of the images (default "#pages", the user's own tag)
nolistone page only: no list of the pages, no new page
current readonly accessor
init()
disconnectedCallback()
(default)

Attributs5

upload-url

mmo-page-editor.jhs

where the images go; none: mmo.edms' one-request upload when the page has it

upload-url

upload-labels

mmo-page-editor.jhs

the edms labels of the images (default "#pages", the user's own tag)

upload-labels

Propriétés1

Méthodes2

Slots1