UNPKG

medium-proeditor

Version:

A powerful & customizable Medium-style rich text editor

26 lines 673 B
import type { Command } from 'prosemirror-state'; import { Feature } from '../../Feature'; declare module '../../types' { interface Commands { toggleBold: Command; } } /** * Matches bold text via `**` as input. */ export declare const starInputRegex: RegExp; /** * Matches bold text via `**` while pasting. */ export declare const starPasteRegex: RegExp; /** * Matches bold text via `__` as input. */ export declare const underscoreInputRegex: RegExp; /** * Matches bold text via `__` while pasting. */ export declare const underscorePasteRegex: RegExp; declare const Bold: Feature<any, any>; export default Bold; //# sourceMappingURL=index.d.ts.map