SlateJS list node plugin.
SlateJS list plugin.


```
yarn add @slate-editor/list-plugin
`js
import React from 'react'
import { SlateEditor, SlateToolbar, SlateContent } from 'slate-editor'
import { ListPlugin, ListButtonBar } from '@slate-editor/list-plugin'
const plugins = [
ListPlugin()
]
const SlateRichTextEditor = () => (
)
export default SlateRichTextEditor
`
| OS | Action | Shortcut |
|--------------------------|----------------|---------------------------------------------------|
| ![Apple Logo][apple] | Unordered List | ^ + shift + l |
| ![Apple Logo][apple] | Ordered List | ^ + shift + n |
| ![Windows Logo][windows] | Unordered List | alt + shift + l |
| ![Windows Logo][windows] | Ordered List | alt + shift + n |
| Name | Description |
|----------------------|---------------------------------------------------------------------------|
| ListNode | Component that holds the html that will wrap the content with list style. |
| ListKeyboardShortcut | Keyboard shortcut file that manipulates onKeyDown` event inside SlateJS. |
| ListUtils | Generic file that holds the util common functions. |
| ListButtonBar | Component that holds all action buttons to handle list behaviours. |
| UnorderedListButton | Component that render ordered list button to handle its behaviour. |
| OrderedListButton | Component that render unordered list button to handle its behaviour. |
- Make keyboard shortcut accepts customization
[apple]: https://cdn2.iconfinder.com/data/icons/designer-skills/128/apple-ios-system-platform-os-mac-linux-48.png
[windows]: https://cdn2.iconfinder.com/data/icons/designer-skills/128/windows-48.png