@wangeditor-kai/yjs-for-react
Version:
React specific components/utils for wangeditor-next-yjs.
16 lines (15 loc) • 345 B
TypeScript
/**
* @description to html
* @author wangfupeng
*/
import { Element } from 'slate';
declare function elemToHtml(elem: Element, childrenHtml: string): {
html: string;
prefix?: string;
suffix?: string;
};
declare const listItemToHtmlConf: {
type: string;
elemToHtml: typeof elemToHtml;
};
export default listItemToHtmlConf;