Expand all

abstract ve.ce.TableCellableNode

Constructor

new ve.ce.TableCellableNode()abstract #

ContentEditable node which can behave as a table cell

Source:
ContentEditable node which can behave as a table cell

Methods

getTagName() → {string} #

Get the HTML tag name.

Tag name is selected based on the model's style attribute.

Source:

Returns:

HTML tag name

Type
string

Throws:

Invalid style

Type
Error
Get the HTML tag name.

setEditing(enable) #

Set the editing mode of a table cell node

Parameters:

Name Type Description
enable boolean

Enable editing

Source:
Set the editing mode of a table cell node