@tiptap/extension-code
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/extension-code", | ||
"description": "code extension for tiptap", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"homepage": "https://tiptap.dev", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@tiptap/core": "^2.7.1" | ||
"@tiptap/core": "^2.7.2" | ||
}, | ||
@@ -35,0 +35,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
163404
4157