@ones-editor/editor 2.8.36 → 2.9.1-beta.3

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.
@@ -21,6 +21,7 @@ export declare function getHorizontalPadding(elem: Element): number;
21
21
  export declare function isNodeRemoved(elem: Element): boolean;
22
22
  export declare function isChildNode(parent: Node, child: Node): boolean;
23
23
  export declare function loadJs(url: string, id: string, callback: (error?: Error) => void): void;
24
+ export declare function loadEmsJs(id: string, mjsUrl: string, mjsName: string, jsCode: string): Promise<void>;
24
25
  export declare function loadJsPromise(url: string, id: string): Promise<void>;
25
26
  export declare function setDataset(el: HTMLElement, dataset: Record<string, string | number>): void;
26
27
  export declare function setAttributes(el: HTMLElement, attributes: Record<string, string>): void;
@@ -5,7 +5,6 @@
5
5
  "license": "MIT",
6
6
  "devDependencies": {
7
7
  "@types/lodash.camelcase": "^4.3.7",
8
- "@types/mermaid": "^9.1.0",
9
8
  "@types/plantuml-encoder": "^1.4.0",
10
9
  "@types/lodash-es": "4.17.8",
11
10
  "@types/lodash.clonedeep": "^4.5.0"