@tiptap/core
Version:
headless rich text editor
14 lines (13 loc) • 413 B
TypeScript
import { RawCommands } from '../types.js';
declare module '@tiptap/core' {
interface Commands<ReturnType> {
unsetAllMarks: {
/**
* Remove all marks in the current selection.
* @example editor.commands.unsetAllMarks()
*/
unsetAllMarks: () => ReturnType;
};
}
}
export declare const unsetAllMarks: RawCommands['unsetAllMarks'];