@artibox/slate-soft-break
v1.2.0
Published
<div align="center"> <img src="https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png" height="200" /> </div>
Downloads
18
Readme
Slate sort break.
Installation
npm install @artibox/slate-soft-break --save
or
$ yarn add @artibox/slate-soft-break
Usage
Editor
import React from 'react';
import { createArtiboxEditor } from '@artibox/slate-editor';
import { SoftBreak } from '@artibox/slate-soft-break';
const plugins = [SoftBreak.forPlugin()];
const Editor = createArtiboxEditor({
plugins
});
export default Editor;