New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tiptap/vue-2

Package Overview
Dependencies
Maintainers
2
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/vue-2 - npm Package Compare versions

Comparing version 2.0.0-beta.69 to 2.0.0-beta.70

dist/packages/core/src/helpers/defaultBlockAt.d.ts

4

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

@@ -8,3 +8,5 @@ import { RawCommands, FocusPosition } from '../types';

*/
focus: (position?: FocusPosition) => ReturnType;
focus: (position?: FocusPosition, options?: {
scrollIntoView?: boolean;
}) => ReturnType;
};

@@ -11,0 +13,0 @@ }

@@ -22,2 +22,3 @@ import * as extensions from './extensions';

export { default as mergeAttributes } from './utilities/mergeAttributes';
export { default as defaultBlockAt } from './helpers/defaultBlockAt';
export { default as getExtensionField } from './helpers/getExtensionField';

@@ -24,0 +25,0 @@ export { default as findChildren } from './helpers/findChildren';

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

declare const style = ".ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: \"liga\" 0; /* the above doesn't seem to work in Edge */\n}\n\n.ProseMirror [contenteditable=\"false\"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable=\"false\"] [contenteditable=\"true\"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 1px !important;\n height: 1px !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n}\n\n.ProseMirror-gapcursor:after {\n content: \"\";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}";
declare const style = ".ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: \"liga\" 0; /* the above doesn't seem to work in Edge */\n}\n\n.ProseMirror [contenteditable=\"false\"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable=\"false\"] [contenteditable=\"true\"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 1px !important;\n height: 1px !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: \"\";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}";
export default style;

@@ -50,2 +50,3 @@ import { Node as ProseMirrorNode, Mark as ProseMirrorMark, ParseOptions } from 'prosemirror-model';

}
export declare type EnableRules = (AnyExtension | string)[] | boolean;
export interface EditorOptions {

@@ -60,4 +61,4 @@ element: Element;

parseOptions: ParseOptions;
enableInputRules: boolean;
enablePasteRules: boolean;
enableInputRules: EnableRules;
enablePasteRules: EnableRules;
enableCoreExtensions: boolean;

@@ -183,3 +184,3 @@ onBeforeCreate: (props: EditorEvents['beforeCreate']) => void;

};
export declare type FocusPosition = 'start' | 'end' | number | boolean | null;
export declare type FocusPosition = 'start' | 'end' | 'all' | number | boolean | null;
export declare type Range = {

@@ -186,0 +187,0 @@ from: number;

import { Extension } from '@tiptap/core';
import '@tiptap/extension-text-style';
declare type ColorOptions = {
export declare type ColorOptions = {
types: string[];

@@ -21,2 +21,1 @@ };

export declare const Color: Extension<ColorOptions, any>;
export {};

@@ -12,3 +12,4 @@ import { NodeViewRenderer, NodeViewRendererOptions } from '@tiptap/core';

}) => boolean) | null;
as?: string;
}
export declare function ReactNodeViewRenderer(component: any, options?: Partial<ReactNodeViewRendererOptions>): NodeViewRenderer;

@@ -8,2 +8,3 @@ import React from 'react';

as?: string;
className?: string;
}

@@ -22,3 +23,3 @@ declare type ComponentType<R> = React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<{

ref: R | null;
constructor(component: ComponentType<R>, { editor, props, as }: ReactRendererOptions);
constructor(component: ComponentType<R>, { editor, props, as, className, }: ReactRendererOptions);
render(): void;

@@ -25,0 +26,0 @@ updateProps(props?: Record<string, any>): void;

{
"name": "@tiptap/vue-2",
"description": "Vue components for tiptap",
"version": "2.0.0-beta.69",
"version": "2.0.0-beta.70",
"homepage": "https://tiptap.dev",

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

"dependencies": {
"@tiptap/extension-bubble-menu": "^2.0.0-beta.50",
"@tiptap/extension-floating-menu": "^2.0.0-beta.45",
"prosemirror-view": "^1.23.1"
"@tiptap/extension-bubble-menu": "^2.0.0-beta.51",
"@tiptap/extension-floating-menu": "^2.0.0-beta.46",
"prosemirror-view": "^1.23.3"
},

@@ -41,3 +41,3 @@ "repository": {

},
"gitHead": "abe932384ce5fe14d3c0acb984978bbf2cf1f594"
"gitHead": "6360278660d9c1e256975699d911a55dfa943d5d"
}
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