Index

Align

MMO.editor.tools · 1 symbol · generated 30 Sep 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
Namespace
MMO.editor.tools
Extends
PopoverTool

Methods5

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
returnsstringthe alignment of the current block