@hailin-zheng/editor-core 2.2.24 → 2.2.26

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.
@@ -343,6 +343,8 @@ export declare class ViewOptions {
343
343
  onChange: Subject<void>;
344
344
  printMode: 'normal' | 'continuation';
345
345
  enableSuggestions: boolean;
346
+ bodyPartMarginTop: number;
347
+ bodyPartMarginBottom: number;
346
348
  constructor();
347
349
  }
348
350
  export declare class MarginProps {
@@ -1,4 +1,4 @@
1
- import { BlockContainerElement, SerializeProps, Element, readElementProps, ElementFactory } from "../../element-define";
1
+ import { BlockContainerElement, SerializeProps, Element, readElementProps, ElementFactory, ICreateRenderData } from "../../element-define";
2
2
  import { IEditorVNodeOptions, MultiBlockLineRenderObject, RenderObject } from "../../render-define";
3
3
  import { BodyPartProps } from "../../element-props";
4
4
  /**
@@ -8,7 +8,7 @@ import { BodyPartProps } from "../../element-props";
8
8
  export declare class DocumentBodyPartElement extends BlockContainerElement<BodyPartProps> {
9
9
  isModify: boolean;
10
10
  constructor();
11
- createRenderObject(): DocumentBodyPartRenderObject;
11
+ createRenderObject(data: ICreateRenderData): DocumentBodyPartRenderObject;
12
12
  serialize(): SerializeProps;
13
13
  clone(data: boolean): DocumentBodyPartElement;
14
14
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "2.2.24",
7
+ "version": "2.2.26",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "moment": "^2.29.3",