@pie-lib/editable-html 11.2.1-beta.0 → 11.3.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/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,159 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [11.3.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.3.0) (2025-07-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [11.4.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.4.0) (2025-07-31)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [11.3.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.3.0) (2025-07-31)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [11.2.0-beta.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.8) (2025-07-25)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# [11.2.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.7) (2025-07-25)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# [11.2.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.7) (2025-07-25)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# [11.2.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.6) (2025-07-25)
|
|
55
|
+
|
|
56
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
# [11.2.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.6) (2025-07-25)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
# [11.2.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.5) (2025-07-25)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
# [11.2.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.5) (2025-07-25)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
# [11.2.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.4) (2025-07-25)
|
|
87
|
+
|
|
88
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
# [11.2.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.3) (2025-07-25)
|
|
95
|
+
|
|
96
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
# [11.2.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.4) (2025-07-23)
|
|
103
|
+
|
|
104
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
# [11.2.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.3) (2025-07-23)
|
|
111
|
+
|
|
112
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
# [11.2.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.3) (2025-07-20)
|
|
119
|
+
|
|
120
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
# [11.2.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.2) (2025-07-20)
|
|
127
|
+
|
|
128
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
# [11.2.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.1) (2025-07-20)
|
|
135
|
+
|
|
136
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
# [11.2.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.2) (2025-07-20)
|
|
143
|
+
|
|
144
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
# [11.2.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.1) (2025-07-20)
|
|
151
|
+
|
|
152
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
# [11.2.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.1) (2025-07-20)
|
|
7
159
|
|
|
8
160
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
9
161
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/editable-html",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -10,13 +10,11 @@
|
|
|
10
10
|
"@material-ui/core": "^3.8.3",
|
|
11
11
|
"@material-ui/icons": "^3.0.2",
|
|
12
12
|
"@material-ui/styles": "^3.0.0-alpha.10",
|
|
13
|
-
"@pie-lib/
|
|
14
|
-
"@pie-lib/
|
|
15
|
-
"@pie-lib/
|
|
16
|
-
"@pie-lib/math-
|
|
17
|
-
"@pie-lib/math-
|
|
18
|
-
"@pie-lib/math-toolbar": "^1.12.1-beta.0",
|
|
19
|
-
"@pie-lib/render-ui": "^4.16.1-beta.0",
|
|
13
|
+
"@pie-lib/drag": "^2.5.0",
|
|
14
|
+
"@pie-lib/icons": "^2.7.0",
|
|
15
|
+
"@pie-lib/math-input": "^6.14.0",
|
|
16
|
+
"@pie-lib/math-rendering": "^3.5.0",
|
|
17
|
+
"@pie-lib/math-toolbar": "^1.14.0",
|
|
20
18
|
"change-case": "^3.0.2",
|
|
21
19
|
"classnames": "^2.2.6",
|
|
22
20
|
"debug": "^4.1.1",
|
|
@@ -31,7 +29,6 @@
|
|
|
31
29
|
"slate-dev-environment": "^0.2.0",
|
|
32
30
|
"slate-edit-list": "^0.11.3",
|
|
33
31
|
"slate-edit-table": "^0.17.0",
|
|
34
|
-
"slate-hotkeys": "0.2.11",
|
|
35
32
|
"slate-html-serializer": "^0.6.12",
|
|
36
33
|
"slate-plain-serializer": "^0.5.26",
|
|
37
34
|
"slate-prop-types": "^0.4.38",
|
|
@@ -51,6 +48,6 @@
|
|
|
51
48
|
"publishConfig": {
|
|
52
49
|
"access": "public"
|
|
53
50
|
},
|
|
54
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "889a13bfea2c768b8a3a6eabfc6fe7b7725aa832",
|
|
55
52
|
"scripts": {}
|
|
56
53
|
}
|
package/src/editor.jsx
CHANGED
|
@@ -9,9 +9,9 @@ import classNames from 'classnames';
|
|
|
9
9
|
import debug from 'debug';
|
|
10
10
|
import { withStyles } from '@material-ui/core/styles';
|
|
11
11
|
|
|
12
|
-
import { color } from '
|
|
13
|
-
import
|
|
14
|
-
import { PreviewPrompt } from '
|
|
12
|
+
import { color } from '../../render-ui/src/index';
|
|
13
|
+
import AlertDialog from '../../config-ui/src/alert-dialog';
|
|
14
|
+
import { PreviewPrompt } from '../../render-ui/src/index';
|
|
15
15
|
|
|
16
16
|
import { getBase64, htmlToValue } from './serialization';
|
|
17
17
|
import InsertImageHandler from './plugins/image/insert-image-handler';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import debug from 'debug';
|
|
4
|
-
import { color } from '
|
|
4
|
+
import { color } from '../../../../render-ui/src/index';
|
|
5
5
|
import { withStyles } from '@material-ui/core/styles';
|
|
6
6
|
import Button from '@material-ui/core/Button';
|
|
7
7
|
import Dialog from '@material-ui/core/Dialog';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import isUndefined from 'lodash/isUndefined';
|
|
4
4
|
import { DragSource, DropTarget } from '@pie-lib/drag';
|
|
5
|
-
import { color } from '
|
|
5
|
+
import { color } from '../../../../../render-ui/src/index';
|
|
6
6
|
import { renderMath } from '@pie-lib/math-rendering';
|
|
7
7
|
import { withStyles } from '@material-ui/core/styles';
|
|
8
8
|
import classnames from 'classnames';
|
|
@@ -6,7 +6,7 @@ import { primary } from '../../theme';
|
|
|
6
6
|
import { withStyles } from '@material-ui/core/styles';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import SlatePropTypes from 'slate-prop-types';
|
|
9
|
-
import { color } from '
|
|
9
|
+
import { color } from '../../../../render-ui/src/index';
|
|
10
10
|
|
|
11
11
|
const log = debug('@pie-lib:editable-html:plugins:toolbar:editor-and-toolbar');
|
|
12
12
|
|