WwMergedTableManager()

Class WwMergedTableManager

Extends

Methods

destroy()

Destroy.

Inherited From:

getTableIDClassName() → {string}

Return new table ID class name string

Returns:
string
Inherited From:

isInTable(range) → {boolean}

isInTable
Check whether passed range is in table or not

Parameters:
Name Type Description
range Range

range

Returns:
boolean -

result

Inherited From:

isNonTextDeleting(range) → {boolean}

Return whether delete non text or not

Parameters:
Name Type Description
range Range

Range object

Returns:
boolean
Inherited From:

isTableOrSubTableElement(pastingNodeName) → {boolean}

Whether pasting element is table element

Parameters:
Name Type Description
pastingNodeName string

Pasting node name

Returns:
boolean
Inherited From:

pasteClipboardData($clipboardTable)

Paste clibpard data.

Parameters:
Name Type Description
$clipboardTable jQuery

jQuery table element of clipboard

Overrides:

prepareToTableCellStuffing($trs) → {Object}

Prepare to table cell stuffing

Parameters:
Name Type Description
$trs jQuery

jQuery wrapped TRs

Returns:
Object
Overrides:

resetLastCellNode()

Reset _lastCellNode to null

Inherited From:

setLastCellNode(node)

Set _lastCellNode to given node

Parameters:
Name Type Description
node HTMLElement

Table cell

Inherited From:

tableCellAppendAidForTableElement(node)

Append table cells

Parameters:
Name Type Description
node HTMLElement

Table element

Overrides:

updateTableHtmlOfClipboardIfNeed($clipboardContainer)

Update table html of clipboard data, if has selected cells.

Parameters:
Name Type Description
$clipboardContainer jQuery

jQuery element

Overrides:

wrapDanglingTableCellsIntoTrIfNeed($container) → {HTMLElement|null}

Wrap dangling table cells with new TR

Parameters:
Name Type Description
$container jQuery

clipboard container

Returns:
HTMLElement | null
Inherited From:

wrapTheadAndTbodyIntoTableIfNeed($container) → {HTMLElement|null}

Wrap THEAD followed by TBODY both into Table

Parameters:
Name Type Description
$container jQuery

clipboard container

Returns:
HTMLElement | null
Inherited From:

wrapTrsIntoTbodyIfNeed($container) → {HTMLElement|null}

Wrap TRs with new TBODY

Parameters:
Name Type Description
$container jQuery

clipboard container

Returns:
HTMLElement | null
Inherited From: