@monaco-editor/react
Advanced tools
Comparing version 0.0.1 to 0.0.2
### Versions | ||
## 0.0.2 | ||
###### *June 22, 2019* | ||
- Make text-align of editors independant from outside | ||
## 0.0.1 | ||
@@ -4,0 +9,0 @@ ###### *June 21, 2019* |
@@ -10,3 +10,4 @@ "use strict"; | ||
display: 'flex', | ||
position: 'relative' | ||
position: 'relative', | ||
textAlign: 'initial' | ||
}, | ||
@@ -13,0 +14,0 @@ fullWidth: { |
@@ -10,3 +10,4 @@ "use strict"; | ||
display: 'flex', | ||
position: 'relative' | ||
position: 'relative', | ||
textAlign: 'initial' | ||
}, | ||
@@ -13,0 +14,0 @@ fullWidth: { |
{ | ||
"name": "@monaco-editor/react", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Monaco Editor for React", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -11,5 +11,5 @@ # monaco-react | ||
There also exist solutions for integration with React; e.g [this one](https://github.com/react-monaco-editor/react-monaco-editor) and [this one](https://wangchujiang.com/react-monacoeditor/). But they need some custom webpack configuration to make Monaco fully work, which is not the "best" solution for such kind of things like create-react-app - [CRA](https://facebook.github.io/create-react-app/). | ||
There also exist solutions for integration with React; e.g [this one](https://github.com/react-monaco-editor/react-monaco-editor) and [this one](https://github.com/jaywcjlove/react-monacoeditor). But they need some custom webpack configuration to make Monaco fully work, which is not the "best" solution for such kind of things like create-react-app - [CRA](https://facebook.github.io/create-react-app/). | ||
With this solution, you don't need any kind of webpack configuration files and it works great both with React apps created by CRA or created by something else. | ||
With this solution, you don't need any kind of webpack configuration files and it works great with React apps created by CRA or created by something else. | ||
@@ -70,3 +70,3 @@ ## Installation | ||
The second argument of `editorDidMount` is the instance of the editor. So, you can use it to get the full control of the editor if you need it. | ||
The second argument of `editorDidMount` is the instance of the editor. So, you can use it to get the full control on the editor if you need it. | ||
@@ -73,0 +73,0 @@ ## Props |
424313
1153