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

@tiptap/extension-text-style

Package Overview
Dependencies
Maintainers
5
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-text-style - npm Package Compare versions

Comparing version 2.5.9 to 2.6.0

1

dist/index.js

@@ -10,2 +10,3 @@ import { Mark, mergeAttributes, getMarkAttributes } from '@tiptap/core';

name: 'textStyle',
priority: 101,
addOptions() {

@@ -12,0 +13,0 @@ return {

@@ -14,2 +14,3 @@ (function (global, factory) {

name: 'textStyle',
priority: 101,
addOptions() {

@@ -16,0 +17,0 @@ return {

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/extension-text-style",
"description": "text style extension for tiptap",
"version": "2.5.9",
"version": "2.6.0",
"homepage": "https://tiptap.dev",

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

"devDependencies": {
"@tiptap/core": "^2.5.9"
"@tiptap/core": "^2.6.0"
},
"peerDependencies": {
"@tiptap/core": "^2.5.9"
"@tiptap/core": "^2.6.0"
},

@@ -38,0 +38,0 @@ "repository": {

@@ -36,2 +36,4 @@ import {

priority: 101,
addOptions() {

@@ -38,0 +40,0 @@ return {

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