@edifice.io/tiptap-extensions
Version:
Edifice Rich Text Editor Extensions
17 lines (16 loc) • 418 B
TypeScript
import { Mark } from '@tiptap/core';
declare module '@tiptap/core' {
interface Commands<ReturnType> {
abbr: {
/**
* Set an abbr mark
*/
setAbbr: (src: string) => ReturnType;
/**
* Toggle an abbr mark
*/
toggleAbbr: (src: string) => ReturnType;
};
}
}
export declare const Abbr: Mark<any, any>;