@tiptap/extension-text 2.3.1 → 2.4.0
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 +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/packages/extension-text/src/text.d.ts +4 -0
- package/package.json +2 -2
- package/src/text.ts +4 -0
package/dist/index.cjs
CHANGED
|
@@ -4,6 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var core = require('@tiptap/core');
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* This extension allows you to create text nodes.
|
|
9
|
+
* @see https://www.tiptap.dev/api/nodes/text
|
|
10
|
+
*/
|
|
7
11
|
const Text = core.Node.create({
|
|
8
12
|
name: 'text',
|
|
9
13
|
group: 'inline',
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +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":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/text.ts"],"sourcesContent":["import { Node } from '@tiptap/core'\n\n/**\n * This extension allows you to create text nodes.\n * @see https://www.tiptap.dev/api/nodes/text\n */\nexport const Text = Node.create({\n name: 'text',\n group: 'inline',\n})\n"],"names":["Node"],"mappings":";;;;;;AAEA;;;AAGG;AACU,MAAA,IAAI,GAAGA,SAAI,CAAC,MAAM,CAAC;AAC9B,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,KAAK,EAAE,QAAQ;AAChB,CAAA;;;;;"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +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":";;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/text.ts"],"sourcesContent":["import { Node } from '@tiptap/core'\n\n/**\n * This extension allows you to create text nodes.\n * @see https://www.tiptap.dev/api/nodes/text\n */\nexport const Text = Node.create({\n name: 'text',\n group: 'inline',\n})\n"],"names":[],"mappings":";;AAEA;;;AAGG;AACU,MAAA,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;AAC9B,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,KAAK,EAAE,QAAQ;AAChB,CAAA;;;;"}
|
package/dist/index.umd.js
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@tiptap/extension-text"] = {}, global.core));
|
|
5
5
|
})(this, (function (exports, core) { 'use strict';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* This extension allows you to create text nodes.
|
|
9
|
+
* @see https://www.tiptap.dev/api/nodes/text
|
|
10
|
+
*/
|
|
7
11
|
const Text = core.Node.create({
|
|
8
12
|
name: 'text',
|
|
9
13
|
group: 'inline',
|
package/dist/index.umd.js.map
CHANGED
|
@@ -1 +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":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../src/text.ts"],"sourcesContent":["import { Node } from '@tiptap/core'\n\n/**\n * This extension allows you to create text nodes.\n * @see https://www.tiptap.dev/api/nodes/text\n */\nexport const Text = Node.create({\n name: 'text',\n group: 'inline',\n})\n"],"names":["Node"],"mappings":";;;;;;EAEA;;;EAGG;AACU,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.
|
|
4
|
+
"version": "2.4.0",
|
|
5
5
|
"homepage": "https://tiptap.dev",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@tiptap/core": "^2.
|
|
32
|
+
"@tiptap/core": "^2.4.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@tiptap/core": "^2.0.0"
|