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

@tiptap/core

Package Overview
Dependencies
Maintainers
5
Versions
343
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/core - npm Package Compare versions

Comparing version 2.5.0-beta.6 to 2.5.0-pre.8

16

dist/packages/core/src/Extension.d.ts

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

* This method will add options to this extension
* @see https://tiptap.dev/guide/custom-extensions#settings
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#settings
* @example

@@ -52,3 +52,3 @@ * addOptions() {

* The default storage this extension can save data to.
* @see https://tiptap.dev/guide/custom-extensions#storage
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#storage
* @example

@@ -67,3 +67,3 @@ * defaultStorage: {

* This function adds globalAttributes to specific nodes.
* @see https://tiptap.dev/guide/custom-extensions#global-attributes
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#global-attributes
* @example

@@ -101,3 +101,3 @@ * addGlobalAttributes() {

* This function adds commands to the editor
* @see https://tiptap.dev/guide/custom-extensions#keyboard-shortcuts
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#commands
* @example

@@ -119,3 +119,3 @@ * addCommands() {

* This function registers keyboard shortcuts.
* @see https://tiptap.dev/guide/custom-extensions#keyboard-shortcuts
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#keyboard-shortcuts
* @example

@@ -139,3 +139,3 @@ * addKeyboardShortcuts() {

* This function adds input rules to the editor.
* @see https://tiptap.dev/guide/custom-extensions#input-rules
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#input-rules
* @example

@@ -160,3 +160,3 @@ * addInputRules() {

* This function adds paste rules to the editor.
* @see https://tiptap.dev/guide/custom-extensions#paste-rules
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#paste-rules
* @example

@@ -181,3 +181,3 @@ * addPasteRules() {

* This function adds Prosemirror plugins to the editor
* @see https://tiptap.dev/guide/custom-extensions#prosemirror-plugins
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#prosemirror-plugins
* @example

@@ -184,0 +184,0 @@ * addProseMirrorPlugins() {

@@ -43,2 +43,7 @@ import { Mark as ProseMirrorMark, Node as ProseMirrorNode, NodeType, ParseOptions } from '@tiptap/pm/model';

};
beforeTransaction: {
editor: Editor;
transaction: Transaction;
nextState: EditorState;
};
transaction: {

@@ -45,0 +50,0 @@ editor: Editor;

{
"name": "@tiptap/core",
"description": "headless rich text editor",
"version": "2.5.0-beta.6",
"version": "2.5.0-pre.8",
"homepage": "https://tiptap.dev",

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

"devDependencies": {
"@tiptap/pm": "^2.5.0-beta.6"
"@tiptap/pm": "^2.5.0-pre.8"
},
"peerDependencies": {
"@tiptap/pm": "^2.0.0"
"@tiptap/pm": "^2.5.0-pre.8"
},

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

@@ -409,2 +409,7 @@ import {

this.emit('beforeTransaction', {
editor: this,
transaction,
nextState: state,
})
this.view.updateState(state)

@@ -411,0 +416,0 @@ this.emit('transaction', {

@@ -54,3 +54,3 @@ import { Plugin, Transaction } from '@tiptap/pm/state'

* This method will add options to this extension
* @see https://tiptap.dev/guide/custom-extensions#settings
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#settings
* @example

@@ -70,3 +70,3 @@ * addOptions() {

* The default storage this extension can save data to.
* @see https://tiptap.dev/guide/custom-extensions#storage
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#storage
* @example

@@ -86,3 +86,3 @@ * defaultStorage: {

* This function adds globalAttributes to specific nodes.
* @see https://tiptap.dev/guide/custom-extensions#global-attributes
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#global-attributes
* @example

@@ -121,3 +121,3 @@ * addGlobalAttributes() {

* This function adds commands to the editor
* @see https://tiptap.dev/guide/custom-extensions#keyboard-shortcuts
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#commands
* @example

@@ -140,3 +140,3 @@ * addCommands() {

* This function registers keyboard shortcuts.
* @see https://tiptap.dev/guide/custom-extensions#keyboard-shortcuts
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#keyboard-shortcuts
* @example

@@ -161,3 +161,3 @@ * addKeyboardShortcuts() {

* This function adds input rules to the editor.
* @see https://tiptap.dev/guide/custom-extensions#input-rules
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#input-rules
* @example

@@ -183,3 +183,3 @@ * addInputRules() {

* This function adds paste rules to the editor.
* @see https://tiptap.dev/guide/custom-extensions#paste-rules
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#paste-rules
* @example

@@ -205,3 +205,3 @@ * addPasteRules() {

* This function adds Prosemirror plugins to the editor
* @see https://tiptap.dev/guide/custom-extensions#prosemirror-plugins
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#prosemirror-plugins
* @example

@@ -208,0 +208,0 @@ * addProseMirrorPlugins() {

@@ -53,2 +53,3 @@ import {

selectionUpdate: { editor: Editor; transaction: Transaction }
beforeTransaction: { editor: Editor; transaction: Transaction, nextState: EditorState }
transaction: { editor: Editor; transaction: Transaction }

@@ -55,0 +56,0 @@ focus: { editor: Editor; event: FocusEvent; transaction: Transaction }

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 too big to display

Sorry, the diff of this file is not supported yet

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

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