UNPKG
@kedao/editor
Version:
latest (0.0.2)
0.0.2
0.0.1
Rich Text Editor Based On Draft.js
@kedao/editor
/
lib
/
extensions
/
markdown
/
utils.d.ts
4 lines
(3 loc)
•
206 B
TypeScript
View Raw
1
2
3
4
import
{
EditorState
}
from
'draft-js'
;
export
declare
function
addText
(
editorState
:
any
,
bufferText
:
any
):
EditorState
;
export
declare
function
replaceText
(
editorState
:
any
,
bufferText
:
any
):
EditorState
;