Nevermore: a Poet's Mantra

    slate-trailing-block

    0.5.0 • Public • Published

    slate-trailing-block

    NPM version Linux Build Status

    Slate plugin to ensure a trailing block.

    Install

    npm install slate-trailing-block
    

    Simple Usage

    import TrailingBlock from 'slate-trailing-block'
     
    const plugins = [
      TrailingBlock({ type: 'paragraph' })
    ]

    Arguments

    This plugin accepts options to redefine the following block types:

    • [type: String] — type for the trailing block

    Utilities

    slate-trailing-block exports utilities and changes:

    changes.focusAtEnd

    plugin.changes.focusAtEnd(change: Change) => Change

    Focus at the end of the last block.

    Keywords

    Install

    npm i slate-trailing-block

    DownloadsWeekly Downloads

    275

    Version

    0.5.0

    License

    Apache-2.0

    Unpacked Size

    106 kB

    Total Files

    24

    Last publish

    Collaborators

    • hughrawlinson
    • gitbook-bot
    • samypesse
    • jpreynat
    • aymeric-gb
    • emmerich