@hailin-zheng/editor-core 1.1.24 → 1.1.26

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.
@@ -319,7 +319,7 @@ export declare class ElementUtil {
319
319
  * 校验是否为空内容
320
320
  * @param ele
321
321
  */
322
- static checkEmptyContent(ele: BranchRenderObject): boolean;
322
+ static checkEmptyRenderContent(ele: BranchRenderObject): boolean;
323
323
  /**
324
324
  * 测量行内编组元素
325
325
  * @param render
@@ -186,7 +186,7 @@ export declare class CanvasTextEditor extends AbsolutePanel {
186
186
  /**
187
187
  * 开启格式刷
188
188
  */
189
- enableFormatBrush(): ICancelTokenFn | null;
189
+ enableFormatBrush(once?: boolean): ICancelTokenFn | null;
190
190
  /**
191
191
  * 设置段落样式
192
192
  * @param newProps
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "1.1.24",
7
+ "version": "1.1.26",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "bwip-js": "^3.0.5",