@tiptap/extension-text 2.0.0-beta.9 → 2.0.0-rc.2

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/README.md CHANGED
@@ -5,10 +5,10 @@
5
5
  [![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub)](https://github.com/sponsors/ueberdosis)
6
6
 
7
7
  ## Introduction
8
- tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as *New York Times*, *The Guardian* or *Atlassian*.
8
+ Tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as *New York Times*, *The Guardian* or *Atlassian*.
9
9
 
10
- ## Offical Documentation
11
- Documentation can be found on the [tiptap website](https://tiptap.dev).
10
+ ## Official Documentation
11
+ Documentation can be found on the [Tiptap website](https://tiptap.dev).
12
12
 
13
13
  ## License
14
- tiptap is open sourced software licensed under the [MIT license](https://github.com/ueberdosis/tiptap/blob/main/LICENSE.md).
14
+ Tiptap is open sourced software licensed under the [MIT license](https://github.com/ueberdosis/tiptap/blob/main/LICENSE.md).
@@ -10,5 +10,5 @@ const Text = core.Node.create({
10
10
  });
11
11
 
12
12
  exports.Text = Text;
13
- exports.default = Text;
14
- //# sourceMappingURL=tiptap-extension-text.cjs.js.map
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;;;;;"}
@@ -5,6 +5,5 @@ const Text = Node.create({
5
5
  group: 'inline',
6
6
  });
7
7
 
8
- export default Text;
9
- export { Text };
10
- //# sourceMappingURL=tiptap-extension-text.esm.js.map
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;;;;"}
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core')) :
3
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';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@tiptap/extension-text"] = {}, global.core));
5
+ })(this, (function (exports, core) { 'use strict';
6
6
 
7
7
  const Text = core.Node.create({
8
8
  name: 'text',
@@ -10,9 +10,9 @@
10
10
  });
11
11
 
12
12
  exports.Text = Text;
13
- exports.default = Text;
13
+ exports["default"] = Text;
14
14
 
15
15
  Object.defineProperty(exports, '__esModule', { value: true });
16
16
 
17
- })));
18
- //# sourceMappingURL=tiptap-extension-text.umd.js.map
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;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
1
  import { Node } from '@tiptap/core';
2
- export declare const Text: Node<unknown>;
2
+ 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.0.0-beta.9",
4
+ "version": "2.0.0-rc.2",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -12,23 +12,35 @@
12
12
  "type": "github",
13
13
  "url": "https://github.com/sponsors/ueberdosis"
14
14
  },
15
- "main": "dist/tiptap-extension-text.cjs.js",
16
- "umd": "dist/tiptap-extension-text.umd.js",
17
- "module": "dist/tiptap-extension-text.esm.js",
18
- "types": "dist/packages/extension-text/src/index.d.ts",
15
+ "type": "module",
19
16
  "exports": {
20
17
  ".": {
21
- "import": "./dist/tiptap-extension-text.esm.js",
22
- "require": "./dist/tiptap-extension-text.cjs.js",
23
- "default": "./dist/tiptap-extension-text.esm.js"
18
+ "types": "./dist/packages/extension-text/src/index.d.ts",
19
+ "import": "./dist/index.js",
20
+ "require": "./dist/index.cjs"
24
21
  }
25
22
  },
23
+ "main": "dist/index.cjs",
24
+ "module": "dist/index.js",
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"
29
30
  ],
30
31
  "peerDependencies": {
31
- "@tiptap/core": "^2.0.0-beta.1"
32
+ "@tiptap/core": "^2.0.0-rc.1"
33
+ },
34
+ "devDependencies": {
35
+ "@tiptap/core": "^2.0.0-rc.1"
36
+ },
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "https://github.com/ueberdosis/tiptap",
40
+ "directory": "packages/extension-text"
32
41
  },
33
- "gitHead": "c86e4119cd680505652e8352e9f39622ee26a999"
34
- }
42
+ "scripts": {
43
+ "clean": "rm -rf dist",
44
+ "build": "npm run clean && rollup -c"
45
+ }
46
+ }
package/CHANGELOG.md DELETED
@@ -1,185 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [2.0.0-beta.9](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-beta.8...@tiptap/extension-text@2.0.0-beta.9) (2021-05-06)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * revert adding type: module ([f8d6475](https://github.com/ueberdosis/tiptap/commit/f8d6475e2151faea6f96baecdd6bd75880d50d2c))
12
-
13
-
14
-
15
-
16
-
17
- # [2.0.0-beta.8](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-beta.7...@tiptap/extension-text@2.0.0-beta.8) (2021-05-06)
18
-
19
-
20
- ### Bug Fixes
21
-
22
- * add exports to package.json ([1277fa4](https://github.com/ueberdosis/tiptap/commit/1277fa47151e9c039508cdb219bdd0ffe647f4ee))
23
-
24
-
25
-
26
-
27
-
28
- # [2.0.0-beta.7](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-beta.6...@tiptap/extension-text@2.0.0-beta.7) (2021-05-06)
29
-
30
- **Note:** Version bump only for package @tiptap/extension-text
31
-
32
-
33
-
34
-
35
-
36
- # [2.0.0-beta.6](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-beta.5...@tiptap/extension-text@2.0.0-beta.6) (2021-05-05)
37
-
38
- **Note:** Version bump only for package @tiptap/extension-text
39
-
40
-
41
-
42
-
43
-
44
- # [2.0.0-beta.5](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-beta.4...@tiptap/extension-text@2.0.0-beta.5) (2021-04-23)
45
-
46
- **Note:** Version bump only for package @tiptap/extension-text
47
-
48
-
49
-
50
-
51
-
52
- # [2.0.0-beta.4](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-beta.3...@tiptap/extension-text@2.0.0-beta.4) (2021-04-22)
53
-
54
- **Note:** Version bump only for package @tiptap/extension-text
55
-
56
-
57
-
58
-
59
-
60
- # [2.0.0-beta.3](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-beta.2...@tiptap/extension-text@2.0.0-beta.3) (2021-04-16)
61
-
62
- **Note:** Version bump only for package @tiptap/extension-text
63
-
64
-
65
-
66
-
67
-
68
- # [2.0.0-beta.2](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-beta.1...@tiptap/extension-text@2.0.0-beta.2) (2021-04-15)
69
-
70
- **Note:** Version bump only for package @tiptap/extension-text
71
-
72
-
73
-
74
-
75
-
76
- # [2.0.0-beta.1](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.11...@tiptap/extension-text@2.0.0-beta.1) (2021-03-05)
77
-
78
- **Note:** Version bump only for package @tiptap/extension-text
79
-
80
-
81
-
82
-
83
-
84
- # [2.0.0-alpha.11](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.10...@tiptap/extension-text@2.0.0-alpha.11) (2021-02-16)
85
-
86
- **Note:** Version bump only for package @tiptap/extension-text
87
-
88
-
89
-
90
-
91
-
92
- # [2.0.0-alpha.10](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.9...@tiptap/extension-text@2.0.0-alpha.10) (2021-02-07)
93
-
94
- **Note:** Version bump only for package @tiptap/extension-text
95
-
96
-
97
-
98
-
99
-
100
- # [2.0.0-alpha.9](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.8...@tiptap/extension-text@2.0.0-alpha.9) (2021-02-05)
101
-
102
- **Note:** Version bump only for package @tiptap/extension-text
103
-
104
-
105
-
106
-
107
-
108
- # [2.0.0-alpha.8](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.7...@tiptap/extension-text@2.0.0-alpha.8) (2021-01-29)
109
-
110
- **Note:** Version bump only for package @tiptap/extension-text
111
-
112
-
113
-
114
-
115
-
116
- # [2.0.0-alpha.7](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.6...@tiptap/extension-text@2.0.0-alpha.7) (2021-01-29)
117
-
118
- **Note:** Version bump only for package @tiptap/extension-text
119
-
120
-
121
-
122
-
123
-
124
- # [2.0.0-alpha.6](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.5...@tiptap/extension-text@2.0.0-alpha.6) (2021-01-28)
125
-
126
- **Note:** Version bump only for package @tiptap/extension-text
127
-
128
-
129
-
130
-
131
-
132
- # [2.0.0-alpha.5](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.4...@tiptap/extension-text@2.0.0-alpha.5) (2020-12-18)
133
-
134
- **Note:** Version bump only for package @tiptap/extension-text
135
-
136
-
137
-
138
-
139
-
140
- # [2.0.0-alpha.4](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.3...@tiptap/extension-text@2.0.0-alpha.4) (2020-12-02)
141
-
142
- **Note:** Version bump only for package @tiptap/extension-text
143
-
144
-
145
-
146
-
147
-
148
- # [2.0.0-alpha.3](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.2...@tiptap/extension-text@2.0.0-alpha.3) (2020-11-19)
149
-
150
- **Note:** Version bump only for package @tiptap/extension-text
151
-
152
-
153
-
154
-
155
-
156
- # [2.0.0-alpha.2](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@2.0.0-alpha.1...@tiptap/extension-text@2.0.0-alpha.2) (2020-11-19)
157
-
158
- **Note:** Version bump only for package @tiptap/extension-text
159
-
160
-
161
-
162
-
163
-
164
- # [2.0.0-alpha.1](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@1.0.0-alpha.2...@tiptap/extension-text@2.0.0-alpha.1) (2020-11-18)
165
-
166
- **Note:** Version bump only for package @tiptap/extension-text
167
-
168
-
169
-
170
-
171
-
172
- # [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text@1.0.0-alpha.1...@tiptap/extension-text@1.0.0-alpha.2) (2020-11-16)
173
-
174
- **Note:** Version bump only for package @tiptap/extension-text
175
-
176
-
177
-
178
-
179
-
180
- # 1.0.0-alpha.1 (2020-11-16)
181
-
182
-
183
- ### Reverts
184
-
185
- * Revert "use global namespace" ([0c9ce26](https://github.com/ueberdosis/tiptap/commit/0c9ce26c02c07d88a757c01b0a9d7f9e2b0b7502))
package/LICENSE.md DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2021, überdosis GbR
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1 +0,0 @@
1
- {"version":3,"file":"tiptap-extension-text.cjs.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":";;;;;;MAEa,IAAI,GAAGA,SAAI,CAAC,MAAM,CAAC;IAC9B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,QAAQ;CAChB;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tiptap-extension-text.esm.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":";;MAEa,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IAC9B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,QAAQ;CAChB;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tiptap-extension-text.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":";;;;;;QAEa,IAAI,GAAGA,SAAI,CAAC,MAAM,CAAC;MAC9B,IAAI,EAAE,MAAM;MACZ,KAAK,EAAE,QAAQ;GAChB;;;;;;;;;;;"}