@tiptap/extension-text 2.3.2 → 2.5.0-beta.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 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',
@@ -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":";;;;;;AAEa,MAAA,IAAI,GAAGA,SAAI,CAAC,MAAM,CAAC;AAC9B,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,KAAK,EAAE,QAAQ;AAChB,CAAA;;;;;"}
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
@@ -1,5 +1,9 @@
1
1
  import { Node } from '@tiptap/core';
2
2
 
3
+ /**
4
+ * This extension allows you to create text nodes.
5
+ * @see https://www.tiptap.dev/api/nodes/text
6
+ */
3
7
  const Text = Node.create({
4
8
  name: 'text',
5
9
  group: 'inline',
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":";;AAEa,MAAA,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;AAC9B,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,KAAK,EAAE,QAAQ;AAChB,CAAA;;;;"}
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',
@@ -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":";;;;;;AAEa,QAAA,IAAI,GAAGA,SAAI,CAAC,MAAM,CAAC;EAC9B,IAAA,IAAI,EAAE,MAAM;EACZ,IAAA,KAAK,EAAE,QAAQ;EAChB,CAAA;;;;;;;;;;;"}
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;;;;;;;;;;;"}
@@ -1,2 +1,6 @@
1
1
  import { Node } from '@tiptap/core';
2
+ /**
3
+ * This extension allows you to create text nodes.
4
+ * @see https://www.tiptap.dev/api/nodes/text
5
+ */
2
6
  export declare const Text: Node<any, any>;
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.3.2",
4
+ "version": "2.5.0-beta.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.3.2"
32
+ "@tiptap/core": "^2.5.0-beta.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@tiptap/core": "^2.0.0"
package/src/text.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import { Node } from '@tiptap/core'
2
2
 
3
+ /**
4
+ * This extension allows you to create text nodes.
5
+ * @see https://www.tiptap.dev/api/nodes/text
6
+ */
3
7
  export const Text = Node.create({
4
8
  name: 'text',
5
9
  group: 'inline',