@hailin-zheng/editor-core 2.2.0 → 2.2.1
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.
- package/editor.css +2 -1
- package/index-cjs.js +159 -50
- package/index-cjs.js.map +1 -1
- package/index.js +158 -51
- package/index.js.map +1 -1
- package/med_editor/framework/document-context.d.ts +1 -1
- package/med_editor/framework/element-props.d.ts +0 -1
- package/med_editor/framework/impl/data-element/data-element-base-impl.d.ts +13 -0
- package/package.json +1 -1
@@ -18,7 +18,7 @@ export declare class EditorContext {
|
|
18
18
|
dynamicFunc: DocumentEvalFunc;
|
19
19
|
docChange: DocumentChange;
|
20
20
|
clearPrevDocCb: (() => void) | null;
|
21
|
-
|
21
|
+
nextViewFns: Array<() => void>;
|
22
22
|
constructor(selectionState: SelectionState, viewOptions: ViewOptions);
|
23
23
|
onNextView(cb: (() => void) | null): void;
|
24
24
|
get document(): DocumentElement;
|
@@ -80,4 +80,17 @@ export declare function IsInSideInlineGroupInputElement(control: LeafElement, of
|
|
80
80
|
export declare abstract class DataElementBaseFactory<T = null> extends ElementFactory<T> {
|
81
81
|
readCompleted(ele: Element, children: Array<Element>): void;
|
82
82
|
}
|
83
|
+
/**
|
84
|
+
* 渲染数据元背景修饰
|
85
|
+
* @param event
|
86
|
+
* @param r
|
87
|
+
*/
|
83
88
|
export declare function exportDecoratorHTML(event: IEditorVNodeOptions, r: InlineGroupRenderObject): any;
|
89
|
+
/**
|
90
|
+
* 渲染数据源验证错误提示框
|
91
|
+
*/
|
92
|
+
export declare function renderErrorTip(event: IEditorVNodeOptions, r: InlineGroupRenderObject): void;
|
93
|
+
/**
|
94
|
+
* 渲染底部波浪线
|
95
|
+
*/
|
96
|
+
export declare function renderUnderWavyLine(event: IEditorVNodeOptions, r: InlineGroupRenderObject, color: string): void;
|