@abduljebar/text-editor 2.4.1 → 2.6.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 +564 -564
- package/dist/Reproduction.d.ts +2 -0
- package/dist/Reproduction.d.ts.map +1 -0
- package/dist/components/TextEditor.d.ts +1 -0
- package/dist/components/TextEditor.d.ts.map +1 -1
- package/dist/hooks/useTextEditor.d.ts +1 -0
- package/dist/hooks/useTextEditor.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1157 -1150
- package/dist/index.umd.cjs +13 -13
- package/package.json +84 -84
- package/dist/demo.jpg +0 -1
package/package.json
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abduljebar/text-editor",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "A professional React text editor with export, save, and validation features",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"style": "./dist/index.css",
|
|
10
|
-
"files": [
|
|
11
|
-
"dist",
|
|
12
|
-
"README.md"
|
|
13
|
-
],
|
|
14
|
-
"exports": {
|
|
15
|
-
".": {
|
|
16
|
-
"import": "./dist/index.js",
|
|
17
|
-
"types": "./dist/index.d.ts",
|
|
18
|
-
"require": "./dist/index.js"
|
|
19
|
-
},
|
|
20
|
-
"./dist/index.css": "./dist/index.css"
|
|
21
|
-
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"dev": "vite",
|
|
24
|
-
"build": "vite build",
|
|
25
|
-
"build:lib": "vite build --config vite.lib.config.ts",
|
|
26
|
-
"build:types": "tsc -p tsconfig.build.json",
|
|
27
|
-
"lint": "eslint .",
|
|
28
|
-
"preview": "vite preview",
|
|
29
|
-
"prepublishOnly": "npm run build:lib && npm run build:types",
|
|
30
|
-
"type-check": "tsc --noEmit"
|
|
31
|
-
},
|
|
32
|
-
"keywords": [
|
|
33
|
-
"react",
|
|
34
|
-
"text-editor",
|
|
35
|
-
"rich-text",
|
|
36
|
-
"wysiwyg",
|
|
37
|
-
"editor",
|
|
38
|
-
"contenteditable"
|
|
39
|
-
],
|
|
40
|
-
"author": "Abdul Jebar",
|
|
41
|
-
"license": "MIT",
|
|
42
|
-
"repository": {
|
|
43
|
-
"type": "git",
|
|
44
|
-
"url": "git+https://github.com/abduljebar49/text-editor.git"
|
|
45
|
-
},
|
|
46
|
-
"homepage": "https://github.com/abduljebar49/text-editor#readme",
|
|
47
|
-
"bugs": {
|
|
48
|
-
"url": "https://github.com/abduljebar49/text-editor/issues"
|
|
49
|
-
},
|
|
50
|
-
"peerDependencies": {
|
|
51
|
-
"react": "^18.0.0 || ^19.0.0",
|
|
52
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
53
|
-
},
|
|
54
|
-
"devDependencies": {
|
|
55
|
-
"@eslint/js": "^9.36.0",
|
|
56
|
-
"@tailwindcss/cli": "^4.1.14",
|
|
57
|
-
"@tailwindcss/postcss": "^4.1.14",
|
|
58
|
-
"@types/lodash": "^4.17.21",
|
|
59
|
-
"@types/node": "^24.6.0",
|
|
60
|
-
"@types/react": "^19.1.16",
|
|
61
|
-
"@types/react-dom": "^19.1.9",
|
|
62
|
-
"@vitejs/plugin-react": "^5.0.4",
|
|
63
|
-
"autoprefixer": "^10.4.21",
|
|
64
|
-
"eslint": "^9.36.0",
|
|
65
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
66
|
-
"eslint-plugin-react-refresh": "^0.4.22",
|
|
67
|
-
"globals": "^16.4.0",
|
|
68
|
-
"lodash": "^4.17.21",
|
|
69
|
-
"postcss": "^8.5.6",
|
|
70
|
-
"tailwindcss": "^4.1.14",
|
|
71
|
-
"typescript": "~5.9.3",
|
|
72
|
-
"typescript-eslint": "^8.45.0",
|
|
73
|
-
"vite": "^7.1.7",
|
|
74
|
-
"vite-plugin-dts": "^4.5.4"
|
|
75
|
-
},
|
|
76
|
-
"dependencies": {
|
|
77
|
-
"@tailwindcss/vite": "^4.1.14",
|
|
78
|
-
"clsx": "^2.1.1",
|
|
79
|
-
"lucide-react": "^0.544.0",
|
|
80
|
-
"react": "^18.0.0 || ^19.0.0",
|
|
81
|
-
"react-dom": "^18.0.0 || ^19.0.0",
|
|
82
|
-
"tailwind-merge": "^3.3.1"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@abduljebar/text-editor",
|
|
3
|
+
"version": "2.6.2",
|
|
4
|
+
"description": "A professional React text editor with export, save, and validation features",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"style": "./dist/index.css",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"require": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./dist/index.css": "./dist/index.css"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "vite",
|
|
24
|
+
"build": "vite build",
|
|
25
|
+
"build:lib": "vite build --config vite.lib.config.ts",
|
|
26
|
+
"build:types": "tsc -p tsconfig.build.json",
|
|
27
|
+
"lint": "eslint .",
|
|
28
|
+
"preview": "vite preview",
|
|
29
|
+
"prepublishOnly": "npm run build:lib && npm run build:types",
|
|
30
|
+
"type-check": "tsc --noEmit"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"react",
|
|
34
|
+
"text-editor",
|
|
35
|
+
"rich-text",
|
|
36
|
+
"wysiwyg",
|
|
37
|
+
"editor",
|
|
38
|
+
"contenteditable"
|
|
39
|
+
],
|
|
40
|
+
"author": "Abdul Jebar",
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"url": "git+https://github.com/abduljebar49/text-editor.git"
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://github.com/abduljebar49/text-editor#readme",
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/abduljebar49/text-editor/issues"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
52
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@eslint/js": "^9.36.0",
|
|
56
|
+
"@tailwindcss/cli": "^4.1.14",
|
|
57
|
+
"@tailwindcss/postcss": "^4.1.14",
|
|
58
|
+
"@types/lodash": "^4.17.21",
|
|
59
|
+
"@types/node": "^24.6.0",
|
|
60
|
+
"@types/react": "^19.1.16",
|
|
61
|
+
"@types/react-dom": "^19.1.9",
|
|
62
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
63
|
+
"autoprefixer": "^10.4.21",
|
|
64
|
+
"eslint": "^9.36.0",
|
|
65
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
66
|
+
"eslint-plugin-react-refresh": "^0.4.22",
|
|
67
|
+
"globals": "^16.4.0",
|
|
68
|
+
"lodash": "^4.17.21",
|
|
69
|
+
"postcss": "^8.5.6",
|
|
70
|
+
"tailwindcss": "^4.1.14",
|
|
71
|
+
"typescript": "~5.9.3",
|
|
72
|
+
"typescript-eslint": "^8.45.0",
|
|
73
|
+
"vite": "^7.1.7",
|
|
74
|
+
"vite-plugin-dts": "^4.5.4"
|
|
75
|
+
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"@tailwindcss/vite": "^4.1.14",
|
|
78
|
+
"clsx": "^2.1.1",
|
|
79
|
+
"lucide-react": "^0.544.0",
|
|
80
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
81
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
82
|
+
"tailwind-merge": "^3.3.1"
|
|
83
|
+
}
|
|
84
|
+
}
|
package/dist/demo.jpg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/Users/nexaitsolution/Library/Group Containers/6N38VWS5BX.ru.keepcoder.Telegram/stable/account-16738781577945259090/postbox/media/telegram-cloud-photo-size-4-5771633690558532530-y
|