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

@tiptap/extension-hard-break

Package Overview
Dependencies
Maintainers
5
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-hard-break - 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/extension-hard-break",
"description": "hard break extension for tiptap",
"version": "2.5.0-beta.6",
"version": "2.5.0-pre.8",
"homepage": "https://tiptap.dev",

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

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

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

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