@wangeditor-kai/yjs-for-react
Version:
React specific components/utils for wangeditor-next-yjs.
13 lines (12 loc) • 293 B
TypeScript
/**
* @description text to html
* @author wangfupeng
*/
import { Descendant } from 'slate';
/**
* style to html
* @param textNode slate text node
* @param textHtml text html
* @returns styled html
*/
export declare function styleToHtml(textNode: Descendant, textHtml: string): string;