@hufe921/canvas-editor 0.9.12 → 0.9.13

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.
@@ -2,4 +2,8 @@ import { IEditorOption, IElement } from '..';
2
2
  import { DeepRequired } from '../interface/Common';
3
3
  export declare function writeClipboardItem(text: string, html: string): void;
4
4
  export declare function writeElementList(elementList: IElement[], options: DeepRequired<IEditorOption>): void;
5
- export declare function getElementListByHTML(htmlText: string): IElement[];
5
+ interface IGetElementListByHTMLOption {
6
+ innerWidth: number;
7
+ }
8
+ export declare function getElementListByHTML(htmlText: string, options: IGetElementListByHTMLOption): IElement[];
9
+ export {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@hufe921/canvas-editor",
3
3
  "author": "Hufe",
4
4
  "license": "MIT",
5
- "version": "0.9.12",
5
+ "version": "0.9.13",
6
6
  "description": "rich text editor by canvas/svg",
7
7
  "publishConfig": {
8
8
  "registry": "https://registry.npmjs.org/",