Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourYellow
title

...

RELEASE 2.11.0

...

OR ABOVE

Returns the cell (TD 또는 or TH) HTML Element를 반환합니다. Element in the table where the caret is located.


Return:

TypeDescription
HTML Element
표의 셀

Cells in a table (TD

또는

or TH) HTML Element.

캐럿이나 셀렉션이 표의 셀안에 위치하지 않은 경우 null을 반환합니다

Returns null if the caret or selection is not located inside a table cell.


Example:

Code Block
languagejs
themeEmacs
var td = editor.getTableCellHTMLElement();
td.innerHTML = "표의 셀입니다A cell in the table.";