medium-proeditor
Version:
A powerful & customizable Medium-style rich text editor
26 lines • 689 B
TypeScript
import type { Command } from 'prosemirror-state';
import { Feature } from '../../Feature';
declare module '../../types' {
interface Commands {
toggleItalic: Command;
}
}
/**
* Matches an italic to a *italic* on input.
*/
export declare const starInputRegex: RegExp;
/**
* Matches an italic to a *italic* on paste.
*/
export declare const starPasteRegex: RegExp;
/**
* Matches an italic to a _italic_ on input.
*/
export declare const underscoreInputRegex: RegExp;
/**
* Matches an italic to a _italic_ on paste.
*/
export declare const underscorePasteRegex: RegExp;
declare const Italic: Feature<any, any>;
export default Italic;
//# sourceMappingURL=index.d.ts.map