@hailin-zheng/editor-core 2.1.8 → 2.1.10

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.
@@ -422,6 +422,7 @@ export declare class DocEditor {
422
422
  */
423
423
  refreshDocRule(rule: DocRule): void;
424
424
  version(): string;
425
+ switchPageHeaderEditor(): void;
425
426
  }
426
427
  export interface IReaderManager {
427
428
  }
@@ -229,6 +229,7 @@ export declare class PageOptions {
229
229
  set width(value: number);
230
230
  get height(): number;
231
231
  set height(value: number);
232
+ clone(): PageOptions;
232
233
  }
233
234
  export declare type OrientType = 'landscape' | 'portrait';
234
235
  export declare type PageLayoutMode = 'singlePage' | 'multiPage' | 'fit-page';
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "2.1.8",
7
+ "version": "2.1.10",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "moment": "^2.29.3",