@wangeditor-kai/yjs-for-react
Version:
React specific components/utils for wangeditor-next-yjs.
17 lines (16 loc) • 433 B
TypeScript
/**
* @description to html
* @author wangfupeng
*/
import { Element } from 'slate';
declare function codeToHtml(elem: Element, childrenHtml: string): string;
export declare const codeToHtmlConf: {
type: string;
elemToHtml: typeof codeToHtml;
};
declare function preToHtml(elem: Element, childrenHtml: string): string;
export declare const preToHtmlConf: {
type: string;
elemToHtml: typeof preToHtml;
};
export {};