An open API service indexing awesome lists of open source software.

https://github.com/afeiship/react-rte-ui

UI toolkit for react rte.
https://github.com/afeiship/react-rte-ui

draftjs editor react rich rte slate text theme ui

Last synced: 11 days ago
JSON representation

UI toolkit for react rte.

Awesome Lists containing this project

README

          

# react-rte-ui
> UI toolkit for react rte.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```shell
npm install -S @jswork/react-rte-ui
```

## properties
__GENERATE_DOCS__

## usage
1. import css
```scss
@import "~@jswork/react-rte-ui/dist/style.css";

// or use sass
@import "~@jswork/react-rte-ui/dist/style.scss";
@import "~@jswork/wsui-rte-icons";
@import "~balloon-css";

// customize your styles:
$react-rte-ui-options: ()
```
2. import js
```js
import ReactDemokit from '@jswork/react-demokit';
import React from 'react';
import ReactDOM from 'react-dom';
import { Toolbar, Button, ButtonGroup } from '@jswork/react-rte-ui';
import './assets/style.scss';

class App extends React.Component {
render() {
return (





















f(x)





















);
}
}

ReactDOM.render(, document.getElementById('app'));

```

## documentation
- https://afeiship.github.io/react-rte-ui/

## license
Code released under [the MIT license](https://github.com/afeiship/react-rte-ui/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/react-rte-ui
[version-url]: https://npmjs.org/package/@jswork/react-rte-ui

[license-image]: https://img.shields.io/npm/l/@jswork/react-rte-ui
[license-url]: https://github.com/afeiship/react-rte-ui/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/react-rte-ui
[size-url]: https://github.com/afeiship/react-rte-ui/blob/master/dist/react-rte-ui.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/react-rte-ui
[download-url]: https://www.npmjs.com/package/@jswork/react-rte-ui