New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@monaco-editor/react

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@monaco-editor/react - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

5

CHANGELOG.md
### 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*

3

lib/DiffEditor/styles.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc