1.2.10 • Published 6 years ago

@bmsterling/slate-icon-bold v1.2.10

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

@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/>