rte-builder 1.0.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/LICENSE +21 -0
- package/README.md +418 -0
- package/dist/index.css +580 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +690 -0
- package/dist/index.d.ts +690 -0
- package/dist/index.js +8717 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +8715 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +121 -0
package/package.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rte-builder",
|
|
3
|
+
"version": "1.0.0",
|
|
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
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./styles.css": "./dist/index.css",
|
|
15
|
+
"./dist/index.css": "./dist/index.css"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "tsup --watch",
|
|
22
|
+
"build": "tsup",
|
|
23
|
+
"typecheck": "tsc --noEmit",
|
|
24
|
+
"prepublishOnly": "npm run build",
|
|
25
|
+
"demo": "cd demo && npm run dev",
|
|
26
|
+
"demo:install": "cd demo && npm install",
|
|
27
|
+
"demo:build": "npm run build && cd demo && npm run build"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"react",
|
|
31
|
+
"editor",
|
|
32
|
+
"wysiwyg",
|
|
33
|
+
"tiptap",
|
|
34
|
+
"slate",
|
|
35
|
+
"lexical",
|
|
36
|
+
"rich-text",
|
|
37
|
+
"rich-text-editor",
|
|
38
|
+
"contenteditable",
|
|
39
|
+
"prosemirror",
|
|
40
|
+
"text-editor",
|
|
41
|
+
"html-editor",
|
|
42
|
+
"markdown",
|
|
43
|
+
"toolbar",
|
|
44
|
+
"formatting"
|
|
45
|
+
],
|
|
46
|
+
"author": "saikiran949",
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "https://github.com/saikiran949/rte-builder.git"
|
|
51
|
+
},
|
|
52
|
+
"homepage": "https://github.com/saikiran949/rte-builder#readme",
|
|
53
|
+
"bugs": {
|
|
54
|
+
"url": "https://github.com/saikiran949/rte-builder/issues"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"react": "^18.0.0",
|
|
58
|
+
"react-dom": "^18.0.0"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@lexical/code": "^0.39.0",
|
|
62
|
+
"@lexical/history": "^0.39.0",
|
|
63
|
+
"@lexical/link": "^0.39.0",
|
|
64
|
+
"@lexical/list": "^0.39.0",
|
|
65
|
+
"@lexical/react": "^0.39.0",
|
|
66
|
+
"@lexical/rich-text": "^0.39.0",
|
|
67
|
+
"@lexical/selection": "^0.39.0",
|
|
68
|
+
"@lexical/table": "^0.39.0",
|
|
69
|
+
"@lexical/utils": "^0.39.0",
|
|
70
|
+
"@tiptap/extension-blockquote": "^2.27.2",
|
|
71
|
+
"@tiptap/extension-bold": "^2.10.3",
|
|
72
|
+
"@tiptap/extension-bullet-list": "^2.10.3",
|
|
73
|
+
"@tiptap/extension-character-count": "^2.10.3",
|
|
74
|
+
"@tiptap/extension-code": "^2.10.3",
|
|
75
|
+
"@tiptap/extension-code-block-lowlight": "^2.10.3",
|
|
76
|
+
"@tiptap/extension-color": "^2.10.3",
|
|
77
|
+
"@tiptap/extension-document": "^2.10.3",
|
|
78
|
+
"@tiptap/extension-dropcursor": "^2.10.3",
|
|
79
|
+
"@tiptap/extension-font-family": "^2.10.3",
|
|
80
|
+
"@tiptap/extension-gapcursor": "^2.10.3",
|
|
81
|
+
"@tiptap/extension-hard-break": "^2.10.3",
|
|
82
|
+
"@tiptap/extension-heading": "^2.10.3",
|
|
83
|
+
"@tiptap/extension-highlight": "^2.10.3",
|
|
84
|
+
"@tiptap/extension-history": "^2.10.3",
|
|
85
|
+
"@tiptap/extension-horizontal-rule": "^2.10.3",
|
|
86
|
+
"@tiptap/extension-image": "^2.10.3",
|
|
87
|
+
"@tiptap/extension-italic": "^2.10.3",
|
|
88
|
+
"@tiptap/extension-link": "^2.10.3",
|
|
89
|
+
"@tiptap/extension-list-item": "^2.10.3",
|
|
90
|
+
"@tiptap/extension-ordered-list": "^2.10.3",
|
|
91
|
+
"@tiptap/extension-paragraph": "^2.10.3",
|
|
92
|
+
"@tiptap/extension-placeholder": "^2.10.3",
|
|
93
|
+
"@tiptap/extension-strike": "^2.10.3",
|
|
94
|
+
"@tiptap/extension-subscript": "^2.10.3",
|
|
95
|
+
"@tiptap/extension-superscript": "^2.10.3",
|
|
96
|
+
"@tiptap/extension-table": "^2.10.3",
|
|
97
|
+
"@tiptap/extension-table-cell": "^2.10.3",
|
|
98
|
+
"@tiptap/extension-table-header": "^2.10.3",
|
|
99
|
+
"@tiptap/extension-table-row": "^2.10.3",
|
|
100
|
+
"@tiptap/extension-text": "^2.10.3",
|
|
101
|
+
"@tiptap/extension-text-align": "^2.10.3",
|
|
102
|
+
"@tiptap/extension-text-style": "^2.10.3",
|
|
103
|
+
"@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"
|
|
111
|
+
},
|
|
112
|
+
"devDependencies": {
|
|
113
|
+
"@types/node": "^25.0.10",
|
|
114
|
+
"@types/react": "^18.3.12",
|
|
115
|
+
"@types/react-dom": "^18.3.1",
|
|
116
|
+
"react": "^18.3.1",
|
|
117
|
+
"react-dom": "^18.3.1",
|
|
118
|
+
"tsup": "^8.3.5",
|
|
119
|
+
"typescript": "^5.7.2"
|
|
120
|
+
}
|
|
121
|
+
}
|