2.3.7
See changelog and completed issues
API changes
MarkdownInput
exposes function insertAtCursorPosition(text)
which inserts text
into current cursor position in editor.
It can be accessed via ref
on mounted component, e.g. <MArkdownInput ref={el => (this.mdRef = el)}>
and in code this.mdRef.insertAtCursorPosition('some text')
will insert some text
into current cursor position in editor.