extension-shortcuts
package @remirror/extension-shortcuts
class ShortcutsExtension
Replace characters with keyboard shortcuts
Inspired by Tiptap's extension-typography
Signature:
export declare class ShortcutsExtension extends PlainExtension<ShortcutsOptions>
Extends: PlainExtension<ShortcutsOptions>
(Some inherited members may not be shown because they are not represented in the documentation.)
property name
Signature:
get name(): "shortcuts";
method createInputRules
Manage input rules for keyboard shortcuts
Signature:
createInputRules(): InputRule[];
Returns:
InputRule[]
interface ShortcutsOptions
Signature:
export interface ShortcutsOptions