
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
material-ui-markdown-editor
Advanced tools
This is a React.js Markdown editor component based on material-ui, built with CodeMirror.
It is alpha version yet, any feedback is welcome!
Live demo can be found here. To build the examples locally, run:
npm install
npm start
Then open localhost:3000 in your browser.
To test application, run:
npm test
Via npm:
npm i material-ui-markdown-editor
NOTE: Codemirror styles and their overrirde should be included in the project keeping global selectors. In the following example, styles are included with the help of css modules. Style's are not isolated by scope due to the reason, that rules generated by CodeMirror are global. Might be solved in the feature.
import React from 'react'
import ReactDOM from 'react-dom'
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'
import injectTapEventPlugin from 'react-tap-event-plugin'
import MarkdownEditor from 'material-ui-markdown-editor'
import 'codemirror/lib/codemirror.css' // import codemirror styles
import 'material-ui-markdown-editor/dist/MarkdownEditor/codemirrorOverride.css' // import override styles
injectTapEventPlugin()
const Example = () => (
<MuiThemeProvider>
<MarkdownEditor
title="Foo"
code="# Fancy markdown editor!"
/>
</MuiThemeProvider>
)
ReactDOM.render(
<Example />,
document.getElementById('root')
)
PS: This README.md was written with this editor :new_moon_with_face:
FAQs
React.js Markdown editor component based on material-ui
We found that material-ui-markdown-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.