@tiptap/extension-dropcursor 2.0.0-beta.2 → 2.0.0-beta.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var core = require('@tiptap/core');
6
- var prosemirrorDropcursor = require('prosemirror-dropcursor');
7
-
8
- const Dropcursor = core.Extension.create({
9
- name: 'dropCursor',
10
- defaultOptions: {
11
- color: 'black',
12
- width: 1,
13
- class: null,
14
- },
15
- addProseMirrorPlugins() {
16
- return [
17
- prosemirrorDropcursor.dropCursor(this.options),
18
- ];
19
- },
20
- });
21
-
22
- exports.Dropcursor = Dropcursor;
23
- exports.default = Dropcursor;
24
- //# sourceMappingURL=tiptap-extension-dropcursor.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tiptap-extension-dropcursor.cjs.js","sources":["../src/dropcursor.ts"],"sourcesContent":["import { Extension } from '@tiptap/core'\nimport { dropCursor } from 'prosemirror-dropcursor'\n\nexport interface DropcursorOptions {\n color: string | null,\n width: number | null,\n class: string | null,\n}\n\nexport const Dropcursor = Extension.create<DropcursorOptions>({\n name: 'dropCursor',\n\n defaultOptions: {\n color: 'black',\n width: 1,\n class: null,\n },\n\n addProseMirrorPlugins() {\n return [\n dropCursor(this.options),\n ]\n },\n})\n"],"names":["Extension","dropCursor"],"mappings":";;;;;;;MASa,UAAU,GAAGA,cAAS,CAAC,MAAM,CAAoB;IAC5D,IAAI,EAAE,YAAY;IAElB,cAAc,EAAE;QACd,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,IAAI;KACZ;IAED,qBAAqB;QACnB,OAAO;YACLC,gCAAU,CAAC,IAAI,CAAC,OAAO,CAAC;SACzB,CAAA;KACF;CACF;;;;;"}
@@ -1,20 +0,0 @@
1
- import { Extension } from '@tiptap/core';
2
- import { dropCursor } from 'prosemirror-dropcursor';
3
-
4
- const Dropcursor = Extension.create({
5
- name: 'dropCursor',
6
- defaultOptions: {
7
- color: 'black',
8
- width: 1,
9
- class: null,
10
- },
11
- addProseMirrorPlugins() {
12
- return [
13
- dropCursor(this.options),
14
- ];
15
- },
16
- });
17
-
18
- export default Dropcursor;
19
- export { Dropcursor };
20
- //# sourceMappingURL=tiptap-extension-dropcursor.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tiptap-extension-dropcursor.esm.js","sources":["../src/dropcursor.ts"],"sourcesContent":["import { Extension } from '@tiptap/core'\nimport { dropCursor } from 'prosemirror-dropcursor'\n\nexport interface DropcursorOptions {\n color: string | null,\n width: number | null,\n class: string | null,\n}\n\nexport const Dropcursor = Extension.create<DropcursorOptions>({\n name: 'dropCursor',\n\n defaultOptions: {\n color: 'black',\n width: 1,\n class: null,\n },\n\n addProseMirrorPlugins() {\n return [\n dropCursor(this.options),\n ]\n },\n})\n"],"names":[],"mappings":";;;MASa,UAAU,GAAG,SAAS,CAAC,MAAM,CAAoB;IAC5D,IAAI,EAAE,YAAY;IAElB,cAAc,EAAE;QACd,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,IAAI;KACZ;IAED,qBAAqB;QACnB,OAAO;YACL,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC;SACzB,CAAA;KACF;CACF;;;;;"}
@@ -1,27 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core'), require('prosemirror-dropcursor')) :
3
- typeof define === 'function' && define.amd ? define(['exports', '@tiptap/core', 'prosemirror-dropcursor'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['@tiptap/extension-dropcursor'] = {}, global.core, global.prosemirrorDropcursor));
5
- }(this, (function (exports, core, prosemirrorDropcursor) { 'use strict';
6
-
7
- const Dropcursor = core.Extension.create({
8
- name: 'dropCursor',
9
- defaultOptions: {
10
- color: 'black',
11
- width: 1,
12
- class: null,
13
- },
14
- addProseMirrorPlugins() {
15
- return [
16
- prosemirrorDropcursor.dropCursor(this.options),
17
- ];
18
- },
19
- });
20
-
21
- exports.Dropcursor = Dropcursor;
22
- exports.default = Dropcursor;
23
-
24
- Object.defineProperty(exports, '__esModule', { value: true });
25
-
26
- })));
27
- //# sourceMappingURL=tiptap-extension-dropcursor.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tiptap-extension-dropcursor.umd.js","sources":["../src/dropcursor.ts"],"sourcesContent":["import { Extension } from '@tiptap/core'\nimport { dropCursor } from 'prosemirror-dropcursor'\n\nexport interface DropcursorOptions {\n color: string | null,\n width: number | null,\n class: string | null,\n}\n\nexport const Dropcursor = Extension.create<DropcursorOptions>({\n name: 'dropCursor',\n\n defaultOptions: {\n color: 'black',\n width: 1,\n class: null,\n },\n\n addProseMirrorPlugins() {\n return [\n dropCursor(this.options),\n ]\n },\n})\n"],"names":["Extension","dropCursor"],"mappings":";;;;;;QASa,UAAU,GAAGA,cAAS,CAAC,MAAM,CAAoB;MAC5D,IAAI,EAAE,YAAY;MAElB,cAAc,EAAE;UACd,KAAK,EAAE,OAAO;UACd,KAAK,EAAE,CAAC;UACR,KAAK,EAAE,IAAI;OACZ;MAED,qBAAqB;UACnB,OAAO;cACLC,gCAAU,CAAC,IAAI,CAAC,OAAO,CAAC;WACzB,CAAA;OACF;GACF;;;;;;;;;;;"}