@vericus/slate-kit-align
TypeScript icon, indicating that this package has built-in type declarations

0.2.22 • Public • Published

@Vericus / Slate Kit Align

Plugins to provide a way to align blocks on slate

Documentation

Slate plugin that provides a way to align blocks for slate-kit. It accepts a few configurable options for what kind of blocks(floating/text) can be aligned and the dataField that it use to store the alignment position.

sample options:

{
  floatBlocks: [],
  textBlocks: [
    "paragraph",
    "heading-one",
    "heading-two",
    "heading-three",
    "heading-four"
  ],
  dataField: "textAlign"
}

License

MIT © slate-kit

Package Sidebar

Install

npm i @vericus/slate-kit-align

Weekly Downloads

0

Version

0.2.22

License

MIT

Unpacked Size

138 kB

Total Files

58

Last publish

Collaborators

  • ashutoshrishi
  • irwan_subastian