jodit-pro-react 5.4.1 → 5.4.14
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/build/esm/index.css +15023 -0
- package/build/esm/index.d.mts +13 -0
- package/build/esm/index.mjs +48192 -0
- package/build/jodit-react.js +2 -0
- package/{jodit-react.js.LICENSE.txt → build/jodit-react.js.LICENSE.txt} +16 -0
- package/build/types/include.jodit.d.ts +4 -0
- package/build/types/include.jodit.js +4 -0
- package/build/types/index.d.ts +9 -0
- package/build/types/index.js +9 -0
- package/package.json +39 -6
- package/index.d.ts +0 -5
- package/jodit-react.js +0 -2
- package/types/JoditEditor.d.ts +0 -20
- package/types/JoditEditor.js +0 -101
- package/types/include.jodit.d.ts +0 -4
- package/types/include.jodit.js +0 -4
- package/types/index.d.ts +0 -4
- package/types/index.js +0 -4
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
/*!
|
|
8
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
9
|
+
* See LICENSE.md in the project root for license information.
|
|
10
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
11
|
+
*/
|
|
12
|
+
|
|
7
13
|
/*!
|
|
8
14
|
* a-color-picker
|
|
9
15
|
* https://github.com/narsenico/a-color-picker
|
|
@@ -32,3 +38,13 @@
|
|
|
32
38
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
33
39
|
* Released under the MIT License.
|
|
34
40
|
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @license React
|
|
44
|
+
* react-jsx-runtime.production.js
|
|
45
|
+
*
|
|
46
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
47
|
+
*
|
|
48
|
+
* This source code is licensed under the MIT license found in the
|
|
49
|
+
* LICENSE file in the root directory of this source tree.
|
|
50
|
+
*/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import { Jodit } from './include.jodit';
|
|
7
|
+
import JoditEditor from 'jodit-react/build/types/JoditEditor';
|
|
8
|
+
export default JoditEditor;
|
|
9
|
+
export { Jodit };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import { Jodit } from './include.jodit';
|
|
7
|
+
import JoditEditor from 'jodit-react/build/types/JoditEditor';
|
|
8
|
+
export default JoditEditor;
|
|
9
|
+
export { Jodit };
|
package/package.json
CHANGED
|
@@ -1,8 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jodit-pro-react",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.14",
|
|
4
4
|
"description": "Jodit PRO is awesome and usefully wysiwyg editor with filebrowser",
|
|
5
|
-
"main": "jodit-react.js",
|
|
5
|
+
"main": "build/jodit-react.js",
|
|
6
|
+
"module": "./build/esm/index.mjs",
|
|
7
|
+
"types": "./build/types/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./build/esm/index.d.mts",
|
|
12
|
+
"default": "./build/esm/index.mjs"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./build/types/index.d.ts",
|
|
16
|
+
"default": "./build/react-jodit.js"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"./build/types/JoditEditor": {
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./build/esm/JoditEditor.d.mts",
|
|
22
|
+
"default": "./build/esm/JoditEditor.mjs"
|
|
23
|
+
},
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./build/types/JoditEditor.d.ts",
|
|
26
|
+
"default": "./build/types/JoditEditor.js"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"build"
|
|
32
|
+
],
|
|
6
33
|
"author": "Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/pro/)",
|
|
7
34
|
"keywords": [
|
|
8
35
|
"react",
|
|
@@ -16,21 +43,27 @@
|
|
|
16
43
|
"rte"
|
|
17
44
|
],
|
|
18
45
|
"scripts": {
|
|
19
|
-
"build": "
|
|
46
|
+
"build": "npm run build:react && npm run build:types && npm run build:esm",
|
|
47
|
+
"build:react": "cross-env NODE_ENV=production node -r @swc-node/register ./node_modules/.bin/webpack --mode production",
|
|
48
|
+
"build:types": "rm -rf ./build/types && tsc --project tsconfig.types.json && npm run remove-css",
|
|
49
|
+
"build:esm": "tsup src/index.ts src/JoditEditor.tsx --dts --format esm -d ./build/esm --clean",
|
|
50
|
+
"remove-css": "replace \"import '[^']+.css';\" \"\" ./build/**/*.ts",
|
|
20
51
|
"watch": "node -r @swc-node/register ./node_modules/.bin/webpack --watch",
|
|
21
52
|
"start": "node -r @swc-node/register ./node_modules/.bin/webpack serve"
|
|
22
53
|
},
|
|
23
54
|
"devDependencies": {
|
|
24
55
|
"@swc-node/register": "^1.10.9",
|
|
56
|
+
"cross-env": "^10.1.0",
|
|
25
57
|
"css-loader": "^7.1.2",
|
|
26
58
|
"html-webpack-plugin": "^5.6.3",
|
|
27
|
-
"jodit": "^4.
|
|
28
|
-
"jodit-pro": "^4.
|
|
29
|
-
"jodit-react": "^5.
|
|
59
|
+
"jodit": "^4.8.9",
|
|
60
|
+
"jodit-pro": "^4.8.10",
|
|
61
|
+
"jodit-react": "^5.3.18",
|
|
30
62
|
"replace": "^1.2.2",
|
|
31
63
|
"style-loader": "^4.0.0",
|
|
32
64
|
"swc-loader": "^0.2.6",
|
|
33
65
|
"ts-node": "^10.9.2",
|
|
66
|
+
"tsup": "^8.5.1",
|
|
34
67
|
"typescript": "^5.7.3",
|
|
35
68
|
"webpack": "^5.97.1",
|
|
36
69
|
"webpack-cli": "^5.1.4",
|