Suren Atoyan
3d483d7694
add keepCurrentOriginalModel and keepCurrentModifiedModel props in props/DiffEditor
2021-04-19 20:13:13 +04:00
Suren Atoyan
a41c3e7853
add an example for getting the values of DiffEditor
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
Joel Hassan
ac1d2e9cd6
typo fix ( #195 )
2021-02-26 18:44:14 +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
5766bc4fd6
add old version README link
2021-01-26 14:00:49 +04:00
Suren Atoyan
66eaee13af
fire onValidate unconditionally, always, with the current model markers
2021-01-21 04:08:08 +04:00
Suren Atoyan
9196d68842
add notes about multi-model related props
2021-01-19 18:02:42 +04:00
Suren Atoyan
4e8f38b15c
make all strings with double quotes
2021-01-19 00:00:49 +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
e09a524657
Merge branch 'master' of https://github.com/suren-atoyan/monaco-react
2021-01-18 18:32:23 +04:00
Suren Atoyan
530d22bb19
add new section for multi-model editor
2021-01-18 18:22:38 +04:00
Suren Atoyan
7a913533d7
fix loader utility name
2021-01-18 15:52:17 +04:00
Suren Atoyan
a4b32c3276
remove redundant word
2021-01-18 00:19:02 +04:00
Suren Atoyan
144bf4e5be
update CDN example links
2021-01-17 20:15:11 +04:00
Suren Atoyan
cf9d215cd3
fix tabulation in a code snippet
2021-01-17 20:03:18 +04:00
Suren Atoyan
cc569eb5e1
v4 release
2021-01-17 19:49:36 +04:00
Suren Atoyan
e7d98cb181
v4 ( #163 )
...
* update dependency (@monaco-editor/loader) version to - v1.0.0
* create useMonaco hook
* export useMonaco from the entry file
* rename the main utility: monaco -> loader
* rename editorDidMount to onMount, add beforeMount
* add defaultModelPath/originalModelPath/modifiedModelPath props
* add defaultValue prop and use it during default model creation
* rename the utility name: monaco -> loader
* handle no-unused-expressions rule
* move 'prop-types' to dependencies
* remove prop
* remove ControlledEditor
* visually combine properties with the same type
* prerelease v4
* prerelease v4: release candidate 0
* fix types according to changed
* add onValidate prop: an event emitted when the length of the model markers of the current model isn't 0
* update package version to 4.0.0-rc.1
* rename monacoEditor to monaco in types
* add state-local as a dependency
* define state-local as a external library and set in UMD globals
* use state-local to store the backup of the model markers setter
* fix types in comments
* create draft version of v4 README file
* fix tabs in Documentation
* make title upper case
* add codesandbox likns
2021-01-17 18:56:18 +04:00
Suren Atoyan
1b91d20e37
create playground ( #160 )
...
* add playground app for monaco-react
* add .DS_Store file to npm/git ignore files
* fix rollup-plugin-terser named import
* use package 'concurrently' to concurrently run multiple scipts
* add development/playground section
* fix development/playground link
* adjust the playground coding styles
* set the first stable version of the playground
2021-01-12 15:05:30 +04:00
Suren Atoyan
bbf3fdbf11
fix DiffEditor prop type name
2021-01-08 13:19:23 +04:00
sunderls
5771fcbd07
Update index.d.ts ( #152 )
...
* Update index.d.ts
* Update README.md
2021-01-08 13:10:29 +04:00
Suren Atoyan
96f7a59fc1
inform about @monaco-editor/loader
2021-01-08 00:08:48 +04:00
Suren Atoyan
4e8b2cf151
use Rollup as a build system
2021-01-07 23:14:57 +04:00
Suren Atoyan
91d95a1bc1
fix broken links
2021-01-06 14:11:35 +04:00
Suren Atoyan
9f871f3618
Update README.md
2020-12-16 21:52:58 +04:00
Zachary Raineri
80507e243c
Grammar corrections ( #146 )
...
I just made some grammar corrections/verbiage updates to the first 3rd of the doc to help readability a bit
2020-12-16 21:51:19 +04:00
Suren Atoyan
51193342e7
fix the broken link for next.js dynamic import
2020-09-21 19:41:17 +04:00
Suren Atoyan
fb75b4a06a
add new section - "create your own editor"
2020-08-19 18:00:16 +04:00
Suren Atoyan
1660690d7e
keep example codes compatible with the library eslint rules
2020-08-19 15:57:33 +04:00
Suren Atoyan
3a4cf82106
add shields.io badges
2020-08-19 15:53:12 +04:00
Suren Atoyan
df8bc4ea3e
add helpful notes for electron and next.js users
2020-08-18 19:04:19 +04:00
Suren Atoyan
3c335b0689
add className and wrapperClassName props into the 'props' section of Editor and DiffEditor
2020-06-28 17:02:56 +04:00
Evelyn
6f0328a0c8
swap getModifiedEditorValue and getOriginalEditorValue in DiffEditorDidMount type definition and README
2020-03-31 17:34:29 -04:00
Suren Atoyan
2fb24f0d59
readme: fix typo
2020-03-31 15:37:12 +04:00
Suren Atoyan
39322db343
readme: redesign the config section according to the new structure
2020-03-31 15:35:10 +04:00
Suren Atoyan
f06e9d7a2c
diff editor: remove line prop as it's not used (and can't be used)
2020-03-16 02:14:11 +04:00
Suren Atoyan
4947a76d5b
Update README.md
2020-01-14 14:26:01 +04:00
Suren Atoyan
5c1091a0bd
update package version to 3.0.1
2019-12-26 15:00:55 +04:00
Matt McCorry
5c76e1b12e
Typos in readme
2019-11-15 09:04:19 +00:00
takashiidobe
d118ced0a7
fix typo in readme
2019-11-11 19:40:23 -06:00
Matt McCorry
4389ada70a
correct NPM image link
2019-11-09 08:55:55 +00:00
Suren Atoyan
e13bde874b
Update README.md
2019-09-13 11:58:08 +04:00
Suren Atoyan
2189b478d1
Update README.md
2019-08-16 21:28:46 +04:00
Suren Atoyan
1dc57720aa
add method for set custom config
2019-08-16 21:17:56 +04:00
Suren Atoyan
57b472ed2e
Update README.md
2019-07-26 16:50:47 +04:00
Suren Atoyan
015b272ceb
fix examples in ControlledComponent section
2019-07-26 16:44:00 +04:00
Suren Atoyan
a3bd0d3661
correct ControlledEditor usage examples in Docs
2019-07-26 16:39:42 +04:00
Suren Atoyan
d398d57d8d
Update README.md
2019-07-24 15:21:59 +04:00