Align
MMO.editor.tools · 1 symbole · générée le 27 Oct 2026
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 = {})renderPopover(editor)apply(editor, align)| editor | HTMLElement | |
| align | string | left, center, right or justify |
current(editor)| editor | HTMLElement | |
| retourne | string | the alignment of the current block |
update(editor, node)