rj-editor 1.0.2 → 1.1.3
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.d.ts +1 -0
- package/dist/rj-editor.css +1 -1
- package/dist/rj-editor.js +1602 -1591
- package/dist/rj-editor.umd.cjs +18 -18
- package/dist/utils/helpers/index.d.ts +1 -0
- package/dist/utils/helpers/pxToRem.d.ts +1 -0
- package/package.json +4 -1
|
@@ -7,6 +7,7 @@ export { normalizeNumberText } from './normalizeNumberText';
|
|
|
7
7
|
export { normalizeRJEditorHtml } from './normalizeRJEditorHtml';
|
|
8
8
|
export { numberToInputText } from './numberToInputText';
|
|
9
9
|
export { openFilePicker } from './openFilePicker';
|
|
10
|
+
export { pxToRem } from './pxToRem';
|
|
10
11
|
export { readFileAsDataUrl } from './readFileAsDataUrl';
|
|
11
12
|
export { renderEquationToHtml } from './renderEquationToHtml';
|
|
12
13
|
export { setEditorHtml } from './setEditorHtml';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function pxToRem(value: number): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rj-editor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "React rich text editor: toolbar tabs, table, image, link, YouTube, i18n, theme va Ant Design Form integratsiyasi.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,6 +49,9 @@
|
|
|
49
49
|
"build": "vite build && tsc -p tsconfig.lib.json && node scripts/fix-dts-aliases.mjs",
|
|
50
50
|
"build:demo": "vite build --config vite.demo.config.ts",
|
|
51
51
|
"lint": "eslint .",
|
|
52
|
+
"pack:check": "npm run build && npm_config_cache=/private/tmp/rj-editor-npm-cache npm pack --dry-run",
|
|
53
|
+
"prepublishOnly": "npm run lint && npm run build",
|
|
54
|
+
"release:check": "npm run lint && npm run pack:check",
|
|
52
55
|
"preview": "vite preview"
|
|
53
56
|
},
|
|
54
57
|
"dependencies": {
|