@pie-lib/editable-html 11.1.2-next.0 → 11.2.0-beta.2

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 +50 -158
  2. package/NEXT.CHANGELOG.json +1 -0
  3. package/package.json +11 -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,220 @@
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)
6
+ # [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)
7
7
 
8
+ **Note:** Version bump only for package @pie-lib/editable-html
8
9
 
9
- ### Bug Fixes
10
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
11
 
14
12
 
15
13
 
14
+ # [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)
16
15
 
16
+ **Note:** Version bump only for package @pie-lib/editable-html
17
17
 
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
18
 
20
19
 
21
- ### Bug Fixes
22
20
 
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))
24
21
 
22
+ # [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)
25
23
 
26
- ### Features
24
+ **Note:** Version bump only for package @pie-lib/editable-html
27
25
 
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
26
 
30
27
 
31
28
 
32
29
 
30
+ # [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)
33
31
 
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)
32
+ **Note:** Version bump only for package @pie-lib/editable-html
35
33
 
36
34
 
37
- ### Bug Fixes
38
35
 
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
36
 
44
37
 
38
+ # [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)
45
39
 
40
+ **Note:** Version bump only for package @pie-lib/editable-html
46
41
 
42
+ # [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)
47
43
 
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)
44
+ **Note:** Version bump only for package @pie-lib/editable-html
49
45
 
46
+ # [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)
50
47
 
51
48
  ### Bug Fixes
52
49
 
53
- * revert to pie-lib/math-rendering that what working ([25660ea](https://github.com/pie-framework/pie-lib/commit/25660ea6595e800a71c5494bd3bb9eecd3609a5a))
50
+ - 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))
54
51
 
52
+ ### Features
55
53
 
54
+ - 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))
56
55
 
56
+ ## [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)
57
57
 
58
+ ### Bug Fixes
58
59
 
59
- ## [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
+ - **editable-html:** add clarifying comments for HTML mode edit tracking PD-2765 ([3870a4d](https://github.com/pie-framework/pie-lib/commit/3870a4d9b2e618ae6f32e6d20713978c4d791b14))
61
+ - **editable-html:** hide DoneButton on active htmlMode PD-2765 ([636a302](https://github.com/pie-framework/pie-lib/commit/636a302ab81016b2de8a16b1e6d96923d25b0592))
62
+ - **editable-html:** Prevent infinite loop in componentDidUpdate by refining isEdited state check PD-2765 ([e858ad0](https://github.com/pie-framework/pie-lib/commit/e858ad030e444b6be1ea57e950e6aa3462b5f60d))
63
+ - **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))
60
64
 
61
- **Note:** Version bump only for package @pie-lib/editable-html
65
+ ## [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)
62
66
 
67
+ ### Bug Fixes
63
68
 
69
+ - revert to pie-lib/math-rendering that what working ([25660ea](https://github.com/pie-framework/pie-lib/commit/25660ea6595e800a71c5494bd3bb9eecd3609a5a))
64
70
 
71
+ ## [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)
65
72
 
73
+ **Note:** Version bump only for package @pie-lib/editable-html
66
74
 
67
75
  ## [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
76
 
69
77
  **Note:** Version bump only for package @pie-lib/editable-html
70
78
 
71
-
72
-
73
-
74
-
75
79
  ## [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
80
 
77
81
  **Note:** Version bump only for package @pie-lib/editable-html
78
82
 
79
-
80
-
81
-
82
-
83
83
  ## [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
84
 
85
85
  **Note:** Version bump only for package @pie-lib/editable-html
86
86
 
87
-
88
-
89
-
90
-
91
87
  ## [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
88
 
93
-
94
89
  ### Bug Fixes
95
90
 
96
- * **charting:** adjust icon for the drag handle PD-2790 ([fe670d7](https://github.com/pie-framework/pie-lib/commit/fe670d7a04f44da5c93dadbeec41b753ce50f9f6))
97
-
98
-
99
-
100
-
91
+ - **charting:** adjust icon for the drag handle PD-2790 ([fe670d7](https://github.com/pie-framework/pie-lib/commit/fe670d7a04f44da5c93dadbeec41b753ce50f9f6))
101
92
 
102
93
  ## [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
94
 
104
95
  **Note:** Version bump only for package @pie-lib/editable-html
105
96
 
106
-
107
-
108
-
109
-
110
97
  ## [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
98
 
112
99
  **Note:** Version bump only for package @pie-lib/editable-html
113
100
 
114
-
115
-
116
-
117
-
118
101
  # [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
102
 
120
-
121
103
  ### Bug Fixes
122
104
 
123
- * update mathml-to-latex version ([1d101d2](https://github.com/pie-framework/pie-lib/commit/1d101d22298bd480a5aec638e4c9708d5aa52ce4))
124
-
105
+ - update mathml-to-latex version ([1d101d2](https://github.com/pie-framework/pie-lib/commit/1d101d22298bd480a5aec638e4c9708d5aa52ce4))
125
106
 
126
107
  ### BREAKING CHANGES
127
108
 
128
- * updated mathml-to-latex version.
129
-
130
-
131
-
132
-
109
+ - updated mathml-to-latex version.
133
110
 
134
111
  ## [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
112
 
136
-
137
113
  ### Bug Fixes
138
114
 
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
-
115
+ - 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))
116
+ - **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
117
 
146
118
  ## [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
119
 
148
120
  **Note:** Version bump only for package @pie-lib/editable-html
149
121
 
150
-
151
-
152
-
153
-
154
122
  ## [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
123
 
156
-
157
124
  ### Bug Fixes
158
125
 
159
- * sanity check ([88e9afd](https://github.com/pie-framework/pie-lib/commit/88e9afd40b0aada05eb55284e00c7d918f029f08))
160
-
161
-
162
-
163
-
126
+ - sanity check ([88e9afd](https://github.com/pie-framework/pie-lib/commit/88e9afd40b0aada05eb55284e00c7d918f029f08))
164
127
 
165
128
  ## [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
129
 
167
-
168
130
  ### Bug Fixes
169
131
 
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
-
132
+ - import reduceMultipleBrs, add more details into console message PD-3167 ([5adcc05](https://github.com/pie-framework/pie-lib/commit/5adcc054e1bd5a71809827484d368d172a1255d3))
175
133
 
176
134
  ## [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
135
 
178
-
179
136
  ### Bug Fixes
180
137
 
181
- * make HTML disabled by default PD-2765 ([82bd362](https://github.com/pie-framework/pie-lib/commit/82bd36240205b8e0e31043cc8559267de0d5dc30))
182
-
183
-
184
-
185
-
138
+ - make HTML disabled by default PD-2765 ([82bd362](https://github.com/pie-framework/pie-lib/commit/82bd36240205b8e0e31043cc8559267de0d5dc30))
186
139
 
187
140
  ## [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
141
 
189
-
190
142
  ### Bug Fixes
191
143
 
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
-
144
+ - 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
145
 
198
146
  ## [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
147
 
200
-
201
148
  ### Bug Fixes
202
149
 
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
-
150
+ - 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
151
 
209
152
  # [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
153
 
211
-
212
154
  ### Bug Fixes
213
155
 
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
-
156
+ - **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
157
 
217
158
  ### Features
218
159
 
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
-
160
+ - **editable-html:** display warning dialog conditional on edits in HTML mode PD-2765 ([58d66d5](https://github.com/pie-framework/pie-lib/commit/58d66d57668a8288f32e3e6ed78cf97a61f58b17))
161
+ - **editable-html:** display warning dialog upon exiting html mode PD-2765 ([8fd9fb9](https://github.com/pie-framework/pie-lib/commit/8fd9fb964f681d261e22ec09aa8b8e6def2f7744))
162
+ - **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))
163
+ - **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))
164
+ - **editable-html:** only show relevant toolbar buttons in HTML mode PD-2765 ([ed36dcb](https://github.com/pie-framework/pie-lib/commit/ed36dcb9a95f3d990da967f65e942922b60e42e6))
165
+ - **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))
166
+ - **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
167
 
228
168
  ### BREAKING CHANGES
229
169
 
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
-
170
+ - **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
171
 
236
172
  ## [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
173
 
238
-
239
174
  ### Bug Fixes
240
175
 
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
-
176
+ - revert revert changes made for PD-3051 because they were causing PD-3119 ([371111c](https://github.com/pie-framework/pie-lib/commit/371111c26e0b0f886724f72ea67df0da3febef74))
246
177
 
247
178
  ## [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
179
 
249
180
  **Note:** Version bump only for package @pie-lib/editable-html
250
181
 
251
-
252
-
253
-
254
-
255
182
  ## [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
183
 
257
184
  **Note:** Version bump only for package @pie-lib/editable-html
258
185
 
259
-
260
-
261
-
262
-
263
186
  ## [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
187
 
265
-
266
188
  ### Bug Fixes
267
189
 
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
-
190
+ - 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
191
 
274
192
  ## [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
193
 
276
194
  **Note:** Version bump only for package @pie-lib/editable-html
277
195
 
278
-
279
-
280
-
281
-
282
196
  ## [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
197
 
284
198
  **Note:** Version bump only for package @pie-lib/editable-html
285
199
 
286
-
287
-
288
-
289
-
290
200
  ## [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
201
 
292
202
  **Note:** Version bump only for package @pie-lib/editable-html
293
203
 
294
-
295
-
296
-
297
-
298
204
  ## [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
205
 
300
-
301
206
  ### Bug Fixes
302
207
 
303
- * made sure mathMlOptions are editable live [PD-2150] ([31ce3d3](https://github.com/pie-framework/pie-lib/commit/31ce3d3536788021b912895c611f972aa87161b0))
304
-
305
-
306
-
307
-
208
+ - made sure mathMlOptions are editable live [PD-2150](<[31ce3d3](https://github.com/pie-framework/pie-lib/commit/31ce3d3536788021b912895c611f972aa87161b0)>)
308
209
 
309
210
  # [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
211
 
311
-
312
212
  ### Features
313
213
 
314
- * **editable-html:** make error class important to avoid overwriting ([37af2fc](https://github.com/pie-framework/pie-lib/commit/37af2fc862f3e5d0dfd0b1ad42fbd462d98bac89))
315
-
316
-
317
-
318
-
214
+ - **editable-html:** make error class important to avoid overwriting ([37af2fc](https://github.com/pie-framework/pie-lib/commit/37af2fc862f3e5d0dfd0b1ad42fbd462d98bac89))
319
215
 
320
216
  ## [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
217
 
322
218
  **Note:** Version bump only for package @pie-lib/editable-html
323
219
 
324
-
325
-
326
-
327
-
328
220
  ## [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
221
 
330
222
  **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.0-beta.2",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "main": "lib/index.js",
@@ -10,10 +10,14 @@
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": "beta",
15
+ "@pie-lib/icons": "beta",
16
+ "@pie-lib/math-input": "beta",
17
+ "@pie-lib/math-rendering": "beta",
18
+ "@pie-lib/math-toolbar": "beta",
19
+ "@pie-lib/render-ui": "beta",
20
+ "@pie-lib/tools": "beta",
17
21
  "change-case": "^3.0.2",
18
22
  "classnames": "^2.2.6",
19
23
  "debug": "^4.1.1",
@@ -28,6 +32,7 @@
28
32
  "slate-dev-environment": "^0.2.0",
29
33
  "slate-edit-list": "^0.11.3",
30
34
  "slate-edit-table": "^0.17.0",
35
+ "slate-hotkeys": "0.2.11",
31
36
  "slate-html-serializer": "^0.6.12",
32
37
  "slate-plain-serializer": "^0.5.26",
33
38
  "slate-prop-types": "^0.4.38",
@@ -47,6 +52,6 @@
47
52
  "publishConfig": {
48
53
  "access": "public"
49
54
  },
50
- "gitHead": "30707508d803994b5af7f1d82940c3442f3a3f89",
55
+ "gitHead": "e2aa3ddac60f49bcb8c2562370f496323642f453",
51
56
  "scripts": {}
52
57
  }