Browse Source

TableUtils - insertRows and insertColumns decorated.

Kuba Niegowski 5 years ago
parent
commit
340e2a3517
1 changed files with 8 additions and 0 deletions
  1. 8 0
      packages/ckeditor5-table/src/tableutils.js

+ 8 - 0
packages/ckeditor5-table/src/tableutils.js

@@ -27,6 +27,14 @@ export default class TableUtils extends Plugin {
 	}
 
 	/**
+	 * @inheritDoc
+	 */
+	init() {
+		this.decorate( 'insertColumns' );
+		this.decorate( 'insertRows' );
+	}
+
+	/**
 	 * Returns the table cell location as an object with table row and table column indexes.
 	 *
 	 * For instance, in the table below: