@tiptap/extension-bubble-menu
Advanced tools
Comparing version 2.5.0-beta.2 to 2.5.0-beta.3
@@ -0,0 +0,0 @@ import { isTextSelection, isNodeSelection, posToDOMRect, Extension } from '@tiptap/core'; |
@@ -7,6 +7,2 @@ (function (global, factory) { | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var tippy__default = /*#__PURE__*/_interopDefaultLegacy(tippy); | ||
class BubbleMenuView { | ||
@@ -134,3 +130,3 @@ constructor({ editor, element, view, tippyOptions = {}, updateDelay = 250, shouldShow, }) { | ||
} | ||
this.tippy = tippy__default["default"](editorElement, { | ||
this.tippy = tippy(editorElement, { | ||
duration: 0, | ||
@@ -223,3 +219,3 @@ getReferenceClientRect: null, | ||
exports.BubbleMenuView = BubbleMenuView; | ||
exports["default"] = BubbleMenu; | ||
exports.default = BubbleMenu; | ||
@@ -226,0 +222,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -47,3 +47,3 @@ import { Editor } from '@tiptap/core'; | ||
} | ||
export declare type BubbleMenuViewProps = BubbleMenuPluginProps & { | ||
export type BubbleMenuViewProps = BubbleMenuPluginProps & { | ||
view: EditorView; | ||
@@ -50,0 +50,0 @@ }; |
import { Extension } from '@tiptap/core'; | ||
import { BubbleMenuPluginProps } from './bubble-menu-plugin.js'; | ||
export declare type BubbleMenuOptions = Omit<BubbleMenuPluginProps, 'editor' | 'element'> & { | ||
export type BubbleMenuOptions = Omit<BubbleMenuPluginProps, 'editor' | 'element'> & { | ||
/** | ||
@@ -5,0 +5,0 @@ * The DOM element that contains your menu. |
@@ -0,0 +0,0 @@ import { BubbleMenu } from './bubble-menu.js'; |
{ | ||
"name": "@tiptap/extension-bubble-menu", | ||
"description": "bubble-menu extension for tiptap", | ||
"version": "2.5.0-beta.2", | ||
"version": "2.5.0-beta.3", | ||
"homepage": "https://tiptap.dev", | ||
@@ -41,4 +41,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"@tiptap/core": "^2.5.0-beta.2", | ||
"@tiptap/pm": "^2.5.0-beta.2" | ||
"@tiptap/core": "^2.5.0-beta.3", | ||
"@tiptap/pm": "^2.5.0-beta.3" | ||
}, | ||
@@ -45,0 +45,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
233339
175
4759
1