@vericus/slate-kit-basic-text-formatting
v0.2.28
Published
Plugin that provides `expected` functionality on `strike-through, underlined, bold, italicised` text on slate
Downloads
114
Readme
@Vericus / Basic Text Formatting
Plugins that provides
expected
functionality onstrike-through, underlined, bold, italicised
text on slate
Documentation
Slate plugin that provides expected
functionality on strike-through, underlined, bold, italicised
text such as keyboard shortcuts, helpers that can be used to trigger changes on toolbars, and optional renderer using @vericus/slate-kit-basic-text-formatting-renderer
this plugin is configurable through options on the keybindings and whether the renderer for strike-through, underlined, bold, italicised
are being provided externally or not
{
keyBindings: [
{ hotkeys: "mod+b", changeName: "toggleBold" },
{ hotkeys: "mod+i", changeName: "toggleItalic" },
{ hotkeys: "mod+u", changeName: "toggleUnderline" }
],
externalRenderer: false
}