UNPKG

tiptapify

Version:

Tiptap3 editor with Vuetify3 menu implementation

28 lines (24 loc) 580 B
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, props?: { [key: string]: any } } export type section = { section: string, group: boolean, components: sectionComponent[], extensions?: Array<any>, } export type toolbarSections = Array<section> export type itemsPropType = { [key: string]: Array<string> } | Array<string>