@wangeditor-kai/yjs-for-react
Version:
React specific components/utils for wangeditor-next-yjs.
15 lines (14 loc) • 452 B
TypeScript
/**
* @description parse html
* @author wangfupeng
*/
import { IDomEditor } from '@wangeditor-next/core';
import { Descendant } from 'slate';
import { DOMElement } from '../utils/dom';
import { VideoElement } from './custom-types';
declare function parseHtml(elem: DOMElement, _children: Descendant[], _editor: IDomEditor): VideoElement;
export declare const parseHtmlConf: {
selector: string;
parseElemHtml: typeof parseHtml;
};
export {};