@tiptap/extension-hard-break
Advanced tools
Comparing version 2.5.0-beta.6 to 2.5.0-pre.8
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165266
4075
1