4.2.1 • Published 9 months ago
@draft-js-plugins/utils v4.2.1
Draft js plugin utilities
Available methods
createLinkAtSelection
createLinkAtSelection(
editorState: EditorState,
url: string
) => EditorState
removeLinkAtSelection
removeLinkAtSelection(
editorState: EditorState,
) => EditorState
getCurrentEntityKey
getCurrentEntityKey(
editorState: EditorState,
) => DraftEntityKey
getCurrentEntity
getCurrentEntity(
editorState: EditorState,
) => DraftEntity
hasEntity
hasEntity(
editorState: EditorState,
entityType: DraftEntityType
) => boolean
4.2.1
9 months ago
4.2.0
3 years ago
4.1.0
3 years ago
4.0.0
3 years ago
4.0.0-beta2
3 years ago
4.0.0-beta1
3 years ago