UNPKG

@editorjs/paragraph

Version:

Paragraph Tool for Editor.js

8 lines (7 loc) 238 B
/** * Create a DocumentFragment and fill it with HTML from a string * * @param {string} htmlString - A string of valid HTML * @returns {DocumentFragment} */ export default function makeFragment(htmlString: string): DocumentFragment;