setLink

Deprecated

Moved to the state: every rich text editor has the block API, markdown or not.

Replace with

import com.darkrockstudios.texteditor.state.setLink
editorState.setLink(range, url)