@tiptap/suggestion
Advanced tools
Comparing version 2.7.1 to 2.7.2
@@ -69,4 +69,5 @@ import { MarkType, NodeType, Schema } from '@tiptap/pm/model'; | ||
* @param handlePlugins Control how to merge the plugin into the existing plugins. | ||
* @returns The new editor state | ||
*/ | ||
registerPlugin(plugin: Plugin, handlePlugins?: (newPlugin: Plugin, plugins: Plugin[]) => Plugin[]): void; | ||
registerPlugin(plugin: Plugin, handlePlugins?: (newPlugin: Plugin, plugins: Plugin[]) => Plugin[]): EditorState; | ||
/** | ||
@@ -76,4 +77,5 @@ * Unregister a ProseMirror plugin. | ||
* @param nameOrPluginKey The plugins name | ||
* @returns The new editor state or undefined if the editor is destroyed | ||
*/ | ||
unregisterPlugin(nameOrPluginKey: string | PluginKey): void; | ||
unregisterPlugin(nameOrPluginKey: string | PluginKey): EditorState | undefined; | ||
/** | ||
@@ -80,0 +82,0 @@ * Creates an extension manager. |
{ | ||
"name": "@tiptap/suggestion", | ||
"description": "suggestion plugin for tiptap", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"homepage": "https://tiptap.dev", | ||
@@ -32,4 +32,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"@tiptap/core": "^2.7.1", | ||
"@tiptap/pm": "^2.7.1" | ||
"@tiptap/core": "^2.7.2", | ||
"@tiptap/pm": "^2.7.2" | ||
}, | ||
@@ -36,0 +36,0 @@ "peerDependencies": { |
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
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
266078
5087
237
4
6
0
63