Browse Source

TableUtils - insertRows and insertColumns decorated.

Kuba Niegowski 5 năm trước cách đây
mục cha
commit
340e2a3517
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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.
 	 *