瀏覽代碼

TableUtils - insertRows and insertColumns decorated.

Kuba Niegowski 5 年之前
父節點
當前提交
340e2a3517
共有 1 個文件被更改,包括 8 次插入0 次删除
  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: