@pie-lib/editable-html 11.3.0-beta.0 → 11.4.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.json +12 -3322
- package/CHANGELOG.md +116 -100
- package/lib/block-tags.js +1 -1
- package/lib/block-tags.js.map +1 -0
- package/lib/constants.js +1 -1
- package/lib/constants.js.map +1 -0
- package/lib/editor.js +7 -7
- package/lib/editor.js.map +1 -0
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -0
- package/lib/parse-html.js +1 -1
- package/lib/parse-html.js.map +1 -0
- package/lib/plugins/characters/custom-popper.js +1 -1
- package/lib/plugins/characters/custom-popper.js.map +1 -0
- package/lib/plugins/characters/index.js +1 -1
- package/lib/plugins/characters/index.js.map +1 -0
- package/lib/plugins/characters/utils.js +1 -1
- package/lib/plugins/characters/utils.js.map +1 -0
- package/lib/plugins/css/icons/index.js +1 -1
- package/lib/plugins/css/icons/index.js.map +1 -0
- package/lib/plugins/css/index.js +1 -1
- package/lib/plugins/css/index.js.map +1 -0
- package/lib/plugins/customPlugin/index.js +1 -1
- package/lib/plugins/customPlugin/index.js.map +1 -0
- package/lib/plugins/html/icons/index.js +1 -1
- package/lib/plugins/html/icons/index.js.map +1 -0
- package/lib/plugins/html/index.js +1 -1
- package/lib/plugins/html/index.js.map +1 -0
- package/lib/plugins/image/alt-dialog.js +1 -1
- package/lib/plugins/image/alt-dialog.js.map +1 -0
- package/lib/plugins/image/component.js +1 -1
- package/lib/plugins/image/component.js.map +1 -0
- package/lib/plugins/image/image-toolbar.js +1 -1
- package/lib/plugins/image/image-toolbar.js.map +1 -0
- package/lib/plugins/image/index.js +1 -1
- package/lib/plugins/image/index.js.map +1 -0
- package/lib/plugins/image/insert-image-handler.js +1 -1
- package/lib/plugins/image/insert-image-handler.js.map +1 -0
- package/lib/plugins/index.js +1 -1
- package/lib/plugins/index.js.map +1 -0
- package/lib/plugins/list/index.js +1 -1
- package/lib/plugins/list/index.js.map +1 -0
- package/lib/plugins/math/index.js +1 -1
- package/lib/plugins/math/index.js.map +1 -0
- package/lib/plugins/media/index.js +1 -1
- package/lib/plugins/media/index.js.map +1 -0
- package/lib/plugins/media/media-dialog.js +4 -4
- package/lib/plugins/media/media-dialog.js.map +1 -0
- package/lib/plugins/media/media-toolbar.js +1 -1
- package/lib/plugins/media/media-toolbar.js.map +1 -0
- package/lib/plugins/media/media-wrapper.js +1 -1
- package/lib/plugins/media/media-wrapper.js.map +1 -0
- package/lib/plugins/rendering/index.js +1 -1
- package/lib/plugins/rendering/index.js.map +1 -0
- package/lib/plugins/respArea/drag-in-the-blank/choice.js +4 -4
- package/lib/plugins/respArea/drag-in-the-blank/choice.js.map +1 -0
- package/lib/plugins/respArea/drag-in-the-blank/index.js +1 -1
- package/lib/plugins/respArea/drag-in-the-blank/index.js.map +1 -0
- package/lib/plugins/respArea/explicit-constructed-response/index.js +1 -1
- package/lib/plugins/respArea/explicit-constructed-response/index.js.map +1 -0
- package/lib/plugins/respArea/icons/index.js +1 -1
- package/lib/plugins/respArea/icons/index.js.map +1 -0
- package/lib/plugins/respArea/index.js +1 -1
- package/lib/plugins/respArea/index.js.map +1 -0
- package/lib/plugins/respArea/inline-dropdown/index.js +1 -1
- package/lib/plugins/respArea/inline-dropdown/index.js.map +1 -0
- package/lib/plugins/respArea/math-templated/index.js +1 -1
- package/lib/plugins/respArea/math-templated/index.js.map +1 -0
- package/lib/plugins/respArea/utils.js +1 -1
- package/lib/plugins/respArea/utils.js.map +1 -0
- package/lib/plugins/table/CustomTablePlugin.js +1 -1
- package/lib/plugins/table/CustomTablePlugin.js.map +1 -0
- package/lib/plugins/table/icons/index.js +1 -1
- package/lib/plugins/table/icons/index.js.map +1 -0
- package/lib/plugins/table/index.js +1 -1
- package/lib/plugins/table/index.js.map +1 -0
- package/lib/plugins/table/table-toolbar.js +1 -1
- package/lib/plugins/table/table-toolbar.js.map +1 -0
- package/lib/plugins/textAlign/icons/index.js +1 -1
- package/lib/plugins/textAlign/icons/index.js.map +1 -0
- package/lib/plugins/textAlign/index.js +1 -1
- package/lib/plugins/textAlign/index.js.map +1 -0
- package/lib/plugins/toolbar/default-toolbar.js +1 -1
- package/lib/plugins/toolbar/default-toolbar.js.map +1 -0
- package/lib/plugins/toolbar/done-button.js +1 -1
- package/lib/plugins/toolbar/done-button.js.map +1 -0
- package/lib/plugins/toolbar/editor-and-toolbar.js +4 -4
- package/lib/plugins/toolbar/editor-and-toolbar.js.map +1 -0
- package/lib/plugins/toolbar/index.js +1 -1
- package/lib/plugins/toolbar/index.js.map +1 -0
- package/lib/plugins/toolbar/toolbar-buttons.js +1 -1
- package/lib/plugins/toolbar/toolbar-buttons.js.map +1 -0
- package/lib/plugins/toolbar/toolbar.js +1 -1
- package/lib/plugins/toolbar/toolbar.js.map +1 -0
- package/lib/plugins/utils.js +1 -1
- package/lib/plugins/utils.js.map +1 -0
- package/lib/serialization.js +1 -1
- package/lib/serialization.js.map +1 -0
- package/lib/shared/alert-dialog.js +75 -0
- package/lib/shared/index.js +136 -0
- package/lib/theme.js +1 -1
- package/lib/theme.js.map +1 -0
- package/package.json +7 -6
- package/src/editor.jsx +3 -3
- package/src/plugins/media/media-dialog.js +1 -1
- package/src/plugins/respArea/drag-in-the-blank/choice.jsx +1 -1
- package/src/plugins/toolbar/default-toolbar.jsx +6 -4
- package/src/plugins/toolbar/editor-and-toolbar.jsx +1 -1
- package/src/plugins/toolbar/toolbar.jsx +4 -4
- package/lib/__tests__/editor.test.js +0 -470
- package/lib/__tests__/serialization.test.js +0 -246
- package/lib/__tests__/utils.js +0 -106
- package/lib/plugins/image/__tests__/component.test.js +0 -51
- package/lib/plugins/image/__tests__/image-toolbar-logic.test.js +0 -56
- package/lib/plugins/image/__tests__/image-toolbar.test.js +0 -26
- package/lib/plugins/image/__tests__/index.test.js +0 -98
- package/lib/plugins/image/__tests__/insert-image-handler.test.js +0 -125
- package/lib/plugins/image/__tests__/mock-change.js +0 -25
- package/lib/plugins/list/__tests__/index.test.js +0 -79
- package/lib/plugins/math/__tests__/index.test.js +0 -300
- package/lib/plugins/media/__tests__/index.test.js +0 -71
- package/lib/plugins/table/__tests__/index.test.js +0 -442
- package/lib/plugins/table/__tests__/table-toolbar.test.js +0 -54
- package/lib/plugins/toolbar/__tests__/default-toolbar.test.js +0 -128
- package/lib/plugins/toolbar/__tests__/editor-and-toolbar.test.js +0 -51
- package/lib/plugins/toolbar/__tests__/toolbar-buttons.test.js +0 -54
- package/lib/plugins/toolbar/__tests__/toolbar.test.js +0 -120
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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
|
-
# [11.
|
|
6
|
+
# [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)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
# [11.
|
|
14
|
+
# [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)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
17
17
|
|
|
@@ -19,48 +19,39 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
# [11.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
### Bug Fixes
|
|
26
|
-
|
|
27
|
-
* made sure editor is waiting for image and sound upload before finishes editing PD-2950 ([41b9407](https://github.com/pie-framework/pie-lib/commit/41b94078da7c50ce8d36fdc67bda83a44e0bff9b))
|
|
22
|
+
# [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)
|
|
28
23
|
|
|
24
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
29
25
|
|
|
30
|
-
### Features
|
|
31
26
|
|
|
32
|
-
* made sure editor is waiting for image and sound upload before finishes editing PD-2950 ([#948](https://github.com/pie-framework/pie-lib/issues/948)) ([bd16707](https://github.com/pie-framework/pie-lib/commit/bd16707f13f824dfe2c2db7f395e58fa25eb2ffb))
|
|
33
27
|
|
|
34
28
|
|
|
35
29
|
|
|
30
|
+
# [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)
|
|
36
31
|
|
|
32
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
37
33
|
|
|
38
|
-
## [11.0.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.8...@pie-lib/editable-html@11.0.9) (2023-10-16)
|
|
39
34
|
|
|
40
35
|
|
|
41
|
-
### Bug Fixes
|
|
42
36
|
|
|
43
|
-
* **editable-html:** add clarifying comments for HTML mode edit tracking PD-2765 ([3870a4d](https://github.com/pie-framework/pie-lib/commit/3870a4d9b2e618ae6f32e6d20713978c4d791b14))
|
|
44
|
-
* **editable-html:** hide DoneButton on active htmlMode PD-2765 ([636a302](https://github.com/pie-framework/pie-lib/commit/636a302ab81016b2de8a16b1e6d96923d25b0592))
|
|
45
|
-
* **editable-html:** Prevent infinite loop in componentDidUpdate by refining isEdited state check PD-2765 ([e858ad0](https://github.com/pie-framework/pie-lib/commit/e858ad030e444b6be1ea57e950e6aa3462b5f60d))
|
|
46
|
-
* **editable-html:** Remove body overflow set by Material-UI and disable dialog scroll lock PD-3233 ([8ab4bde](https://github.com/pie-framework/pie-lib/commit/8ab4bde07fa411ef3cb31794309213bde541b6eb))
|
|
47
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)
|
|
48
39
|
|
|
40
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
49
41
|
|
|
50
42
|
|
|
51
43
|
|
|
52
|
-
## [11.0.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.7...@pie-lib/editable-html@11.0.8) (2023-10-03)
|
|
53
44
|
|
|
54
45
|
|
|
55
|
-
|
|
46
|
+
# [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)
|
|
56
47
|
|
|
57
|
-
|
|
48
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
58
49
|
|
|
59
50
|
|
|
60
51
|
|
|
61
52
|
|
|
62
53
|
|
|
63
|
-
|
|
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)
|
|
64
55
|
|
|
65
56
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
66
57
|
|
|
@@ -68,7 +59,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
68
59
|
|
|
69
60
|
|
|
70
61
|
|
|
71
|
-
|
|
62
|
+
# [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)
|
|
72
63
|
|
|
73
64
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
74
65
|
|
|
@@ -76,7 +67,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
76
67
|
|
|
77
68
|
|
|
78
69
|
|
|
79
|
-
|
|
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)
|
|
80
71
|
|
|
81
72
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
82
73
|
|
|
@@ -84,7 +75,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
84
75
|
|
|
85
76
|
|
|
86
77
|
|
|
87
|
-
|
|
78
|
+
# [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)
|
|
88
79
|
|
|
89
80
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
90
81
|
|
|
@@ -92,18 +83,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
92
83
|
|
|
93
84
|
|
|
94
85
|
|
|
95
|
-
|
|
96
|
-
|
|
86
|
+
# [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)
|
|
97
87
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
* **charting:** adjust icon for the drag handle PD-2790 ([fe670d7](https://github.com/pie-framework/pie-lib/commit/fe670d7a04f44da5c93dadbeec41b753ce50f9f6))
|
|
88
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
101
89
|
|
|
102
90
|
|
|
103
91
|
|
|
104
92
|
|
|
105
93
|
|
|
106
|
-
|
|
94
|
+
# [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)
|
|
107
95
|
|
|
108
96
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
109
97
|
|
|
@@ -111,7 +99,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
111
99
|
|
|
112
100
|
|
|
113
101
|
|
|
114
|
-
|
|
102
|
+
# [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)
|
|
115
103
|
|
|
116
104
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
117
105
|
|
|
@@ -119,35 +107,31 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
119
107
|
|
|
120
108
|
|
|
121
109
|
|
|
122
|
-
# [11.0.
|
|
123
|
-
|
|
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-20)
|
|
124
111
|
|
|
125
|
-
|
|
112
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
126
113
|
|
|
127
|
-
* update mathml-to-latex version ([1d101d2](https://github.com/pie-framework/pie-lib/commit/1d101d22298bd480a5aec638e4c9708d5aa52ce4))
|
|
128
114
|
|
|
129
115
|
|
|
130
|
-
### BREAKING CHANGES
|
|
131
116
|
|
|
132
|
-
* updated mathml-to-latex version.
|
|
133
117
|
|
|
118
|
+
# [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)
|
|
134
119
|
|
|
120
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
135
121
|
|
|
136
122
|
|
|
137
123
|
|
|
138
|
-
## [10.0.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@10.0.6...@pie-lib/editable-html@10.0.7) (2023-09-18)
|
|
139
124
|
|
|
140
125
|
|
|
141
|
-
|
|
126
|
+
# [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)
|
|
142
127
|
|
|
143
|
-
|
|
144
|
-
* **editable-html:** Disable HTML mode in player & retain html mode on alert dialog cancel PD-2765 ([4c56092](https://github.com/pie-framework/pie-lib/commit/4c56092bc66ebde1571b42419c563c580c68b927))
|
|
128
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
145
129
|
|
|
146
130
|
|
|
147
131
|
|
|
148
132
|
|
|
149
133
|
|
|
150
|
-
|
|
134
|
+
# [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)
|
|
151
135
|
|
|
152
136
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
153
137
|
|
|
@@ -155,180 +139,212 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
155
139
|
|
|
156
140
|
|
|
157
141
|
|
|
158
|
-
|
|
159
|
-
|
|
142
|
+
# [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)
|
|
160
143
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
* sanity check ([88e9afd](https://github.com/pie-framework/pie-lib/commit/88e9afd40b0aada05eb55284e00c7d918f029f08))
|
|
144
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
164
145
|
|
|
165
146
|
|
|
166
147
|
|
|
167
148
|
|
|
168
149
|
|
|
169
|
-
|
|
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)
|
|
170
151
|
|
|
152
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
171
153
|
|
|
172
|
-
### Bug Fixes
|
|
173
|
-
|
|
174
|
-
* import reduceMultipleBrs, add more details into console message PD-3167 ([5adcc05](https://github.com/pie-framework/pie-lib/commit/5adcc054e1bd5a71809827484d368d172a1255d3))
|
|
175
154
|
|
|
176
155
|
|
|
177
156
|
|
|
178
157
|
|
|
158
|
+
# [11.2.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.0) (2025-07-20)
|
|
179
159
|
|
|
180
|
-
|
|
160
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
181
161
|
|
|
182
162
|
|
|
183
|
-
### Bug Fixes
|
|
184
163
|
|
|
185
|
-
* make HTML disabled by default PD-2765 ([82bd362](https://github.com/pie-framework/pie-lib/commit/82bd36240205b8e0e31043cc8559267de0d5dc30))
|
|
186
164
|
|
|
187
165
|
|
|
166
|
+
# [11.3.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.3.0-beta.0) (2025-07-15)
|
|
188
167
|
|
|
168
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
189
169
|
|
|
170
|
+
# [11.2.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.0-beta.0) (2025-07-15)
|
|
190
171
|
|
|
191
|
-
|
|
172
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
192
173
|
|
|
174
|
+
# [11.1.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.9...@pie-lib/editable-html@11.1.0) (2023-10-16)
|
|
193
175
|
|
|
194
176
|
### Bug Fixes
|
|
195
177
|
|
|
196
|
-
|
|
178
|
+
- made sure editor is waiting for image and sound upload before finishes editing PD-2950 ([41b9407](https://github.com/pie-framework/pie-lib/commit/41b94078da7c50ce8d36fdc67bda83a44e0bff9b))
|
|
197
179
|
|
|
180
|
+
### Features
|
|
198
181
|
|
|
182
|
+
- made sure editor is waiting for image and sound upload before finishes editing PD-2950 ([#948](https://github.com/pie-framework/pie-lib/issues/948)) ([bd16707](https://github.com/pie-framework/pie-lib/commit/bd16707f13f824dfe2c2db7f395e58fa25eb2ffb))
|
|
199
183
|
|
|
184
|
+
## [11.0.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.8...@pie-lib/editable-html@11.0.9) (2023-10-16)
|
|
200
185
|
|
|
186
|
+
### Bug Fixes
|
|
201
187
|
|
|
202
|
-
|
|
188
|
+
- **editable-html:** add clarifying comments for HTML mode edit tracking PD-2765 ([3870a4d](https://github.com/pie-framework/pie-lib/commit/3870a4d9b2e618ae6f32e6d20713978c4d791b14))
|
|
189
|
+
- **editable-html:** hide DoneButton on active htmlMode PD-2765 ([636a302](https://github.com/pie-framework/pie-lib/commit/636a302ab81016b2de8a16b1e6d96923d25b0592))
|
|
190
|
+
- **editable-html:** Prevent infinite loop in componentDidUpdate by refining isEdited state check PD-2765 ([e858ad0](https://github.com/pie-framework/pie-lib/commit/e858ad030e444b6be1ea57e950e6aa3462b5f60d))
|
|
191
|
+
- **editable-html:** Remove body overflow set by Material-UI and disable dialog scroll lock PD-3233 ([8ab4bde](https://github.com/pie-framework/pie-lib/commit/8ab4bde07fa411ef3cb31794309213bde541b6eb))
|
|
203
192
|
|
|
193
|
+
## [11.0.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.7...@pie-lib/editable-html@11.0.8) (2023-10-03)
|
|
204
194
|
|
|
205
195
|
### Bug Fixes
|
|
206
196
|
|
|
207
|
-
|
|
197
|
+
- revert to pie-lib/math-rendering that what working ([25660ea](https://github.com/pie-framework/pie-lib/commit/25660ea6595e800a71c5494bd3bb9eecd3609a5a))
|
|
208
198
|
|
|
199
|
+
## [11.0.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.6...@pie-lib/editable-html@11.0.7) (2023-10-01)
|
|
209
200
|
|
|
201
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
210
202
|
|
|
203
|
+
## [11.0.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.5...@pie-lib/editable-html@11.0.6) (2023-09-27)
|
|
211
204
|
|
|
205
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
212
206
|
|
|
213
|
-
|
|
207
|
+
## [11.0.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.4...@pie-lib/editable-html@11.0.5) (2023-09-27)
|
|
214
208
|
|
|
209
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
215
210
|
|
|
216
|
-
|
|
211
|
+
## [11.0.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.3...@pie-lib/editable-html@11.0.4) (2023-09-27)
|
|
217
212
|
|
|
218
|
-
|
|
213
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
219
214
|
|
|
215
|
+
## [11.0.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.2...@pie-lib/editable-html@11.0.3) (2023-09-26)
|
|
220
216
|
|
|
221
|
-
###
|
|
217
|
+
### Bug Fixes
|
|
222
218
|
|
|
223
|
-
|
|
224
|
-
* **editable-html:** display warning dialog upon exiting html mode PD-2765 ([8fd9fb9](https://github.com/pie-framework/pie-lib/commit/8fd9fb964f681d261e22ec09aa8b8e6def2f7744))
|
|
225
|
-
* **editable-html:** implement toggle functionality for for switching between WYSIWYG and plain text HTML editors PD-2765 ([d44a549](https://github.com/pie-framework/pie-lib/commit/d44a549dcd4bb117c71a1f90bd7bc8eeb6a82a5e))
|
|
226
|
-
* **editable-html:** implement toggle functionality for switching between WYSIWYG and plain text HTML editors PD-2765 ([6541a85](https://github.com/pie-framework/pie-lib/commit/6541a85dd430d4d7c81fe3960a37e597f29a0ec2))
|
|
227
|
-
* **editable-html:** only show relevant toolbar buttons in HTML mode PD-2765 ([ed36dcb](https://github.com/pie-framework/pie-lib/commit/ed36dcb9a95f3d990da967f65e942922b60e42e6))
|
|
228
|
-
* **editable-html:** revise state handling for isHtmlMode and isEdited to accurately display choices in response area when toggling between html mode and rich text editor ([c800a22](https://github.com/pie-framework/pie-lib/commit/c800a22e323e863bae691e07b2b80774997ba0ea))
|
|
229
|
-
* **editable-html:** revise state handling for isHtmlMode and isEdited to accurately display choices in response area when toggling between html mode and rich text editor ([6daf84e](https://github.com/pie-framework/pie-lib/commit/6daf84e9692df368f7aa6866a33368941312872e))
|
|
219
|
+
- **charting:** adjust icon for the drag handle PD-2790 ([fe670d7](https://github.com/pie-framework/pie-lib/commit/fe670d7a04f44da5c93dadbeec41b753ce50f9f6))
|
|
230
220
|
|
|
221
|
+
## [11.0.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.1...@pie-lib/editable-html@11.0.2) (2023-09-25)
|
|
231
222
|
|
|
232
|
-
|
|
223
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
233
224
|
|
|
234
|
-
|
|
225
|
+
## [11.0.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.0.0...@pie-lib/editable-html@11.0.1) (2023-09-20)
|
|
235
226
|
|
|
227
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
236
228
|
|
|
229
|
+
# [11.0.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@10.0.7...@pie-lib/editable-html@11.0.0) (2023-09-20)
|
|
237
230
|
|
|
231
|
+
### Bug Fixes
|
|
238
232
|
|
|
233
|
+
- update mathml-to-latex version ([1d101d2](https://github.com/pie-framework/pie-lib/commit/1d101d22298bd480a5aec638e4c9708d5aa52ce4))
|
|
239
234
|
|
|
240
|
-
|
|
235
|
+
### BREAKING CHANGES
|
|
236
|
+
|
|
237
|
+
- updated mathml-to-latex version.
|
|
241
238
|
|
|
239
|
+
## [10.0.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@10.0.6...@pie-lib/editable-html@10.0.7) (2023-09-18)
|
|
242
240
|
|
|
243
241
|
### Bug Fixes
|
|
244
242
|
|
|
245
|
-
|
|
243
|
+
- use the mathMl resulted no matter if new latex is not identical; added a function to fix the round branckets issue ([61eeaed](https://github.com/pie-framework/pie-lib/commit/61eeaedc240bc247842a0164c07e58a8d8d792c9))
|
|
244
|
+
- **editable-html:** Disable HTML mode in player & retain html mode on alert dialog cancel PD-2765 ([4c56092](https://github.com/pie-framework/pie-lib/commit/4c56092bc66ebde1571b42419c563c580c68b927))
|
|
246
245
|
|
|
246
|
+
## [10.0.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@10.0.5...@pie-lib/editable-html@10.0.6) (2023-09-14)
|
|
247
247
|
|
|
248
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
248
249
|
|
|
250
|
+
## [10.0.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@10.0.4...@pie-lib/editable-html@10.0.5) (2023-09-14)
|
|
249
251
|
|
|
252
|
+
### Bug Fixes
|
|
250
253
|
|
|
251
|
-
|
|
254
|
+
- sanity check ([88e9afd](https://github.com/pie-framework/pie-lib/commit/88e9afd40b0aada05eb55284e00c7d918f029f08))
|
|
252
255
|
|
|
253
|
-
|
|
256
|
+
## [10.0.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@10.0.3...@pie-lib/editable-html@10.0.4) (2023-09-14)
|
|
254
257
|
|
|
258
|
+
### Bug Fixes
|
|
255
259
|
|
|
260
|
+
- import reduceMultipleBrs, add more details into console message PD-3167 ([5adcc05](https://github.com/pie-framework/pie-lib/commit/5adcc054e1bd5a71809827484d368d172a1255d3))
|
|
256
261
|
|
|
262
|
+
## [10.0.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@10.0.2...@pie-lib/editable-html@10.0.3) (2023-09-05)
|
|
257
263
|
|
|
264
|
+
### Bug Fixes
|
|
258
265
|
|
|
259
|
-
|
|
266
|
+
- make HTML disabled by default PD-2765 ([82bd362](https://github.com/pie-framework/pie-lib/commit/82bd36240205b8e0e31043cc8559267de0d5dc30))
|
|
260
267
|
|
|
261
|
-
|
|
268
|
+
## [10.0.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@10.0.1...@pie-lib/editable-html@10.0.2) (2023-09-02)
|
|
262
269
|
|
|
270
|
+
### Bug Fixes
|
|
263
271
|
|
|
272
|
+
- made sure div blocks are not present at the same level as paragraph ones PD-3051 ([f597969](https://github.com/pie-framework/pie-lib/commit/f59796980ad87323b401543fb3963edcea3775c6))
|
|
264
273
|
|
|
274
|
+
## [10.0.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@10.0.0...@pie-lib/editable-html@10.0.1) (2023-09-02)
|
|
265
275
|
|
|
276
|
+
### Bug Fixes
|
|
266
277
|
|
|
267
|
-
|
|
278
|
+
- made sure multiple nodes are wrapped in a block, in order for slate to handle it properly PD-3051 ([fd6ed48](https://github.com/pie-framework/pie-lib/commit/fd6ed48070979cd34bc64403228b728394a8afed))
|
|
268
279
|
|
|
280
|
+
# [10.0.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.7.8...@pie-lib/editable-html@10.0.0) (2023-08-30)
|
|
269
281
|
|
|
270
282
|
### Bug Fixes
|
|
271
283
|
|
|
272
|
-
|
|
284
|
+
- **editable-html:** Update 'isEdited' state to accurately track changes made in HTML mode PD-2765 ([913543e](https://github.com/pie-framework/pie-lib/commit/913543ec75302da3de0b86efc48c62bb06f92515))
|
|
273
285
|
|
|
286
|
+
### Features
|
|
274
287
|
|
|
288
|
+
- **editable-html:** display warning dialog conditional on edits in HTML mode PD-2765 ([58d66d5](https://github.com/pie-framework/pie-lib/commit/58d66d57668a8288f32e3e6ed78cf97a61f58b17))
|
|
289
|
+
- **editable-html:** display warning dialog upon exiting html mode PD-2765 ([8fd9fb9](https://github.com/pie-framework/pie-lib/commit/8fd9fb964f681d261e22ec09aa8b8e6def2f7744))
|
|
290
|
+
- **editable-html:** implement toggle functionality for for switching between WYSIWYG and plain text HTML editors PD-2765 ([d44a549](https://github.com/pie-framework/pie-lib/commit/d44a549dcd4bb117c71a1f90bd7bc8eeb6a82a5e))
|
|
291
|
+
- **editable-html:** implement toggle functionality for switching between WYSIWYG and plain text HTML editors PD-2765 ([6541a85](https://github.com/pie-framework/pie-lib/commit/6541a85dd430d4d7c81fe3960a37e597f29a0ec2))
|
|
292
|
+
- **editable-html:** only show relevant toolbar buttons in HTML mode PD-2765 ([ed36dcb](https://github.com/pie-framework/pie-lib/commit/ed36dcb9a95f3d990da967f65e942922b60e42e6))
|
|
293
|
+
- **editable-html:** revise state handling for isHtmlMode and isEdited to accurately display choices in response area when toggling between html mode and rich text editor ([c800a22](https://github.com/pie-framework/pie-lib/commit/c800a22e323e863bae691e07b2b80774997ba0ea))
|
|
294
|
+
- **editable-html:** revise state handling for isHtmlMode and isEdited to accurately display choices in response area when toggling between html mode and rich text editor ([6daf84e](https://github.com/pie-framework/pie-lib/commit/6daf84e9692df368f7aa6866a33368941312872e))
|
|
275
295
|
|
|
296
|
+
### BREAKING CHANGES
|
|
276
297
|
|
|
298
|
+
- **editable-html:** add a button to the editable-html editor that changes the field from using a WYSIWYG editor to using a plaintext editor that displays the raw HTML and allows it to be edited.
|
|
277
299
|
|
|
278
|
-
## [9.7.
|
|
279
|
-
|
|
280
|
-
**Note:** Version bump only for package @pie-lib/editable-html
|
|
300
|
+
## [9.7.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.7.7...@pie-lib/editable-html@9.7.8) (2023-08-21)
|
|
281
301
|
|
|
302
|
+
### Bug Fixes
|
|
282
303
|
|
|
304
|
+
- revert revert changes made for PD-3051 because they were causing PD-3119 ([371111c](https://github.com/pie-framework/pie-lib/commit/371111c26e0b0f886724f72ea67df0da3febef74))
|
|
283
305
|
|
|
306
|
+
## [9.7.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.7.6...@pie-lib/editable-html@9.7.7) (2023-08-21)
|
|
284
307
|
|
|
308
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
285
309
|
|
|
286
|
-
## [9.7.
|
|
310
|
+
## [9.7.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.7.5...@pie-lib/editable-html@9.7.6) (2023-08-15)
|
|
287
311
|
|
|
288
312
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
289
313
|
|
|
314
|
+
## [9.7.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.7.4...@pie-lib/editable-html@9.7.5) (2023-08-07)
|
|
290
315
|
|
|
316
|
+
### Bug Fixes
|
|
291
317
|
|
|
318
|
+
- made sure content is wrapped in a paragraph in order for slate to handle it properly PD-3051 ([4e3f756](https://github.com/pie-framework/pie-lib/commit/4e3f756bc783cae3b67762cacfacc09d32828918))
|
|
292
319
|
|
|
293
|
-
|
|
294
|
-
## [9.7.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.7.1...@pie-lib/editable-html@9.7.2) (2023-07-04)
|
|
320
|
+
## [9.7.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.7.3...@pie-lib/editable-html@9.7.4) (2023-07-31)
|
|
295
321
|
|
|
296
322
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
297
323
|
|
|
324
|
+
## [9.7.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.7.2...@pie-lib/editable-html@9.7.3) (2023-07-24)
|
|
298
325
|
|
|
326
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
299
327
|
|
|
328
|
+
## [9.7.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.7.1...@pie-lib/editable-html@9.7.2) (2023-07-04)
|
|
300
329
|
|
|
330
|
+
**Note:** Version bump only for package @pie-lib/editable-html
|
|
301
331
|
|
|
302
332
|
## [9.7.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.7.0...@pie-lib/editable-html@9.7.1) (2023-06-24)
|
|
303
333
|
|
|
304
|
-
|
|
305
334
|
### Bug Fixes
|
|
306
335
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
336
|
+
- made sure mathMlOptions are editable live [PD-2150](<[31ce3d3](https://github.com/pie-framework/pie-lib/commit/31ce3d3536788021b912895c611f972aa87161b0)>)
|
|
312
337
|
|
|
313
338
|
# [9.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.6.6...@pie-lib/editable-html@9.7.0) (2023-06-23)
|
|
314
339
|
|
|
315
|
-
|
|
316
340
|
### Features
|
|
317
341
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
342
|
+
- **editable-html:** make error class important to avoid overwriting ([37af2fc](https://github.com/pie-framework/pie-lib/commit/37af2fc862f3e5d0dfd0b1ad42fbd462d98bac89))
|
|
323
343
|
|
|
324
344
|
## [9.6.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.6.5...@pie-lib/editable-html@9.6.6) (2023-06-13)
|
|
325
345
|
|
|
326
346
|
**Note:** Version bump only for package @pie-lib/editable-html
|
|
327
347
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
348
|
## [9.6.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@9.6.4...@pie-lib/editable-html@9.6.5) (2023-06-12)
|
|
333
349
|
|
|
334
350
|
**Note:** Version bump only for package @pie-lib/editable-html
|
package/lib/block-tags.js
CHANGED
|
@@ -22,4 +22,4 @@ var BLOCK_TAGS = {
|
|
|
22
22
|
h6: 'heading-six'
|
|
23
23
|
};
|
|
24
24
|
exports.BLOCK_TAGS = BLOCK_TAGS;
|
|
25
|
-
//# sourceMappingURL=
|
|
25
|
+
//# sourceMappingURL=block-tags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/block-tags.js"],"names":["BLOCK_TAGS","div","p","pre","h1","h2","h4","h5","h6"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AAEO,IAAMA,UAAU,GAAG;AACxBC,EAAAA,GAAG,EAAE,KADmB;AAExB;AACAC,EAAAA,CAAC,EAAE,WAHqB;AAIxBC,EAAAA,GAAG,EAAE,MAJmB;AAKxBC,EAAAA,EAAE,EAAE,aALoB;AAMxBC,EAAAA,EAAE,EAAE,aANoB;AAOxBC,EAAAA,EAAE,EAAE,cAPoB;AAQxBC,EAAAA,EAAE,EAAE,cARoB;AASxBC,EAAAA,EAAE,EAAE;AAToB,CAAnB","sourcesContent":["/**\n * Tags to blocks.\n *\n * @type {Object}\n */\n\nexport const BLOCK_TAGS = {\n div: 'div',\n // span: 'span',\n p: 'paragraph',\n pre: 'code',\n h1: 'heading-one',\n h2: 'heading-two',\n h4: 'heading-four',\n h5: 'heading-five',\n h6: 'heading-six',\n};\n"],"file":"block-tags.js"}
|
package/lib/constants.js
CHANGED
|
@@ -13,4 +13,4 @@ var _default = {
|
|
|
13
13
|
PIE_TOOLBAR__CLASS: PIE_TOOLBAR__CLASS
|
|
14
14
|
};
|
|
15
15
|
exports["default"] = _default;
|
|
16
|
-
//# sourceMappingURL=
|
|
16
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/constants.js"],"names":["MAIN_CONTAINER_CLASS","PIE_TOOLBAR__CLASS"],"mappings":";;;;;;AAAO,IAAMA,oBAAoB,GAAG,gBAA7B;;AACA,IAAMC,kBAAkB,GAAG,aAA3B;;eAEQ;AACbD,EAAAA,oBAAoB,EAApBA,oBADa;AAEbC,EAAAA,kBAAkB,EAAlBA;AAFa,C","sourcesContent":["export const MAIN_CONTAINER_CLASS = 'main-container';\nexport const PIE_TOOLBAR__CLASS = 'pie-toolbar';\n\nexport default {\n MAIN_CONTAINER_CLASS,\n PIE_TOOLBAR__CLASS,\n};\n"],"file":"constants.js"}
|