Skip to content

Releases: suren-atoyan/monaco-react

v4.1.1

02 Apr 16:16
Compare
Choose a tag to compare
  • DiffEditor: update DiffEditor's modified value by executeEdits
  • README: add an example for getting the values of DiffEditor

v4.1.0

18 Mar 07:58
Compare
Choose a tag to compare
  • loader: update @monaco-editor/loader dependency to version 1.0.1
  • types: fix Theme type; vs-dark instead of dark

v4.0.11

27 Feb 15:38
Compare
Choose a tag to compare
  • Editor: add an additional check in case if line is undefined

v4.0.10

16 Feb 14:11
Compare
Choose a tag to compare
  • Editor: use revealLine for line update instead of setScrollPosition

v4.0.9

29 Jan 11:58
Compare
Choose a tag to compare
  • Editor: save and restore current model view state, if keepCurrentModel is true

v4.0.8

29 Jan 10:38
Compare
Choose a tag to compare

4.0.8

Jan 29, 2021
  • Editor: add keepCurrentModel property to the Editor component; indicator whether to dispose the current model when the Editor is unmounted or not

4.0.7

Jan 21, 2021
  • Editor: fire onValidate unconditionally, always, with the current model markers

4.0.6

Jan 19, 2021
  • DiffEditor: check if originalModelPath and modifiedModelPath exist in setModels function
  • DiffEditor: remove originalModelPath and modifiedModelPath from defaultProps

v4.0.5

18 Jan 21:10
Compare
Choose a tag to compare
  • utils: check if path exists in createModel utility function
  • Editor: remove defaultPath from defaultProps

v4.0.4

18 Jan 14:36
Compare
Choose a tag to compare

v4.0.4

  • package.json: update husky pre-commit hook to remove lib folder

v4.0.3

  • Editor: enable multi-model support
  • types: add path, defaultLanguage and saveViewState for multi-model support

v4.0.2

18 Jan 09:50
Compare
Choose a tag to compare
  • types: declare and export useMonaco type

v4.0.1

17 Jan 23:03
Compare
Choose a tag to compare
  • Editor: dispose the current model if the Editor component is unmounted