Documentations › mmo.editor › js › éditeur › tools Table MMO.editor.tools · 1 symbole · générée le 27 Oct 2026
Insert a table, then add or remove its rows and columns from the same menu.
class MMO.editor.tools.Table extends MMO.editor.PopoverTool Espace de noms MMO.editor.toolsÉtend PopoverTool Cells merged with `colspan`/`rowspan` are kept, but the row and column actions count cells rather than
columns: they are meant for the plain tables this tool inserts. Méthodes4 renderPopover(editor) apply(editor, action, rows = 3, cols = 3) editor HTMLElementaction stringinsert, row-above, row-below, col-before, col-after, header, delete-row, delete-col or delete rows = 3 numberfor insert cols = 3 numberfor insert
getCell(editor) editor HTMLElementretourne ?HTMLTableCellElementthe cell holding the selection
isActive(editor)