tiptapify
Version:
Tiptap3 editor with Vuetify3 menu implementation
25 lines (22 loc) • 469 B
text/typescript
export enum ToolbarSectionsEnum {
actions = 'actions',
alignment = 'alignment',
extra = 'extra',
formatExtra = 'formatExtra',
format = 'format',
list = 'list',
media = 'media',
misc = 'misc',
style = 'style',
}
export type sectionComponent = {
name: string,
component: any,
}
export type section = {
section: string,
group: boolean,
components: sectionComponent[],
extensions?: Array<any>,
}
export type toolbarSections = Array<section>