UNPKG
@wangeditor/core
Version:
latest (1.1.19)
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.14.19
0.14.18
0.14.17
0.14.16
0.14.15
0.14.14
0.14.13
0.14.12
0.14.11
0.14.10
0.14.9
0.14.8
0.14.7
0.14.6
0.14.5
0.14.4
0.14.3
0.14.2
0.14.1
0.14.0
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.12
0.12.11
0.12.10
0.12.8
0.12.7
0.12.6
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.2
0.10.1
0.10.0
0.9.0
0.8.0
0.7.10
0.7.9
0.7.8
0.7.7
0.7.3
0.7.2
0.7.1
0.7.0
0.4.4
0.3.2
0.3.1
wangEditor core
github.com/wangeditor-team/wangEditor
wangeditor-team/wangEditor
@wangeditor/core
/
dist
/
core
/
src
/
to-html
/
text2html.d.ts
9 lines
(8 loc)
•
247 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/** *
@description
text
-> html *
@author
wangfupeng
*/
import
{
Text
}
from
'slate'
;
import
{
IDomEditor
}
from
'../editor/interface'
;
declare
function
textToHtml
(
textNode
:
Text
,
editor
:
IDomEditor
):
string
;
export
default
textToHtml;