@tiptap/vue-2
Advanced tools
Comparing version 2.5.0-beta.2 to 2.5.0-beta.3
@@ -0,0 +0,0 @@ import { BubbleMenuPlugin } from '@tiptap/extension-bubble-menu'; |
@@ -7,6 +7,2 @@ (function (global, factory) { | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var Vue__default = /*#__PURE__*/_interopDefaultLegacy(Vue); | ||
const BubbleMenu = { | ||
@@ -219,3 +215,3 @@ name: 'BubbleMenu', | ||
constructor(component, props) { | ||
const Component = (typeof component === 'function') ? component : Vue__default["default"].extend(component); | ||
const Component = (typeof component === 'function') ? component : Vue.extend(component); | ||
this.ref = new Component(props).$mount(); | ||
@@ -233,3 +229,3 @@ } | ||
// Fix: `VueNodeViewRenderer` change vue Constructor `config.silent` not working | ||
const currentVueConstructor = (_c = (_b = (_a = this.ref.$props.editor) === null || _a === void 0 ? void 0 : _a.contentComponent) === null || _b === void 0 ? void 0 : _b.$options._base) !== null && _c !== void 0 ? _c : Vue__default["default"]; // eslint-disable-line | ||
const currentVueConstructor = (_c = (_b = (_a = this.ref.$props.editor) === null || _a === void 0 ? void 0 : _a.contentComponent) === null || _b === void 0 ? void 0 : _b.$options._base) !== null && _c !== void 0 ? _c : Vue; // eslint-disable-line | ||
const originalSilent = currentVueConstructor.config.silent; | ||
@@ -273,7 +269,7 @@ currentVueConstructor.config.silent = true; | ||
const onDragStart = this.onDragStart.bind(this); | ||
this.decorationClasses = Vue__default["default"].observable({ | ||
this.decorationClasses = Vue.observable({ | ||
value: this.getDecorationClasses(), | ||
}); | ||
// @ts-ignore | ||
const vue = (_b = (_a = this.editor.contentComponent) === null || _a === void 0 ? void 0 : _a.$options._base) !== null && _b !== void 0 ? _b : Vue__default["default"]; // eslint-disable-line | ||
const vue = (_b = (_a = this.editor.contentComponent) === null || _a === void 0 ? void 0 : _a.$options._base) !== null && _b !== void 0 ? _b : Vue; // eslint-disable-line | ||
const Component = vue.extend(this.component).extend({ | ||
@@ -380,3 +376,3 @@ props: Object.keys(props), | ||
Object.keys(core).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
@@ -387,5 +383,3 @@ get: function () { return core[k]; } | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
})); | ||
//# sourceMappingURL=index.umd.js.map |
@@ -0,0 +0,0 @@ import { BubbleMenuPluginProps } from '@tiptap/extension-bubble-menu'; |
@@ -0,0 +0,0 @@ import { Editor as CoreEditor } from '@tiptap/core'; |
@@ -0,0 +0,0 @@ import Vue, { Component } from 'vue'; |
@@ -0,0 +0,0 @@ import { FloatingMenuPluginProps } from '@tiptap/extension-floating-menu'; |
@@ -0,0 +0,0 @@ export * from './BubbleMenu.js'; |
@@ -0,0 +0,0 @@ import Vue, { Component } from 'vue'; |
@@ -0,0 +0,0 @@ import Vue, { Component } from 'vue'; |
@@ -0,0 +0,0 @@ import { DecorationWithType, NodeViewRenderer, NodeViewRendererOptions } from '@tiptap/core'; |
@@ -0,0 +0,0 @@ import Vue from 'vue'; |
{ | ||
"name": "@tiptap/vue-2", | ||
"description": "Vue components for tiptap", | ||
"version": "2.5.0-beta.2", | ||
"version": "2.5.0-beta.3", | ||
"homepage": "https://tiptap.dev", | ||
@@ -32,9 +32,9 @@ "keywords": [ | ||
"dependencies": { | ||
"@tiptap/extension-bubble-menu": "^2.5.0-beta.2", | ||
"@tiptap/extension-floating-menu": "^2.5.0-beta.2", | ||
"@tiptap/extension-bubble-menu": "^2.5.0-beta.3", | ||
"@tiptap/extension-floating-menu": "^2.5.0-beta.3", | ||
"vue-ts-types": "^1.6.0" | ||
}, | ||
"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", | ||
"vue": "^2.6.0" | ||
@@ -41,0 +41,0 @@ }, |
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
268896
193
5535
1