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

Table

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

class

Table

Table.js:10

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)

Table.js:11
renderPopover(editor)
editor

apply(editor, action, rows, cols)

Table.js:52
apply(editor, action, rows = 3, cols = 3)
editorHTMLElement
actionstringinsert, row-above, row-below, col-before, col-after, header, delete-row, delete-col or delete
rows = 3numberfor insert
cols = 3numberfor insert

getCell(editor)

Table.js:140
getCell(editor)
editorHTMLElement
retourne?HTMLTableCellElementthe cell holding the selection