Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tiptap/extension-bubble-menu

Package Overview
Dependencies
Maintainers
2
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-bubble-menu - npm Package Compare versions

Comparing version 2.0.0-beta.4 to 2.0.0-beta.5

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-bubble-menu@2.0.0-beta.4...@tiptap/extension-bubble-menu@2.0.0-beta.5) (2021-04-01)
**Note:** Version bump only for package @tiptap/extension-bubble-menu
# [2.0.0-beta.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-bubble-menu@2.0.0-beta.3...@tiptap/extension-bubble-menu@2.0.0-beta.4) (2021-04-01)

@@ -8,0 +16,0 @@

1

dist/packages/extension-bubble-menu/src/bubble-menu-plugin.d.ts

@@ -25,2 +25,3 @@ import { Editor } from '@tiptap/core';

focusHandler: () => void;
resizeHandler: () => void;
blurHandler: ({ event }: {

@@ -27,0 +28,0 @@ event: FocusEvent;

@@ -84,2 +84,7 @@ 'use strict';

};
this.resizeHandler = () => {
if (this.isActive) {
this.update(this.editor.view);
}
};
this.blurHandler = ({ event }) => {

@@ -104,2 +109,3 @@ var _a;

this.editor.on('blur', this.blurHandler);
this.editor.on('resize', this.resizeHandler);
this.render();

@@ -152,2 +158,3 @@ }

this.editor.off('blur', this.blurHandler);
this.editor.off('resize', this.resizeHandler);
}

@@ -154,0 +161,0 @@ }

@@ -80,2 +80,7 @@ import { Extension } from '@tiptap/core';

};
this.resizeHandler = () => {
if (this.isActive) {
this.update(this.editor.view);
}
};
this.blurHandler = ({ event }) => {

@@ -100,2 +105,3 @@ var _a;

this.editor.on('blur', this.blurHandler);
this.editor.on('resize', this.resizeHandler);
this.render();

@@ -148,2 +154,3 @@ }

this.editor.off('blur', this.blurHandler);
this.editor.off('resize', this.resizeHandler);
}

@@ -150,0 +157,0 @@ }

@@ -83,2 +83,7 @@ (function (global, factory) {

};
this.resizeHandler = () => {
if (this.isActive) {
this.update(this.editor.view);
}
};
this.blurHandler = ({ event }) => {

@@ -103,2 +108,3 @@ var _a;

this.editor.on('blur', this.blurHandler);
this.editor.on('resize', this.resizeHandler);
this.render();

@@ -151,2 +157,3 @@ }

this.editor.off('blur', this.blurHandler);
this.editor.off('resize', this.resizeHandler);
}

@@ -153,0 +160,0 @@ }

4

package.json
{
"name": "@tiptap/extension-bubble-menu",
"description": "bubble-menu extension for tiptap",
"version": "2.0.0-beta.4",
"version": "2.0.0-beta.5",
"homepage": "https://tiptap.dev",

@@ -31,3 +31,3 @@ "keywords": [

},
"gitHead": "95642d979c27742a3e7b6a28059939d09fd1fbc4"
"gitHead": "17726770d25b280f46da7608daf9f373afc3c73c"
}

@@ -48,2 +48,3 @@ import { Editor } from '@tiptap/core'

this.editor.on('blur', this.blurHandler)
this.editor.on('resize', this.resizeHandler)
this.render()

@@ -61,2 +62,8 @@ }

resizeHandler = () => {
if (this.isActive) {
this.update(this.editor.view)
}
}
blurHandler = ({ event }: { event: FocusEvent }) => {

@@ -142,2 +149,3 @@ if (this.preventHide) {

this.editor.off('blur', this.blurHandler)
this.editor.off('resize', this.resizeHandler)
}

@@ -144,0 +152,0 @@ }

Sorry, the diff of this file is too big to display

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc