A set of react components for Ace / Brace
DEMO of React Ace Split Editor
npm install react-ace
importReactfrom'react';import{render}from'react-dom';importbracefrom'brace';importAceEditorfrom'react-ace';import'brace/mode/java';import'brace/theme/github';functiononChange(newValue){console.log('change',newValue);}// Render editorrender(<AceEditormode="java"theme="github"onChange={onChange}name="UNIQUE_ID_OF_DIV"editorProps={{$blockScrolling: true}}/>,document.getElementById('example'));Checkout the example directory for a working example using webpack.
How to add modes, themes and keyboard handlers
Support us with a monthly donation and help us continue our activities. [Become a backer]
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]