8
0
Quellcode durchsuchen

TableUtils - insertRows and insertColumns decorated.

Kuba Niegowski vor 5 Jahren
Ursprung
Commit
340e2a3517
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
  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: