0.0.17 • Published 6 years ago

react-code-editor v0.0.17

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

react-code-editor

Feature

  1. Code Highlight
  2. Cmd/Ctrl + D (Duplicate Line or Selection)
  3. Cmd/Ctrl + / (Append/Remove Inline Comment)

Options

static defaultProps = {
    prefixCode: '',
    prefixCodeClassName: 'prefix-code',
    // Web Worker for fast
    workerUrl: null,
    contentEditable: true,
    // whether inject preset style?
    mountStyle: true,
    // the language of code
    language: '',
    tabSize: 4,
    code: '',
    className: '',
    style: {},
    // true: TabKey performance is switching active item.
    ignoreTabKey: false,
    onChange: code => {},
    // ...rest props of dom
};

Todo

  • worker.js ?
0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago