Socket
Socket
Sign inDemoInstall

@tiptap/extension-gapcursor

Package Overview
Dependencies
Maintainers
4
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-gapcursor - npm Package Compare versions

Comparing version 2.3.2 to 2.4.0

6

dist/index.js
import { Extension, callOrReturn, getExtensionField } from '@tiptap/core';
import { gapCursor } from '@tiptap/pm/gapcursor';
/**
* This extension allows you to add a gap cursor to your editor.
* A gap cursor is a cursor that appears when you click on a place
* where no content is present, for example inbetween nodes.
* @see https://tiptap.dev/api/extensions/gapcursor
*/
const Gapcursor = Extension.create({

@@ -5,0 +11,0 @@ name: 'gapCursor',

@@ -7,2 +7,8 @@ (function (global, factory) {

/**
* This extension allows you to add a gap cursor to your editor.
* A gap cursor is a cursor that appears when you click on a place
* where no content is present, for example inbetween nodes.
* @see https://tiptap.dev/api/extensions/gapcursor
*/
const Gapcursor = core.Extension.create({

@@ -9,0 +15,0 @@ name: 'gapCursor',

9

dist/packages/extension-gapcursor/src/gapcursor.d.ts

@@ -5,3 +5,4 @@ import { Extension, ParentConfig } from '@tiptap/core';

/**
* Allow gap cursor
* A function to determine whether the gap cursor is allowed at the current position. Must return `true` or `false`.
* @default null
*/

@@ -16,2 +17,8 @@ allowGapCursor?: boolean | null | ((this: {

}
/**
* This extension allows you to add a gap cursor to your editor.
* A gap cursor is a cursor that appears when you click on a place
* where no content is present, for example inbetween nodes.
* @see https://tiptap.dev/api/extensions/gapcursor
*/
export declare const Gapcursor: Extension<any, any>;

6

package.json
{
"name": "@tiptap/extension-gapcursor",
"description": "gapcursor extension for tiptap",
"version": "2.3.2",
"version": "2.4.0",
"homepage": "https://tiptap.dev",

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

"devDependencies": {
"@tiptap/core": "^2.3.2",
"@tiptap/pm": "^2.3.2"
"@tiptap/core": "^2.4.0",
"@tiptap/pm": "^2.4.0"
},

@@ -36,0 +36,0 @@ "peerDependencies": {

@@ -12,3 +12,4 @@ import {

/**
* Allow gap cursor
* A function to determine whether the gap cursor is allowed at the current position. Must return `true` or `false`.
* @default null
*/

@@ -27,2 +28,8 @@ allowGapCursor?:

/**
* This extension allows you to add a gap cursor to your editor.
* A gap cursor is a cursor that appears when you click on a place
* where no content is present, for example inbetween nodes.
* @see https://tiptap.dev/api/extensions/gapcursor
*/
export const Gapcursor = Extension.create({

@@ -29,0 +36,0 @@ name: 'gapCursor',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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