@tiptap/extension-text 2.0.0-beta.212 → 2.0.0-beta.214
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.
- package/dist/index.cjs +10 -9
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +7 -11
- package/dist/index.js.map +1 -0
- package/dist/index.umd.js +18 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/packages/extension-text/src/index.d.ts +3 -0
- package/dist/packages/extension-text/src/text.d.ts +2 -0
- package/package.json +7 -16
- package/dist/index.d.ts +0 -5
package/dist/index.cjs
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
var _core = require('@tiptap/core');
|
|
3
|
-
var Text = _core.Node.create({
|
|
4
|
-
name: "text",
|
|
5
|
-
group: "inline"
|
|
6
|
-
});
|
|
1
|
+
'use strict';
|
|
7
2
|
|
|
8
|
-
|
|
9
|
-
var src_default = Text;
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
10
4
|
|
|
5
|
+
var core = require('@tiptap/core');
|
|
11
6
|
|
|
7
|
+
const Text = core.Node.create({
|
|
8
|
+
name: 'text',
|
|
9
|
+
group: 'inline',
|
|
10
|
+
});
|
|
12
11
|
|
|
13
|
-
exports.Text = Text;
|
|
12
|
+
exports.Text = Text;
|
|
13
|
+
exports["default"] = Text;
|
|
14
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/text.ts"],"sourcesContent":["import { Node } from '@tiptap/core'\n\nexport const Text = Node.create({\n name: 'text',\n group: 'inline',\n})\n"],"names":["Node"],"mappings":";;;;;;AAEa,MAAA,IAAI,GAAGA,SAAI,CAAC,MAAM,CAAC;AAC9B,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,KAAK,EAAE,QAAQ;AAChB,CAAA;;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
|
|
3
|
+
const Text = Node.create({
|
|
4
|
+
name: 'text',
|
|
5
|
+
group: 'inline',
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
Text,
|
|
12
|
-
src_default as default
|
|
13
|
-
};
|
|
8
|
+
export { Text, Text as default };
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/text.ts"],"sourcesContent":["import { Node } from '@tiptap/core'\n\nexport const Text = Node.create({\n name: 'text',\n group: 'inline',\n})\n"],"names":[],"mappings":";;AAEa,MAAA,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;AAC9B,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,KAAK,EAAE,QAAQ;AAChB,CAAA;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@tiptap/core'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@tiptap/extension-text"] = {}, global.core));
|
|
5
|
+
})(this, (function (exports, core) { 'use strict';
|
|
6
|
+
|
|
7
|
+
const Text = core.Node.create({
|
|
8
|
+
name: 'text',
|
|
9
|
+
group: 'inline',
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
exports.Text = Text;
|
|
13
|
+
exports["default"] = Text;
|
|
14
|
+
|
|
15
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
16
|
+
|
|
17
|
+
}));
|
|
18
|
+
//# sourceMappingURL=index.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../src/text.ts"],"sourcesContent":["import { Node } from '@tiptap/core'\n\nexport const Text = Node.create({\n name: 'text',\n group: 'inline',\n})\n"],"names":["Node"],"mappings":";;;;;;AAEa,QAAA,IAAI,GAAGA,SAAI,CAAC,MAAM,CAAC;EAC9B,IAAA,IAAI,EAAE,MAAM;EACZ,IAAA,KAAK,EAAE,QAAQ;EAChB,CAAA;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/extension-text",
|
|
3
3
|
"description": "text extension for tiptap",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.214",
|
|
5
5
|
"homepage": "https://tiptap.dev",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -15,14 +15,15 @@
|
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
|
-
"types": "./dist/index.d.ts",
|
|
18
|
+
"types": "./dist/packages/extension-text/src/index.d.ts",
|
|
19
19
|
"import": "./dist/index.js",
|
|
20
20
|
"require": "./dist/index.cjs"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"main": "dist/index.cjs",
|
|
24
24
|
"module": "dist/index.js",
|
|
25
|
-
"
|
|
25
|
+
"umd": "dist/index.umd.js",
|
|
26
|
+
"types": "dist/packages/extension-text/src/index.d.ts",
|
|
26
27
|
"files": [
|
|
27
28
|
"src",
|
|
28
29
|
"dist"
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
"@tiptap/core": "^2.0.0-beta.209"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
|
-
"@tiptap/core": "^2.0.0-beta.
|
|
35
|
+
"@tiptap/core": "^2.0.0-beta.214"
|
|
35
36
|
},
|
|
36
37
|
"repository": {
|
|
37
38
|
"type": "git",
|
|
@@ -39,17 +40,7 @@
|
|
|
39
40
|
"directory": "packages/extension-text"
|
|
40
41
|
},
|
|
41
42
|
"scripts": {
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"tsup": {
|
|
45
|
-
"entry": [
|
|
46
|
-
"src/index.ts"
|
|
47
|
-
],
|
|
48
|
-
"dts": true,
|
|
49
|
-
"splitting": true,
|
|
50
|
-
"format": [
|
|
51
|
-
"esm",
|
|
52
|
-
"cjs"
|
|
53
|
-
]
|
|
43
|
+
"clean": "rm -rf dist",
|
|
44
|
+
"build": "npm run clean && rollup -c"
|
|
54
45
|
}
|
|
55
46
|
}
|