@hailin-zheng/editor-core 2.0.38 → 2.0.40

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.
@@ -402,5 +402,11 @@ export declare class ElementUtil {
402
402
  */
403
403
  static canSetCursor(startControl: LeafElement, startOffset: number, editable: boolean, viewOptions: ViewOptions): boolean;
404
404
  static fixedOffset(control: LeafElement, offset: number): number;
405
+ /**
406
+ * 设置光标在数据元内容末尾
407
+ */
408
+ static setDataElemEndFocus(ss: {
409
+ resetRange: (ele: any, offset: any) => void;
410
+ }, ele: DataElementInlineGroup): void;
405
411
  }
406
412
  export {};
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "2.0.38",
7
+ "version": "2.0.40",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "bwip-js": "^3.0.5",