@artibox/slate-soft-break

<div align="center"> <img src="https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png" height="200" /> </div>

Usage no npm install needed!

<script type="module">
  import artiboxSlateSoftBreak from 'https://cdn.skypack.dev/@artibox/slate-soft-break';
</script>

README

@artibox/slate-soft-break

Slate sort break.

npm package npm downloads

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;

API