|
@@ -64,7 +64,6 @@ export default class TableEditing extends Plugin {
|
|
|
schema.register( 'table', {
|
|
schema.register( 'table', {
|
|
|
allowWhere: '$block',
|
|
allowWhere: '$block',
|
|
|
allowAttributes: [ 'headingRows', 'headingColumns' ],
|
|
allowAttributes: [ 'headingRows', 'headingColumns' ],
|
|
|
- isLimit: true,
|
|
|
|
|
isObject: true,
|
|
isObject: true,
|
|
|
isBlock: true
|
|
isBlock: true
|
|
|
} );
|
|
} );
|
|
@@ -77,7 +76,8 @@ export default class TableEditing extends Plugin {
|
|
|
schema.register( 'tableCell', {
|
|
schema.register( 'tableCell', {
|
|
|
allowIn: 'tableRow',
|
|
allowIn: 'tableRow',
|
|
|
allowAttributes: [ 'colspan', 'rowspan' ],
|
|
allowAttributes: [ 'colspan', 'rowspan' ],
|
|
|
- isObject: true
|
|
|
|
|
|
|
+ isLimit: true,
|
|
|
|
|
+ isSelectable: true
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
// Allow all $block content inside table cell.
|
|
// Allow all $block content inside table cell.
|