diff --git a/src/components/ActionButton.vue b/src/components/ActionButton.vue index e39ed2b..38ed6bb 100644 --- a/src/components/ActionButton.vue +++ b/src/components/ActionButton.vue @@ -6,6 +6,7 @@ import { Tooltip, TooltipContent, TooltipTrigger, TooltipProvider } from '@/comp import type { TooltipContentProps } from 'radix-vue' import { icons, Icon } from '@/components/icons' import type { Editor } from '@tiptap/core' +import type { HTMLAttributes } from 'vue' interface Props { icon?: keyof typeof icons @@ -20,6 +21,7 @@ interface Props { action?: ButtonViewReturnComponentProps['action'] isActive?: ButtonViewReturnComponentProps['isActive'] editor?: Editor + class?: HTMLAttributes['class'] } withDefaults(defineProps(), { icon: undefined, diff --git a/src/components/ActionDropdownButton.vue b/src/components/ActionDropdownButton.vue index 9932b30..229d354 100644 --- a/src/components/ActionDropdownButton.vue +++ b/src/components/ActionDropdownButton.vue @@ -30,7 +30,14 @@ const props = withDefaults(defineProps(), {