@worktile/theia 19.4.0 → 19.4.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/theia",
3
- "version": "19.4.0",
3
+ "version": "19.4.1",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -2,6 +2,7 @@ import { Editor, Element, Node } from 'slate';
2
2
  export declare const getStartBlock: (editor: Editor, fragment: Element) => any;
3
3
  export declare const getEndBlock: (editor: Editor, fragment: Element) => any;
4
4
  export declare const extractFragment: (data: DataTransfer, deleteKey?: string) => Promise<import("@worktile/theia").CustomElement[]>;
5
+ export declare const extractFragmentByHTML: (data: DataTransfer, deleteKey?: string) => Promise<import("@worktile/theia").CustomElement[]>;
5
6
  export declare function deleteElementKey(nodes: Node[], key: string): Node[];
6
7
  /**
7
8
  * 过滤文本格式:颜色/背景色/字体大小