@canner/slate-icon-underline

1.5.0 • Public • Published

@canner/slate-icon-underline

npm version

Icon

import Underline from "@canner/slate-icon-underline";

Props

  • type: Mark type name. Default: UNDERLINE

Plugin

import { UnderlinePlugin } from "@canner/slate-icon-underline";

// this will add render method for this mark, and also support hot key for underline.
const plugins = [UnderlinePlugin(options)];

Hot key

CMD+u

Options

  • type: Mark type name. Default: UNDERLINE
  • tagName: Rendered tagName in this plugin. Default <u/>

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @canner/slate-icon-underline

    Weekly Downloads

    34

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    204 kB

    Total Files

    20

    Last publish

    Collaborators

    • wwwy3y3
    • cannerbot