Skip to content

2.3.7

Compare
Choose a tag to compare
@ocmachineuser ocmachineuser released this 24 Sep 12:24
· 29 commits to master since this release

See changelog and completed issues

API changes

87e1330

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.