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

@tiptap/vue-3

Package Overview
Dependencies
Maintainers
0
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/vue-3 - npm Package Compare versions

Comparing version 2.5.9 to 2.6.0

7

dist/index.js

@@ -481,3 +481,8 @@ import { BubbleMenuPlugin } from '@tiptap/extension-bubble-menu';

}
return new VueNodeView(component, props, options);
// check for class-component and normalize if neccessary
const normalizedComponent = typeof component === 'function' && '__vccOpts' in component
// eslint-disable-next-line no-underscore-dangle
? component.__vccOpts
: component;
return new VueNodeView(normalizedComponent, props, options);
};

@@ -484,0 +489,0 @@ }

@@ -481,3 +481,8 @@ (function (global, factory) {

}
return new VueNodeView(component, props, options);
// check for class-component and normalize if neccessary
const normalizedComponent = typeof component === 'function' && '__vccOpts' in component
// eslint-disable-next-line no-underscore-dangle
? component.__vccOpts
: component;
return new VueNodeView(normalizedComponent, props, options);
};

@@ -484,0 +489,0 @@ }

3

dist/packages/core/src/commands/setMeta.d.ts

@@ -0,1 +1,2 @@

import type { Plugin, PluginKey } from '@tiptap/pm/state';
import { RawCommands } from '../types.js';

@@ -11,3 +12,3 @@ declare module '@tiptap/core' {

*/
setMeta: (key: string, value: any) => ReturnType;
setMeta: (key: string | Plugin | PluginKey, value: any) => ReturnType;
};

@@ -14,0 +15,0 @@ }

@@ -9,5 +9,6 @@ import { NodeType } from '@tiptap/pm/model';

* @param typeOrName The type or name of the node.
* @param overrideAttrs The attributes to ensure on the new node.
* @example editor.commands.splitListItem('listItem')
*/
splitListItem: (typeOrName: string | NodeType) => ReturnType;
splitListItem: (typeOrName: string | NodeType, overrideAttrs?: Record<string, any>) => ReturnType;
};

@@ -14,0 +15,0 @@ }

@@ -19,2 +19,6 @@ import { MarkType, NodeType, Schema } from '@tiptap/pm/model';

isFocused: boolean;
/**
* The editor is considered initialized after the `create` event has been emitted.
*/
isInitialized: boolean;
extensionStorage: Record<string, any>;

@@ -21,0 +25,0 @@ options: EditorOptions;

@@ -20,6 +20,6 @@ import { Plugin, Transaction } from '@tiptap/pm/state';

/**
* The priority of your extension. The higher, the later it will be called
* The priority of your extension. The higher, the earlier it will be called
* and will take precedence over other extensions with a lower priority.
* @default 1000
* @example 1001
* @default 100
* @example 101
*/

@@ -290,2 +290,3 @@ priority?: number;

}, props: {
editor: Editor;
transaction: Transaction;

@@ -292,0 +293,0 @@ }) => void) | null;

@@ -20,6 +20,6 @@ import { DOMOutputSpec, Mark as ProseMirrorMark, MarkSpec, MarkType } from '@tiptap/pm/model';

/**
* The priority of your extension. The higher, the later it will be called
* The priority of your extension. The higher, the earlier it will be called
* and will take precedence over other extensions with a lower priority.
* @default 1000
* @example 1001
* @default 100
* @example 101
*/

@@ -300,2 +300,3 @@ priority?: number;

}, props: {
editor: Editor;
transaction: Transaction;

@@ -302,0 +303,0 @@ }) => void) | null;

@@ -20,6 +20,6 @@ import { DOMOutputSpec, Node as ProseMirrorNode, NodeSpec, NodeType } from '@tiptap/pm/model';

/**
* The priority of your extension. The higher, the later it will be called
* The priority of your extension. The higher, the earlier it will be called
* and will take precedence over other extensions with a lower priority.
* @default 1000
* @example 1001
* @default 100
* @example 101
*/

@@ -301,2 +301,3 @@ priority?: number;

}, props: {
editor: Editor;
transaction: Transaction;

@@ -303,0 +304,0 @@ }) => void) | null;

import { NodeType } from '@tiptap/pm/model';
import { PasteRule, PasteRuleFinder } from '../PasteRule.js';
import { ExtendedRegExpMatchArray } from '../types.js';
import { ExtendedRegExpMatchArray, JSONContent } from '../types.js';
/**

@@ -13,2 +13,3 @@ * Build an paste rule that adds a node when the

getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray, event: ClipboardEvent) => Record<string, any>) | false | null;
getContent?: JSONContent[] | ((attrs: Record<string, any>) => JSONContent[]) | false | null;
}): PasteRule;
{
"name": "@tiptap/vue-3",
"description": "Vue components for tiptap",
"version": "2.5.9",
"version": "2.6.0",
"homepage": "https://tiptap.dev",

@@ -32,13 +32,13 @@ "keywords": [

"dependencies": {
"@tiptap/extension-bubble-menu": "^2.5.9",
"@tiptap/extension-floating-menu": "^2.5.9"
"@tiptap/extension-bubble-menu": "^2.6.0",
"@tiptap/extension-floating-menu": "^2.6.0"
},
"devDependencies": {
"@tiptap/core": "^2.5.9",
"@tiptap/pm": "^2.5.9",
"@tiptap/core": "^2.6.0",
"@tiptap/pm": "^2.6.0",
"vue": "^3.0.0"
},
"peerDependencies": {
"@tiptap/core": "^2.5.9",
"@tiptap/pm": "^2.5.9",
"@tiptap/core": "^2.6.0",
"@tiptap/pm": "^2.6.0",
"vue": "^3.0.0"

@@ -45,0 +45,0 @@ },

@@ -224,5 +224,10 @@ import {

}
// check for class-component and normalize if neccessary
const normalizedComponent = typeof component === 'function' && '__vccOpts' in component
// eslint-disable-next-line no-underscore-dangle
? component.__vccOpts as Component
: component
return new VueNodeView(component, props, options) as unknown as ProseMirrorNodeView
return new VueNodeView(normalizedComponent, props, options) as unknown as ProseMirrorNodeView
}
}

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