Files
HRM-System/node_modules/@tiptap/extension-floating-menu/dist/floating-menu.d.ts
2026-04-13 08:19:53 +08:00

16 lines
584 B
TypeScript

import { Extension } from '@tiptap/core';
import { FloatingMenuPluginProps } from './floating-menu-plugin.js';
export type FloatingMenuOptions = Omit<FloatingMenuPluginProps, 'editor' | 'element'> & {
/**
* The DOM element that contains your menu.
* @type {HTMLElement}
* @default null
*/
element: HTMLElement | null;
};
/**
* This extension allows you to create a floating menu.
* @see https://tiptap.dev/api/extensions/floating-menu
*/
export declare const FloatingMenu: Extension<FloatingMenuOptions, any>;
//# sourceMappingURL=floating-menu.d.ts.map