gu-plugin-formula
Version:
13 lines (12 loc) • 362 B
TypeScript
/**
* @description render elem
* @author wangfupeng
*/
import { VNode } from 'snabbdom';
import { IDomEditor, SlateElement } from '@wangeditor/editor';
declare function renderFormula(elem: SlateElement, children: VNode[] | null, editor: IDomEditor): VNode;
declare const conf: {
type: string;
renderElem: typeof renderFormula;
};
export default conf;