reactjs-tiptap-editor
Version:
A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React
15 lines (14 loc) • 476 B
TypeScript
import { Extension } from '@tiptap/core';
export interface TableCellBackgroundOptions {
HTMLAttributes: Record<string, any>;
types?: any;
}
declare module '@tiptap/core' {
interface Commands<ReturnType> {
tableCellBackground: {
setTableCellBackground: (color: string) => ReturnType;
unsetTableCellBackground: () => ReturnType;
};
}
}
export declare const TableCellBackground: Extension<TableCellBackgroundOptions, any>;