UNPKG
@editorjs/paragraph
Version:
latest (2.11.7)
2.11.7
2.11.6
2.11.5
2.11.4
2.11.3
2.11.2
2.11.1
2.10.0
2.9.0
2.8.0
2.7.0
2.6.1
2.6.0
2.5.1
2.5.0
2.4.1
Paragraph Tool for Editor.js
editor-js/paragraph
@editorjs/paragraph
/
dist
/
utils
/
makeFragment.d.ts
8 lines
(7 loc)
•
238 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * 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
;