tiptop-editor
Version:
Notion-like editor built with Tiptap v3 and HeroUI
27 lines (26 loc) • 583 B
TypeScript
import { Editor, Range } from '@tiptap/react';
export declare const colorSections: {
key: string;
buttonType: string;
title: string;
colors: {
hsl: string;
color: string;
bgColor: string;
tooltipText: string;
}[];
}[];
export declare const commandGroups: {
key: string;
title: string;
commands: {
key: string;
title: string;
icon: string;
description: string;
command: ({ editor, range }: {
editor: Editor;
range: Range;
}) => void;
}[];
}[];