rte-builder 2.0.0 → 2.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rte-builder",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "A universal Rich Text Editor for React supporting multiple backends (TipTap, Slate, Lexical) with a unified API, full toolbar customization, and zero licensing costs",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -54,8 +54,25 @@
54
54
  "url": "https://github.com/saikiran949/rte-builder/issues"
55
55
  },
56
56
  "peerDependencies": {
57
- "react": "^18.0.0",
58
- "react-dom": "^18.0.0"
57
+ "react": "^18.0.0 || ^19.0.0",
58
+ "react-dom": "^18.0.0 || ^19.0.0",
59
+ "@tiptap/core": "^2.0.0",
60
+ "@tiptap/react": "^2.0.0",
61
+ "@tiptap/pm": "^2.0.0"
62
+ },
63
+ "peerDependenciesMeta": {
64
+ "lexical": {
65
+ "optional": true
66
+ },
67
+ "slate": {
68
+ "optional": true
69
+ },
70
+ "slate-react": {
71
+ "optional": true
72
+ },
73
+ "slate-history": {
74
+ "optional": true
75
+ }
59
76
  },
60
77
  "dependencies": {
61
78
  "@lexical/code": "^0.39.0",
@@ -101,13 +118,7 @@
101
118
  "@tiptap/extension-text-align": "^2.10.3",
102
119
  "@tiptap/extension-text-style": "^2.10.3",
103
120
  "@tiptap/extension-underline": "^2.10.3",
104
- "@tiptap/pm": "^2.10.3",
105
- "@tiptap/react": "^2.10.3",
106
- "lexical": "^0.39.0",
107
- "lowlight": "^3.1.0",
108
- "slate": "^0.123.0",
109
- "slate-history": "^0.113.1",
110
- "slate-react": "^0.123.0"
121
+ "lowlight": "^3.1.0"
111
122
  },
112
123
  "devDependencies": {
113
124
  "@types/node": "^25.0.10",