@pie-lib/editable-html 11.1.2-next.0 → 11.2.1-beta.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.
Files changed (166) hide show
  1. package/CHANGELOG.md +43 -167
  2. package/NEXT.CHANGELOG.json +1 -0
  3. package/package.json +10 -6
  4. package/src/__tests__/editor.test.jsx +363 -0
  5. package/src/__tests__/serialization.test.js +291 -0
  6. package/src/__tests__/utils.js +36 -0
  7. package/src/block-tags.js +17 -0
  8. package/src/constants.js +7 -0
  9. package/src/editor.jsx +303 -49
  10. package/src/index.jsx +19 -10
  11. package/src/plugins/characters/index.jsx +11 -3
  12. package/src/plugins/characters/utils.js +12 -12
  13. package/src/plugins/css/icons/index.jsx +17 -0
  14. package/src/plugins/css/index.jsx +346 -0
  15. package/src/plugins/customPlugin/index.jsx +85 -0
  16. package/src/plugins/html/index.jsx +9 -6
  17. package/src/plugins/image/__tests__/__snapshots__/component.test.jsx.snap +51 -0
  18. package/src/plugins/image/__tests__/__snapshots__/image-toolbar-logic.test.jsx.snap +27 -0
  19. package/src/plugins/image/__tests__/__snapshots__/image-toolbar.test.jsx.snap +44 -0
  20. package/src/plugins/image/__tests__/component.test.jsx +41 -0
  21. package/src/plugins/image/__tests__/image-toolbar-logic.test.jsx +42 -0
  22. package/src/plugins/image/__tests__/image-toolbar.test.jsx +11 -0
  23. package/src/plugins/image/__tests__/index.test.js +95 -0
  24. package/src/plugins/image/__tests__/insert-image-handler.test.js +113 -0
  25. package/src/plugins/image/__tests__/mock-change.js +15 -0
  26. package/src/plugins/image/index.jsx +2 -1
  27. package/src/plugins/image/insert-image-handler.js +13 -6
  28. package/src/plugins/index.jsx +248 -5
  29. package/src/plugins/list/__tests__/index.test.js +54 -0
  30. package/src/plugins/list/index.jsx +130 -0
  31. package/src/plugins/math/__tests__/__snapshots__/index.test.jsx.snap +48 -0
  32. package/src/plugins/math/__tests__/index.test.jsx +245 -0
  33. package/src/plugins/math/index.jsx +87 -56
  34. package/src/plugins/media/__tests__/index.test.js +75 -0
  35. package/src/plugins/media/index.jsx +3 -2
  36. package/src/plugins/media/media-dialog.js +106 -57
  37. package/src/plugins/rendering/index.js +31 -0
  38. package/src/plugins/respArea/drag-in-the-blank/choice.jsx +4 -1
  39. package/src/plugins/respArea/explicit-constructed-response/index.jsx +10 -8
  40. package/src/plugins/respArea/index.jsx +53 -7
  41. package/src/plugins/respArea/inline-dropdown/index.jsx +13 -6
  42. package/src/plugins/respArea/math-templated/index.jsx +104 -0
  43. package/src/plugins/respArea/utils.jsx +11 -0
  44. package/src/plugins/table/CustomTablePlugin.js +113 -0
  45. package/src/plugins/table/__tests__/__snapshots__/table-toolbar.test.jsx.snap +44 -0
  46. package/src/plugins/table/__tests__/index.test.jsx +401 -0
  47. package/src/plugins/table/__tests__/table-toolbar.test.jsx +42 -0
  48. package/src/plugins/table/index.jsx +46 -59
  49. package/src/plugins/table/table-toolbar.jsx +39 -2
  50. package/src/plugins/textAlign/icons/index.jsx +139 -0
  51. package/src/plugins/textAlign/index.jsx +23 -0
  52. package/src/plugins/toolbar/__tests__/__snapshots__/default-toolbar.test.jsx.snap +923 -0
  53. package/src/plugins/toolbar/__tests__/__snapshots__/editor-and-toolbar.test.jsx.snap +20 -0
  54. package/src/plugins/toolbar/__tests__/__snapshots__/toolbar-buttons.test.jsx.snap +36 -0
  55. package/src/plugins/toolbar/__tests__/__snapshots__/toolbar.test.jsx.snap +46 -0
  56. package/src/plugins/toolbar/__tests__/default-toolbar.test.jsx +94 -0
  57. package/src/plugins/toolbar/__tests__/editor-and-toolbar.test.jsx +37 -0
  58. package/src/plugins/toolbar/__tests__/toolbar-buttons.test.jsx +51 -0
  59. package/src/plugins/toolbar/__tests__/toolbar.test.jsx +106 -0
  60. package/src/plugins/toolbar/default-toolbar.jsx +82 -20
  61. package/src/plugins/toolbar/done-button.jsx +3 -1
  62. package/src/plugins/toolbar/editor-and-toolbar.jsx +18 -13
  63. package/src/plugins/toolbar/toolbar-buttons.jsx +52 -11
  64. package/src/plugins/toolbar/toolbar.jsx +31 -8
  65. package/src/serialization.jsx +213 -38
  66. package/README.md +0 -45
  67. package/deploy.sh +0 -16
  68. package/lib/editor.js +0 -1094
  69. package/lib/editor.js.map +0 -1
  70. package/lib/index.js +0 -253
  71. package/lib/index.js.map +0 -1
  72. package/lib/parse-html.js +0 -16
  73. package/lib/parse-html.js.map +0 -1
  74. package/lib/plugins/characters/custom-popper.js +0 -73
  75. package/lib/plugins/characters/custom-popper.js.map +0 -1
  76. package/lib/plugins/characters/index.js +0 -300
  77. package/lib/plugins/characters/index.js.map +0 -1
  78. package/lib/plugins/characters/utils.js +0 -381
  79. package/lib/plugins/characters/utils.js.map +0 -1
  80. package/lib/plugins/html/icons/index.js +0 -38
  81. package/lib/plugins/html/icons/index.js.map +0 -1
  82. package/lib/plugins/html/index.js +0 -76
  83. package/lib/plugins/html/index.js.map +0 -1
  84. package/lib/plugins/image/alt-dialog.js +0 -129
  85. package/lib/plugins/image/alt-dialog.js.map +0 -1
  86. package/lib/plugins/image/component.js +0 -419
  87. package/lib/plugins/image/component.js.map +0 -1
  88. package/lib/plugins/image/image-toolbar.js +0 -177
  89. package/lib/plugins/image/image-toolbar.js.map +0 -1
  90. package/lib/plugins/image/index.js +0 -262
  91. package/lib/plugins/image/index.js.map +0 -1
  92. package/lib/plugins/image/insert-image-handler.js +0 -152
  93. package/lib/plugins/image/insert-image-handler.js.map +0 -1
  94. package/lib/plugins/index.js +0 -143
  95. package/lib/plugins/index.js.map +0 -1
  96. package/lib/plugins/list/index.js +0 -204
  97. package/lib/plugins/list/index.js.map +0 -1
  98. package/lib/plugins/math/index.js +0 -419
  99. package/lib/plugins/math/index.js.map +0 -1
  100. package/lib/plugins/media/index.js +0 -384
  101. package/lib/plugins/media/index.js.map +0 -1
  102. package/lib/plugins/media/media-dialog.js +0 -668
  103. package/lib/plugins/media/media-dialog.js.map +0 -1
  104. package/lib/plugins/media/media-toolbar.js +0 -101
  105. package/lib/plugins/media/media-toolbar.js.map +0 -1
  106. package/lib/plugins/media/media-wrapper.js +0 -93
  107. package/lib/plugins/media/media-wrapper.js.map +0 -1
  108. package/lib/plugins/respArea/drag-in-the-blank/choice.js +0 -251
  109. package/lib/plugins/respArea/drag-in-the-blank/choice.js.map +0 -1
  110. package/lib/plugins/respArea/drag-in-the-blank/index.js +0 -97
  111. package/lib/plugins/respArea/drag-in-the-blank/index.js.map +0 -1
  112. package/lib/plugins/respArea/explicit-constructed-response/index.js +0 -55
  113. package/lib/plugins/respArea/explicit-constructed-response/index.js.map +0 -1
  114. package/lib/plugins/respArea/icons/index.js +0 -95
  115. package/lib/plugins/respArea/icons/index.js.map +0 -1
  116. package/lib/plugins/respArea/index.js +0 -293
  117. package/lib/plugins/respArea/index.js.map +0 -1
  118. package/lib/plugins/respArea/inline-dropdown/index.js +0 -70
  119. package/lib/plugins/respArea/inline-dropdown/index.js.map +0 -1
  120. package/lib/plugins/respArea/utils.js +0 -110
  121. package/lib/plugins/respArea/utils.js.map +0 -1
  122. package/lib/plugins/table/icons/index.js +0 -69
  123. package/lib/plugins/table/icons/index.js.map +0 -1
  124. package/lib/plugins/table/index.js +0 -499
  125. package/lib/plugins/table/index.js.map +0 -1
  126. package/lib/plugins/table/table-toolbar.js +0 -158
  127. package/lib/plugins/table/table-toolbar.js.map +0 -1
  128. package/lib/plugins/toolbar/default-toolbar.js +0 -174
  129. package/lib/plugins/toolbar/default-toolbar.js.map +0 -1
  130. package/lib/plugins/toolbar/done-button.js +0 -50
  131. package/lib/plugins/toolbar/done-button.js.map +0 -1
  132. package/lib/plugins/toolbar/editor-and-toolbar.js +0 -287
  133. package/lib/plugins/toolbar/editor-and-toolbar.js.map +0 -1
  134. package/lib/plugins/toolbar/index.js +0 -34
  135. package/lib/plugins/toolbar/index.js.map +0 -1
  136. package/lib/plugins/toolbar/toolbar-buttons.js +0 -161
  137. package/lib/plugins/toolbar/toolbar-buttons.js.map +0 -1
  138. package/lib/plugins/toolbar/toolbar.js +0 -352
  139. package/lib/plugins/toolbar/toolbar.js.map +0 -1
  140. package/lib/plugins/utils.js +0 -62
  141. package/lib/plugins/utils.js.map +0 -1
  142. package/lib/serialization.js +0 -488
  143. package/lib/serialization.js.map +0 -1
  144. package/lib/theme.js +0 -9
  145. package/lib/theme.js.map +0 -1
  146. package/playground/image/data.js +0 -59
  147. package/playground/image/index.html +0 -22
  148. package/playground/image/index.jsx +0 -81
  149. package/playground/index.html +0 -25
  150. package/playground/mathquill/index.html +0 -22
  151. package/playground/mathquill/index.jsx +0 -155
  152. package/playground/package.json +0 -15
  153. package/playground/prod-test/index.html +0 -22
  154. package/playground/prod-test/index.jsx +0 -28
  155. package/playground/schema-override/data.js +0 -29
  156. package/playground/schema-override/image-plugin.jsx +0 -41
  157. package/playground/schema-override/index.html +0 -21
  158. package/playground/schema-override/index.jsx +0 -97
  159. package/playground/serialization/data.js +0 -29
  160. package/playground/serialization/image-plugin.jsx +0 -41
  161. package/playground/serialization/index.html +0 -22
  162. package/playground/serialization/index.jsx +0 -12
  163. package/playground/static.json +0 -3
  164. package/playground/table-examples.html +0 -70
  165. package/playground/webpack.config.js +0 -42
  166. package/static.json +0 -1
package/CHANGELOG.md CHANGED
@@ -3,328 +3,204 @@
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.1.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.0...@pie-lib/editable-html@11.1.1) (2023-10-26)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * **editable-html:** avoid using setState multiple times PD-3221 ([c8af6af](https://github.com/pie-framework/pie-lib/commit/c8af6af081e68c634eb9dd16f6ffd016021bbb58))
12
- * **editable-html:** avoid using setState multiple times PD-3221 ([6cf868b](https://github.com/pie-framework/pie-lib/commit/6cf868b549673121f60ed10530d755873d783372))
13
-
6
+ ## [11.2.1-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.1.1...@pie-lib/editable-html@11.2.1-beta.0) (2025-07-20)
14
7
 
8
+ **Note:** Version bump only for package @pie-lib/editable-html
15
9
 
16
10
 
17
11
 
18
- # [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)
19
12
 
20
13
 
21
- ### Bug Fixes
14
+ # [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)
22
15
 
23
- * 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))
16
+ **Note:** Version bump only for package @pie-lib/editable-html
24
17
 
25
18
 
26
- ### Features
27
19
 
28
- * 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))
29
20
 
30
21
 
22
+ # [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)
31
23
 
24
+ **Note:** Version bump only for package @pie-lib/editable-html
32
25
 
26
+ # [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)
33
27
 
34
- ## [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)
28
+ **Note:** Version bump only for package @pie-lib/editable-html
35
29
 
30
+ # [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)
36
31
 
37
32
  ### Bug Fixes
38
33
 
39
- * **editable-html:** add clarifying comments for HTML mode edit tracking PD-2765 ([3870a4d](https://github.com/pie-framework/pie-lib/commit/3870a4d9b2e618ae6f32e6d20713978c4d791b14))
40
- * **editable-html:** hide DoneButton on active htmlMode PD-2765 ([636a302](https://github.com/pie-framework/pie-lib/commit/636a302ab81016b2de8a16b1e6d96923d25b0592))
41
- * **editable-html:** Prevent infinite loop in componentDidUpdate by refining isEdited state check PD-2765 ([e858ad0](https://github.com/pie-framework/pie-lib/commit/e858ad030e444b6be1ea57e950e6aa3462b5f60d))
42
- * **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))
43
-
44
-
45
-
34
+ - 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))
46
35
 
36
+ ### Features
47
37
 
48
- ## [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)
38
+ - 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))
49
39
 
40
+ ## [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)
50
41
 
51
42
  ### Bug Fixes
52
43
 
53
- * revert to pie-lib/math-rendering that what working ([25660ea](https://github.com/pie-framework/pie-lib/commit/25660ea6595e800a71c5494bd3bb9eecd3609a5a))
54
-
44
+ - **editable-html:** add clarifying comments for HTML mode edit tracking PD-2765 ([3870a4d](https://github.com/pie-framework/pie-lib/commit/3870a4d9b2e618ae6f32e6d20713978c4d791b14))
45
+ - **editable-html:** hide DoneButton on active htmlMode PD-2765 ([636a302](https://github.com/pie-framework/pie-lib/commit/636a302ab81016b2de8a16b1e6d96923d25b0592))
46
+ - **editable-html:** Prevent infinite loop in componentDidUpdate by refining isEdited state check PD-2765 ([e858ad0](https://github.com/pie-framework/pie-lib/commit/e858ad030e444b6be1ea57e950e6aa3462b5f60d))
47
+ - **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))
55
48
 
49
+ ## [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)
56
50
 
51
+ ### Bug Fixes
57
52
 
53
+ - revert to pie-lib/math-rendering that what working ([25660ea](https://github.com/pie-framework/pie-lib/commit/25660ea6595e800a71c5494bd3bb9eecd3609a5a))
58
54
 
59
55
  ## [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)
60
56
 
61
57
  **Note:** Version bump only for package @pie-lib/editable-html
62
58
 
63
-
64
-
65
-
66
-
67
59
  ## [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)
68
60
 
69
61
  **Note:** Version bump only for package @pie-lib/editable-html
70
62
 
71
-
72
-
73
-
74
-
75
63
  ## [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)
76
64
 
77
65
  **Note:** Version bump only for package @pie-lib/editable-html
78
66
 
79
-
80
-
81
-
82
-
83
67
  ## [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)
84
68
 
85
69
  **Note:** Version bump only for package @pie-lib/editable-html
86
70
 
87
-
88
-
89
-
90
-
91
71
  ## [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)
92
72
 
93
-
94
73
  ### Bug Fixes
95
74
 
96
- * **charting:** adjust icon for the drag handle PD-2790 ([fe670d7](https://github.com/pie-framework/pie-lib/commit/fe670d7a04f44da5c93dadbeec41b753ce50f9f6))
97
-
98
-
99
-
100
-
75
+ - **charting:** adjust icon for the drag handle PD-2790 ([fe670d7](https://github.com/pie-framework/pie-lib/commit/fe670d7a04f44da5c93dadbeec41b753ce50f9f6))
101
76
 
102
77
  ## [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)
103
78
 
104
79
  **Note:** Version bump only for package @pie-lib/editable-html
105
80
 
106
-
107
-
108
-
109
-
110
81
  ## [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)
111
82
 
112
83
  **Note:** Version bump only for package @pie-lib/editable-html
113
84
 
114
-
115
-
116
-
117
-
118
85
  # [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)
119
86
 
120
-
121
87
  ### Bug Fixes
122
88
 
123
- * update mathml-to-latex version ([1d101d2](https://github.com/pie-framework/pie-lib/commit/1d101d22298bd480a5aec638e4c9708d5aa52ce4))
124
-
89
+ - update mathml-to-latex version ([1d101d2](https://github.com/pie-framework/pie-lib/commit/1d101d22298bd480a5aec638e4c9708d5aa52ce4))
125
90
 
126
91
  ### BREAKING CHANGES
127
92
 
128
- * updated mathml-to-latex version.
129
-
130
-
131
-
132
-
93
+ - updated mathml-to-latex version.
133
94
 
134
95
  ## [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)
135
96
 
136
-
137
97
  ### Bug Fixes
138
98
 
139
- * 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))
140
- * **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))
141
-
142
-
143
-
144
-
99
+ - 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))
100
+ - **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))
145
101
 
146
102
  ## [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)
147
103
 
148
104
  **Note:** Version bump only for package @pie-lib/editable-html
149
105
 
150
-
151
-
152
-
153
-
154
106
  ## [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)
155
107
 
156
-
157
108
  ### Bug Fixes
158
109
 
159
- * sanity check ([88e9afd](https://github.com/pie-framework/pie-lib/commit/88e9afd40b0aada05eb55284e00c7d918f029f08))
160
-
161
-
162
-
163
-
110
+ - sanity check ([88e9afd](https://github.com/pie-framework/pie-lib/commit/88e9afd40b0aada05eb55284e00c7d918f029f08))
164
111
 
165
112
  ## [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)
166
113
 
167
-
168
114
  ### Bug Fixes
169
115
 
170
- * import reduceMultipleBrs, add more details into console message PD-3167 ([5adcc05](https://github.com/pie-framework/pie-lib/commit/5adcc054e1bd5a71809827484d368d172a1255d3))
171
-
172
-
173
-
174
-
116
+ - import reduceMultipleBrs, add more details into console message PD-3167 ([5adcc05](https://github.com/pie-framework/pie-lib/commit/5adcc054e1bd5a71809827484d368d172a1255d3))
175
117
 
176
118
  ## [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)
177
119
 
178
-
179
120
  ### Bug Fixes
180
121
 
181
- * make HTML disabled by default PD-2765 ([82bd362](https://github.com/pie-framework/pie-lib/commit/82bd36240205b8e0e31043cc8559267de0d5dc30))
182
-
183
-
184
-
185
-
122
+ - make HTML disabled by default PD-2765 ([82bd362](https://github.com/pie-framework/pie-lib/commit/82bd36240205b8e0e31043cc8559267de0d5dc30))
186
123
 
187
124
  ## [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)
188
125
 
189
-
190
126
  ### Bug Fixes
191
127
 
192
- * 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))
193
-
194
-
195
-
196
-
128
+ - 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))
197
129
 
198
130
  ## [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)
199
131
 
200
-
201
132
  ### Bug Fixes
202
133
 
203
- * 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))
204
-
205
-
206
-
207
-
134
+ - 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))
208
135
 
209
136
  # [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)
210
137
 
211
-
212
138
  ### Bug Fixes
213
139
 
214
- * **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))
215
-
140
+ - **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))
216
141
 
217
142
  ### Features
218
143
 
219
- * **editable-html:** display warning dialog conditional on edits in HTML mode PD-2765 ([58d66d5](https://github.com/pie-framework/pie-lib/commit/58d66d57668a8288f32e3e6ed78cf97a61f58b17))
220
- * **editable-html:** display warning dialog upon exiting html mode PD-2765 ([8fd9fb9](https://github.com/pie-framework/pie-lib/commit/8fd9fb964f681d261e22ec09aa8b8e6def2f7744))
221
- * **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))
222
- * **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))
223
- * **editable-html:** only show relevant toolbar buttons in HTML mode PD-2765 ([ed36dcb](https://github.com/pie-framework/pie-lib/commit/ed36dcb9a95f3d990da967f65e942922b60e42e6))
224
- * **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))
225
- * **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))
226
-
144
+ - **editable-html:** display warning dialog conditional on edits in HTML mode PD-2765 ([58d66d5](https://github.com/pie-framework/pie-lib/commit/58d66d57668a8288f32e3e6ed78cf97a61f58b17))
145
+ - **editable-html:** display warning dialog upon exiting html mode PD-2765 ([8fd9fb9](https://github.com/pie-framework/pie-lib/commit/8fd9fb964f681d261e22ec09aa8b8e6def2f7744))
146
+ - **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))
147
+ - **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))
148
+ - **editable-html:** only show relevant toolbar buttons in HTML mode PD-2765 ([ed36dcb](https://github.com/pie-framework/pie-lib/commit/ed36dcb9a95f3d990da967f65e942922b60e42e6))
149
+ - **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))
150
+ - **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))
227
151
 
228
152
  ### BREAKING CHANGES
229
153
 
230
- * **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.
231
-
232
-
233
-
234
-
154
+ - **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.
235
155
 
236
156
  ## [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)
237
157
 
238
-
239
158
  ### Bug Fixes
240
159
 
241
- * revert revert changes made for PD-3051 because they were causing PD-3119 ([371111c](https://github.com/pie-framework/pie-lib/commit/371111c26e0b0f886724f72ea67df0da3febef74))
242
-
243
-
244
-
245
-
160
+ - revert revert changes made for PD-3051 because they were causing PD-3119 ([371111c](https://github.com/pie-framework/pie-lib/commit/371111c26e0b0f886724f72ea67df0da3febef74))
246
161
 
247
162
  ## [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)
248
163
 
249
164
  **Note:** Version bump only for package @pie-lib/editable-html
250
165
 
251
-
252
-
253
-
254
-
255
166
  ## [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)
256
167
 
257
168
  **Note:** Version bump only for package @pie-lib/editable-html
258
169
 
259
-
260
-
261
-
262
-
263
170
  ## [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)
264
171
 
265
-
266
172
  ### Bug Fixes
267
173
 
268
- * 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))
269
-
270
-
271
-
272
-
174
+ - 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))
273
175
 
274
176
  ## [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)
275
177
 
276
178
  **Note:** Version bump only for package @pie-lib/editable-html
277
179
 
278
-
279
-
280
-
281
-
282
180
  ## [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)
283
181
 
284
182
  **Note:** Version bump only for package @pie-lib/editable-html
285
183
 
286
-
287
-
288
-
289
-
290
184
  ## [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)
291
185
 
292
186
  **Note:** Version bump only for package @pie-lib/editable-html
293
187
 
294
-
295
-
296
-
297
-
298
188
  ## [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)
299
189
 
300
-
301
190
  ### Bug Fixes
302
191
 
303
- * made sure mathMlOptions are editable live [PD-2150] ([31ce3d3](https://github.com/pie-framework/pie-lib/commit/31ce3d3536788021b912895c611f972aa87161b0))
304
-
305
-
306
-
307
-
192
+ - made sure mathMlOptions are editable live [PD-2150](<[31ce3d3](https://github.com/pie-framework/pie-lib/commit/31ce3d3536788021b912895c611f972aa87161b0)>)
308
193
 
309
194
  # [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)
310
195
 
311
-
312
196
  ### Features
313
197
 
314
- * **editable-html:** make error class important to avoid overwriting ([37af2fc](https://github.com/pie-framework/pie-lib/commit/37af2fc862f3e5d0dfd0b1ad42fbd462d98bac89))
315
-
316
-
317
-
318
-
198
+ - **editable-html:** make error class important to avoid overwriting ([37af2fc](https://github.com/pie-framework/pie-lib/commit/37af2fc862f3e5d0dfd0b1ad42fbd462d98bac89))
319
199
 
320
200
  ## [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)
321
201
 
322
202
  **Note:** Version bump only for package @pie-lib/editable-html
323
203
 
324
-
325
-
326
-
327
-
328
204
  ## [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)
329
205
 
330
206
  **Note:** Version bump only for package @pie-lib/editable-html
@@ -0,0 +1 @@
1
+ []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/editable-html",
3
- "version": "11.1.2-next.0+30707508",
3
+ "version": "11.2.1-beta.0",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "main": "lib/index.js",
@@ -10,10 +10,13 @@
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/drag": "^2.2.9",
14
- "@pie-lib/math-rendering": "2.5.18",
15
- "@pie-lib/math-toolbar": "^1.11.30",
16
- "@pie-lib/render-ui": "^4.15.9",
13
+ "@pie-lib/config-ui": "beta",
14
+ "@pie-lib/drag": "^2.3.1-beta.0",
15
+ "@pie-lib/icons": "beta",
16
+ "@pie-lib/math-input": "beta",
17
+ "@pie-lib/math-rendering": "^3.3.1-beta.0",
18
+ "@pie-lib/math-toolbar": "^1.12.1-beta.0",
19
+ "@pie-lib/render-ui": "^4.16.1-beta.0",
17
20
  "change-case": "^3.0.2",
18
21
  "classnames": "^2.2.6",
19
22
  "debug": "^4.1.1",
@@ -28,6 +31,7 @@
28
31
  "slate-dev-environment": "^0.2.0",
29
32
  "slate-edit-list": "^0.11.3",
30
33
  "slate-edit-table": "^0.17.0",
34
+ "slate-hotkeys": "0.2.11",
31
35
  "slate-html-serializer": "^0.6.12",
32
36
  "slate-plain-serializer": "^0.5.26",
33
37
  "slate-prop-types": "^0.4.38",
@@ -47,6 +51,6 @@
47
51
  "publishConfig": {
48
52
  "access": "public"
49
53
  },
50
- "gitHead": "30707508d803994b5af7f1d82940c3442f3a3f89",
54
+ "gitHead": "e2aa3ddac60f49bcb8c2562370f496323642f453",
51
55
  "scripts": {}
52
56
  }