@yangeditor/plugin-upload-attachment
Version:
12 lines (11 loc) • 300 B
TypeScript
/**
* @description elem to html
* @author wangfupeng
*/
import { SlateElement } from '@wangeditor/editor';
declare function attachmentToHtml(elem: SlateElement, childrenHtml: string): string;
declare const conf: {
type: string;
elemToHtml: typeof attachmentToHtml;
};
export default conf;