@canner/slate-icon-bold

1.5.0 • Public • Published

@canner/slate-icon-bold

npm version

Icon

import Bold from "@canner/slate-icon-bold";

Props

  • type: Mark type name. Default: BOLD

Plugin

import { BoldPlugin } from "@canner/slate-icon-bold";

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

Hot key

CMD+b

Options

  • type: Mark type name. Default: BOLD
  • tagName: Rendered tagName in this plugin. Default <strong/>

/@canner/slate-icon-bold/

    Package Sidebar

    Install

    npm i @canner/slate-icon-bold

    Weekly Downloads

    42

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    67.6 kB

    Total Files

    20

    Last publish

    Collaborators

    • wwwy3y3
    • cannerbot