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

@tiptap/extension-code

Package Overview
Dependencies
Maintainers
5
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-code - npm Package Compare versions

Comparing version 2.7.1 to 2.7.2

6

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

@@ -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": {

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