@hailin-zheng/editor-core 1.1.7 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -199,7 +199,7 @@ export declare class DocumentChange {
|
|
199
199
|
insertElement(targetElement: Element, targetOffset: number, destEleArray: Array<Element>): Element | null;
|
200
200
|
/**
|
201
201
|
* 根据开始位置和结束位置,将字符切割成指定的区间
|
202
|
-
* @param
|
202
|
+
* @param text
|
203
203
|
* @param start
|
204
204
|
* @param end
|
205
205
|
* @returns
|
@@ -84,6 +84,13 @@ export declare class TableUtil {
|
|
84
84
|
private static restoreCellMerge;
|
85
85
|
private static getVMergeRows;
|
86
86
|
static insertCol(ss: SelectionState, insertColIndex: number): void;
|
87
|
+
/**
|
88
|
+
* 在指定位置插入行
|
89
|
+
* 动作:在指定行上方或者下方插入行
|
90
|
+
* 原则:插入的行单元格尽量不纵向合并
|
91
|
+
* @param ss
|
92
|
+
* @param insertRowIndex
|
93
|
+
*/
|
87
94
|
static insertRow(ss: SelectionState, insertRowIndex: number): TableRowElement;
|
88
95
|
/**
|
89
96
|
* 在下方插入行
|