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

Align

MMO.editor.tools · 1 symbole · générée le 27 Oct 2026

class

Align

blocks.js:116

The alignment of the current block: a button showing it, which opens the four choices.

class MMO.editor.tools.Align extends MMO.editor.PopoverTool
Espace de noms
MMO.editor.tools
Étend
PopoverTool

Méthodes5

constructor(name, options)

blocks.js:117
constructor(name, options = {})
name
options = {}

apply(editor, align)

blocks.js:137
apply(editor, align)
editorHTMLElement
alignstringleft, center, right or justify

current(editor)

blocks.js:146
current(editor)
editorHTMLElement
retournestringthe alignment of the current block