@hailin-zheng/editor-core 2.2.23 → 2.2.25

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.
@@ -466,6 +466,10 @@ export declare class DocEditor {
466
466
  getTextContent(): string;
467
467
  emit(event: string, args: any): void;
468
468
  createResizableElement(): VNode;
469
+ /**
470
+ * 读取操作日志,并返回是否修改的标志
471
+ * @returns
472
+ */
469
473
  private readDocChangeLog;
470
474
  /**
471
475
  * 处理候选词
@@ -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.23",
7
+ "version": "2.2.25",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "moment": "^2.29.3",