@tiptap/core 2.0.0-rc.1 → 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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
- package/src/ExtensionManager.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/core",
|
|
3
3
|
"description": "headless rich text editor",
|
|
4
|
-
"version": "2.0.0-rc.
|
|
4
|
+
"version": "2.0.0-rc.2",
|
|
5
5
|
"homepage": "https://tiptap.dev",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@tiptap/pm": "2.0.0-rc.1"
|
|
35
|
+
"@tiptap/pm": "^2.0.0-rc.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@tiptap/pm": "2.0.0-rc.1"
|
|
38
|
+
"@tiptap/pm": "^2.0.0-rc.1"
|
|
39
39
|
},
|
|
40
40
|
"repository": {
|
|
41
41
|
"type": "git",
|
package/src/ExtensionManager.ts
CHANGED
|
@@ -207,7 +207,7 @@ export class ExtensionManager {
|
|
|
207
207
|
const { editor } = this
|
|
208
208
|
|
|
209
209
|
// With ProseMirror, first plugins within an array are executed first.
|
|
210
|
-
// In
|
|
210
|
+
// In Tiptap, we provide the ability to override plugins,
|
|
211
211
|
// so it feels more natural to run plugins at the end of an array first.
|
|
212
212
|
// That’s why we have to reverse the `extensions` array and sort again
|
|
213
213
|
// based on the `priority` option.
|