1.0.6 • Published 4 years ago

material-ui-editor v1.0.6

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago

Material UI Editor

JavaScript Style Guide

Example

Example

Installation

npm install material-ui-editor

Usage

import Editor from 'material-ui-editor'

// ...

render() {
  return (
    <div>
      //...
      <Editor content={"<h1>Lorem Ipsum</h1>"}
              onChange={(event)=>{}}/>
    </div>
  )
}

Material UI Image Properties

NameTypeDefaultDescription
contentstring''HTML or a text string as an input
onChange*funconChange handler of the Editor.
editorStyleobject{ minHeight: 300, maxHeight: 350, overflowY: 'scroll', outline: 'none' }Override the editorStyle style.

* required property

License

The files included in this repository are licensed under the MIT license.

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago