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

@tiptap/extension-dropcursor

Package Overview
Dependencies
Maintainers
2
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-dropcursor - npm Package Compare versions

Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5

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

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [2.0.0-alpha.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-dropcursor@2.0.0-alpha.4...@tiptap/extension-dropcursor@2.0.0-alpha.5) (2020-12-18)
**Note:** Version bump only for package @tiptap/extension-dropcursor
# [2.0.0-alpha.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-dropcursor@2.0.0-alpha.3...@tiptap/extension-dropcursor@2.0.0-alpha.4) (2020-12-02)

@@ -8,0 +16,0 @@

14

dist/packages/extension-dropcursor/src/index.d.ts

@@ -1,13 +0,3 @@

import { Extension } from '@tiptap/core';
export interface DropcursorOptions {
color: string | null;
width: number | null;
class: string | null;
}
declare const Dropcursor: Extension<DropcursorOptions, unknown>;
import { Dropcursor } from './dropcursor';
export * from './dropcursor';
export default Dropcursor;
declare module '@tiptap/core' {
interface AllExtensions {
Dropcursor: typeof Dropcursor;
}
}
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@tiptap/core');

@@ -20,3 +22,4 @@ var prosemirrorDropcursor = require('prosemirror-dropcursor');

module.exports = Dropcursor;
exports.Dropcursor = Dropcursor;
exports.default = Dropcursor;
//# sourceMappingURL=tiptap-extension-dropcursor.cjs.js.map

@@ -19,2 +19,3 @@ import { Extension } from '@tiptap/core';

export default Dropcursor;
export { Dropcursor };
//# sourceMappingURL=tiptap-extension-dropcursor.esm.js.map
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@tiptap/core'), require('prosemirror-dropcursor')) :
typeof define === 'function' && define.amd ? define(['@tiptap/core', 'prosemirror-dropcursor'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global['@tiptap/extension-dropcursor'] = factory(global.core, global.prosemirrorDropcursor));
}(this, (function (core, prosemirrorDropcursor) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core'), require('prosemirror-dropcursor')) :
typeof define === 'function' && define.amd ? define(['exports', '@tiptap/core', 'prosemirror-dropcursor'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['@tiptap/extension-dropcursor'] = {}, global.core, global.prosemirrorDropcursor));
}(this, (function (exports, core, prosemirrorDropcursor) { 'use strict';

@@ -21,5 +21,8 @@ const Dropcursor = core.Extension.create({

return Dropcursor;
exports.Dropcursor = Dropcursor;
exports.default = Dropcursor;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=tiptap-extension-dropcursor.umd.js.map
{
"name": "@tiptap/extension-dropcursor",
"description": "dropcursor extension for tiptap",
"version": "2.0.0-alpha.4",
"version": "2.0.0-alpha.5",
"homepage": "https://tiptap.dev",

@@ -31,3 +31,3 @@ "keywords": [

},
"gitHead": "a884cb81de8783d0097741c1ddb97a82ea88ae0e"
"gitHead": "0371cb0a5d803a44d93532aa34419ec7ffffdc24"
}

@@ -1,32 +0,5 @@

import { Extension } from '@tiptap/core'
import { dropCursor } from 'prosemirror-dropcursor'
import { Dropcursor } from './dropcursor'
export interface DropcursorOptions {
color: string | null,
width: number | null,
class: string | null,
}
export * from './dropcursor'
const Dropcursor = Extension.create({
name: 'dropCursor',
defaultOptions: <DropcursorOptions>{
color: 'black',
width: 1,
class: null,
},
addProseMirrorPlugins() {
return [
dropCursor(this.options),
]
},
})
export default Dropcursor
declare module '@tiptap/core' {
interface AllExtensions {
Dropcursor: typeof Dropcursor,
}
}

Sorry, the diff of this file is too big to display

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