CKEDITOR.plugins.tableselection
class
singleton
since 4.7.0
Namespace providing a set of helper functions for working with tables, exposed by the Table Selection plugin.
Note: Since 4.12.0 you can use the cke-tableselection-ignored
attribute to disable
the table selection feature for the given table.
var table = new CKEDITOR.dom.element( 'table' );
table.data( 'cke-tableselection-ignored', 1 );
Filtering
Methods
-
getCellsBetween( first, last ) → element[]
CKEDITOR.plugins.tableselection#getCellsBetween
Fetches all cells between cells passed as parameters, including these cells.
Parameters
first : element
The first cell to fetch.
last : element
The last cell to fetch.
Returns
element[]
Array of fetched cells.
-
Adds keyboard integration for table selection in a given editor.
Parameters
editor : editor