Explorar o código

TableUtils - insertRows and insertColumns decorated.

Kuba Niegowski %!s(int64=5) %!d(string=hai) anos
pai
achega
340e2a3517
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      packages/ckeditor5-table/src/tableutils.js

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

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