356 Commits

Author SHA1 Message Date
Suren Atoyan
6b58499689 update package version to 4.1.2 2021-04-19 20:14:29 +04:00
Suren Atoyan
3d483d7694 add keepCurrentOriginalModel and keepCurrentModifiedModel props in props/DiffEditor 2021-04-19 20:13:13 +04:00
Suren Atoyan
cef5facec5 add and properties; indicator whether to dispose the current original/modified model when the DiffEditor is unmounted or not 2021-04-19 19:43:00 +04:00
Suren Atoyan
6e501b36b5 update monaco-editor peerDependency to the lates one (0.23.0) 2021-04-19 18:09:13 +04:00
Suren Atoyan
a41c3e7853 add an example for getting the values of DiffEditor v4.1.1 2021-04-02 20:13:25 +04:00
KoreSamuel
537b22481d
Add a demo that gets the DiffEditor's value (#206)
* Add a demo that gets the DiffEditor's value

* Add a codesandbox link
2021-04-02 20:07:34 +04:00
RoXoM
674556bd5d
feat: selection of modified model isn't first position after value change (#215) 2021-04-01 15:39:25 +04:00
Suren Atoyan
7d74039283 update package version to 4.1.0 v4.1.0 2021-03-18 11:54:04 +04:00
Suren Atoyan
0ed9451690 Merge branch 'master' of https://github.com/suren-atoyan/monaco-react 2021-03-18 11:51:44 +04:00
Suren Atoyan
f682f99eda update @monaco-editor/loader dependency to version 1.0.1 2021-03-18 11:51:32 +04:00
Suren Atoyan
d72fbf51c7 update snapshots 2021-03-18 11:50:46 +04:00
makeupsomething
9060282bdf
Fix type definition (#209)
Update the Theme type in the definition file
2021-03-18 00:14:41 +04:00
Suren Atoyan
8d2e7e71e9 update package version to 4.0.11 v4.0.11 2021-02-27 19:36:05 +04:00
Ardeshir81
1eb2d5b0b3
validate property line before passing it to revealLine (#188)
Co-authored-by: AIzadi <aizadi@amnafzar.ir>
2021-02-27 17:28:55 +04:00
Joel Hassan
ac1d2e9cd6
typo fix (#195) 2021-02-26 18:44:14 +04:00
Suren Atoyan
701ac7dd93 update package version to 4.0.10 v4.0.10 2021-02-16 18:09:59 +04:00
Ardeshir81
09cf20f66f
use revealLine for line update (#186)
Co-authored-by: AIzadi <aizadi@amnafzar.ir>
2021-02-16 18:05:24 +04:00
Suren Atoyan
3bdbb84b36 update package version to 4.0.9 v4.0.9 2021-01-29 15:57:07 +04:00
Suren Atoyan
ebf12b4541 save and restore current model view state, if keepCurrentModel is true 2021-01-29 15:56:00 +04:00
Suren Atoyan
8c69c59d13 update package version to 4.0.8 v4.0.8 2021-01-29 14:36:40 +04:00
Suren Atoyan
e599c2b03f add 'keepCurrentModel' property to the Editor component 2021-01-29 14:35:01 +04:00
Suren Atoyan
d19dedef5f highlight word README 2021-01-26 14:04:11 +04:00
Suren Atoyan
259029ab98 Merge branch 'master' of https://github.com/suren-atoyan/monaco-react 2021-01-26 14:01:35 +04:00
Suren Atoyan
5766bc4fd6 add old version README link 2021-01-26 14:00:49 +04:00
Limboer
d5990db3de
fix: fix v4 changes doc typo (#172) 2021-01-25 18:38:27 +04:00
Suren Atoyan
3bb305b9a7 update package version to 4.0.7 2021-01-21 04:09:38 +04:00
Suren Atoyan
66eaee13af fire onValidate unconditionally, always, with the current model markers 2021-01-21 04:08:08 +04:00
Suren Atoyan
558bc6bbd7 define themes directly 2021-01-19 20:45:07 +04:00
Suren Atoyan
9bc461a4c2 update demo (use v4) 2021-01-19 20:22:45 +04:00
Suren Atoyan
243218f02f update package version to 4.0.6 2021-01-19 20:15:35 +04:00
Suren Atoyan
5cbe9a4f9b remove and from 2021-01-19 20:14:50 +04:00
Suren Atoyan
9196d68842 add notes about multi-model related props 2021-01-19 18:02:42 +04:00
Suren Atoyan
ced60d4e35 clean up vite config file 2021-01-19 02:28:15 +04:00
Suren Atoyan
896609fc45 revert playground 2021-01-19 02:26:03 +04:00
Suren Atoyan
9ee83c8407 update package version to 4.0.5 v4.0.5 2021-01-19 01:09:30 +04:00
Suren Atoyan
2f0cb3699e remove from 2021-01-19 01:08:57 +04:00
Suren Atoyan
dc7425ab5f check if exists in utility function 2021-01-19 01:07:03 +04:00
Suren Atoyan
4e8f38b15c make all strings with double quotes 2021-01-19 00:00:49 +04:00
Suren Atoyan
830cd3a8fd resolve untracked files issue to fix .gitignore 2021-01-18 21:01:28 +04:00
Suren Atoyan
f9e7155633 add playground in npm/git-ignore 2021-01-18 20:56:06 +04:00
Suren Atoyan
a9ae73b500 revert playground 2021-01-18 20:54:24 +04:00
Suren Atoyan
c43f29aff7 Merge branch 'master' of https://github.com/suren-atoyan/monaco-react 2021-01-18 19:40:52 +04:00
Suren Atoyan
b6c526df46 add notes for multi-model editor 2021-01-18 19:40:38 +04:00
Suren Atoyan
a8a287bdca
break lines in news 2021-01-18 18:57:48 +04:00
Suren Atoyan
94a3ea5cc1 update props | demo for multi-model editor 2021-01-18 18:56:51 +04:00
Suren Atoyan
31be683e21 update package version to 4.0.4 v4.0.4 2021-01-18 18:35:24 +04:00
Suren Atoyan
7653470b10 update husky precommit hook to remove lib folder 2021-01-18 18:34:06 +04:00
Suren Atoyan
e09a524657 Merge branch 'master' of https://github.com/suren-atoyan/monaco-react 2021-01-18 18:32:23 +04:00
Suren Atoyan
954f920c7c update package version to 4.0.3 2021-01-18 18:30:13 +04:00
Suren Atoyan
e6dbaa57a2 add saveViewState and defaultLanguage for multi-model support 2021-01-18 18:27:47 +04:00