RELEASE 2.11.0 OR ABOVE
Returns the cell (TD or TH) HTML Element in the table where the caret is located.
Return:
Type | Description |
---|---|
HTML Element | Cells in a table (TD or TH) HTML Element. Returns null if the caret or selection is not located inside a table cell. |
Example:
var td = editor.getTableCellHTMLElement(); td.innerHTML = "A cell in the table.";