jodit 3.14.2 → 3.15.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 (106) hide show
  1. package/.idea/workspace.xml +140 -130
  2. package/CHANGELOG.MD +39 -5
  3. package/build/jodit.css +3 -3
  4. package/build/jodit.es2018.css +2 -2
  5. package/build/jodit.es2018.en.css +2 -2
  6. package/build/jodit.es2018.en.js +8264 -8957
  7. package/build/jodit.es2018.en.min.css +1 -1
  8. package/build/jodit.es2018.en.min.js +1 -1
  9. package/build/jodit.es2018.js +8283 -8976
  10. package/build/jodit.es2018.min.css +1 -1
  11. package/build/jodit.es2018.min.js +1 -1
  12. package/build/jodit.js +19569 -19209
  13. package/build/jodit.min.css +2 -2
  14. package/build/jodit.min.js +1 -1
  15. package/build/vdom.css +7 -3001
  16. package/build/vdom.js +373 -16548
  17. package/package.json +14 -14
  18. package/src/core/async/async.ts +7 -9
  19. package/src/core/component/component.ts +4 -4
  20. package/src/core/constants.ts +11 -2
  21. package/src/core/dom/dom.ts +23 -26
  22. package/src/core/helpers/html/apply-styles.ts +41 -25
  23. package/src/core/helpers/html/clean-from-word.ts +1 -1
  24. package/src/core/helpers/utils/utils.ts +2 -2
  25. package/src/core/selection/helpers/index.ts +12 -0
  26. package/src/core/selection/helpers/move-node-inside-start.ts +42 -0
  27. package/src/core/selection/helpers/move-the-node-along-the-edge-outward.ts +36 -0
  28. package/src/core/selection/select.ts +91 -4
  29. package/src/core/ui/popup/popup.ts +7 -8
  30. package/src/core/vdom/README.md +2 -0
  31. package/src/core/vdom/helpers/index.ts +2 -4
  32. package/src/core/vdom/index.ts +1 -0
  33. package/src/core/vdom/render/index.ts +1 -1
  34. package/src/core/vdom/v-dom-jodit.less +12 -0
  35. package/src/core/vdom/v-dom-jodit.ts +44 -0
  36. package/src/jodit.ts +5 -0
  37. package/src/modules/image-editor/image-editor.ts +4 -1
  38. package/src/modules/toolbar/button/button.ts +59 -8
  39. package/src/modules/toolbar/collection/editor-collection.ts +1 -1
  40. package/src/modules/widget/tabs/tabs.ts +39 -18
  41. package/src/plugins/clipboard/config.ts +0 -168
  42. package/src/plugins/clipboard/index.ts +1 -0
  43. package/src/plugins/clipboard/paste/config.ts +144 -0
  44. package/src/plugins/clipboard/paste/helpers.ts +122 -10
  45. package/src/plugins/clipboard/paste/interface.ts +29 -0
  46. package/src/plugins/clipboard/paste/paste.ts +14 -174
  47. package/src/plugins/clipboard/paste-from-word/README.md +1 -0
  48. package/src/plugins/clipboard/paste-from-word/config.ts +41 -0
  49. package/src/plugins/clipboard/paste-from-word/paste-from-word.ts +118 -0
  50. package/src/plugins/fix/wrap-text-nodes.ts +15 -0
  51. package/src/plugins/font/font.ts +1 -1
  52. package/src/plugins/iframe/iframe.ts +9 -2
  53. package/src/plugins/image/image-properties/image-properties.ts +15 -6
  54. package/src/plugins/image/image-properties/templates/position-tab.ts +12 -12
  55. package/src/plugins/index.ts +7 -1
  56. package/src/plugins/keyboard/backspace/backspace.ts +2 -2
  57. package/src/plugins/keyboard/backspace/cases/check-remove-char.ts +4 -7
  58. package/src/plugins/keyboard/backspace/cases/check-remove-content-not-editable.ts +2 -2
  59. package/src/plugins/keyboard/helpers.ts +1 -35
  60. package/src/plugins/placeholder/config.ts +56 -0
  61. package/src/plugins/placeholder/placeholder.ts +7 -51
  62. package/src/plugins/select/README.md +8 -0
  63. package/src/plugins/select/config.ts +31 -0
  64. package/src/plugins/select/select.ts +37 -1
  65. package/src/styles/jodit.less +1 -1
  66. package/src/types/popup.d.ts +2 -1
  67. package/src/types/select.d.ts +3 -2
  68. package/tsdoc.json +5 -0
  69. package/types/core/dom/dom.d.ts +2 -1
  70. package/types/core/helpers/html/apply-styles.d.ts +5 -0
  71. package/types/core/selection/helpers/index.d.ts +10 -0
  72. package/types/core/selection/helpers/move-node-inside-start.d.ts +14 -0
  73. package/types/core/selection/helpers/move-the-node-along-the-edge-outward.d.ts +6 -0
  74. package/types/core/selection/select.d.ts +3 -2
  75. package/types/core/ui/popup/popup.d.ts +1 -0
  76. package/types/modules/toolbar/button/button.d.ts +8 -0
  77. package/types/modules/widget/tabs/tabs.d.ts +6 -6
  78. package/types/plugins/clipboard/config.d.ts +1 -50
  79. package/types/plugins/clipboard/index.d.ts +1 -0
  80. package/types/plugins/clipboard/paste/config.d.ts +36 -0
  81. package/types/plugins/clipboard/paste/helpers.d.ts +6 -1
  82. package/types/plugins/clipboard/paste/interface.d.ts +15 -0
  83. package/types/plugins/clipboard/paste/paste.d.ts +2 -13
  84. package/types/plugins/clipboard/paste-from-word/config.d.ts +31 -0
  85. package/types/plugins/clipboard/paste-from-word/paste-from-word.d.ts +26 -0
  86. package/types/plugins/fix/wrap-text-nodes.d.ts +1 -0
  87. package/types/plugins/iframe/iframe.d.ts +1 -1
  88. package/types/plugins/image/image-properties/image-properties.d.ts +1 -0
  89. package/types/plugins/index.d.ts +1 -1
  90. package/types/plugins/keyboard/helpers.d.ts +1 -7
  91. package/types/plugins/placeholder/config.d.ts +44 -0
  92. package/types/plugins/placeholder/placeholder.d.ts +1 -38
  93. package/types/plugins/select/config.d.ts +21 -0
  94. package/types/plugins/select/select.d.ts +5 -0
  95. package/types/types/popup.d.ts +2 -1
  96. package/types/types/select.d.ts +3 -2
  97. package/build/vdom.es2018.css +0 -3012
  98. package/build/vdom.es2018.en.css +0 -3012
  99. package/build/vdom.es2018.en.js +0 -14153
  100. package/build/vdom.es2018.en.min.css +0 -1
  101. package/build/vdom.es2018.en.min.js +0 -1
  102. package/build/vdom.es2018.js +0 -14153
  103. package/build/vdom.es2018.min.css +0 -1
  104. package/build/vdom.es2018.min.js +0 -1
  105. package/build/vdom.min.css +0 -1
  106. package/build/vdom.min.js +0 -1
@@ -11,9 +11,7 @@
11
11
  <select />
12
12
  </component>
13
13
  <component name="ChangeListManager">
14
- <list default="true" id="5da7ff7f-03a8-49de-9fbb-8f8640d83b83" name="Default Changelist" comment="">
15
- <change afterPath="$PROJECT_DIR$/src/modules/image-editor/config.ts" afterDir="false" />
16
- <change beforePath="$PROJECT_DIR$/CHANGELOG.MD" beforeDir="false" afterPath="$PROJECT_DIR$/CHANGELOG.MD" afterDir="false" />
14
+ <list default="true" id="5da7ff7f-03a8-49de-9fbb-8f8640d83b83" name="Default Changelist" comment=" Dropdowns not hiding when clicking again on the arrow #791&#10; Issue: https://github.com/xdan/jodit/issues/791">
17
15
  <change beforePath="$PROJECT_DIR$/build/jodit.css" beforeDir="false" />
18
16
  <change beforePath="$PROJECT_DIR$/build/jodit.es2018.css" beforeDir="false" />
19
17
  <change beforePath="$PROJECT_DIR$/build/jodit.es2018.en.css" beforeDir="false" />
@@ -23,12 +21,14 @@
23
21
  <change beforePath="$PROJECT_DIR$/build/jodit.es2018.js" beforeDir="false" />
24
22
  <change beforePath="$PROJECT_DIR$/build/jodit.es2018.min.css" beforeDir="false" />
25
23
  <change beforePath="$PROJECT_DIR$/build/jodit.es2018.min.js" beforeDir="false" />
26
- <change beforePath="$PROJECT_DIR$/build/jodit.js" beforeDir="false" />
24
+ <change beforePath="$PROJECT_DIR$/build/jodit.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/jodit.js" afterDir="false" />
27
25
  <change beforePath="$PROJECT_DIR$/build/jodit.min.css" beforeDir="false" />
28
26
  <change beforePath="$PROJECT_DIR$/build/jodit.min.js" beforeDir="false" />
29
- <change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" />
30
- <change beforePath="$PROJECT_DIR$/src/modules/image-editor/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/src/modules/image-editor/README.md" afterDir="false" />
31
- <change beforePath="$PROJECT_DIR$/src/modules/image-editor/image-editor.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/modules/image-editor/image-editor.ts" afterDir="false" />
27
+ <change beforePath="$PROJECT_DIR$/build/vdom.css" beforeDir="false" />
28
+ <change beforePath="$PROJECT_DIR$/build/vdom.js" beforeDir="false" />
29
+ <change beforePath="$PROJECT_DIR$/src/modules/widget/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/modules/widget/index.ts" afterDir="false" />
30
+ <change beforePath="$PROJECT_DIR$/test/tests/acceptance/plugins/orderedList.js" beforeDir="false" afterPath="$PROJECT_DIR$/test/tests/acceptance/plugins/orderedList.js" afterDir="false" />
31
+ <change beforePath="$PROJECT_DIR$/test/tests/acceptance/toolbarTest.js" beforeDir="false" afterPath="$PROJECT_DIR$/test/tests/acceptance/toolbarTest.js" afterDir="false" />
32
32
  </list>
33
33
  <list id="5049e1d4-15bc-4e3a-b46b-d2ce7537fc13" name="Revert &quot;Some small fixes&quot;" comment="Revert &quot;Some small fixes&quot;&#10;&#10;This reverts commit bc391ec6" />
34
34
  <option name="SHOW_DIALOG" value="false" />
@@ -151,11 +151,11 @@
151
151
  <recent name="$PROJECT_DIR$/src/modules/widget/color-picker" />
152
152
  </key>
153
153
  <key name="MoveFile.RECENT_KEYS">
154
+ <recent name="$PROJECT_DIR$/src/plugins/clipboard/paste-from-word.ts" />
155
+ <recent name="$PROJECT_DIR$/src/plugins/clipboard" />
154
156
  <recent name="$PROJECT_DIR$/src/core/vdom/helpers" />
155
157
  <recent name="$PROJECT_DIR$/src/plugins/keyboard/tab" />
156
158
  <recent name="$PROJECT_DIR$/src/core/helpers/utils" />
157
- <recent name="$PROJECT_DIR$/src/modules/file-browser" />
158
- <recent name="$PROJECT_DIR$/src/modules/file-browser/builders" />
159
159
  </key>
160
160
  </component>
161
161
  <component name="RunManager" selected="Shell Script.build">
@@ -834,112 +834,17 @@
834
834
  <workItem from="1645104766750" duration="651000" />
835
835
  <workItem from="1645118303332" duration="3746000" />
836
836
  <workItem from="1645190455007" duration="20241000" />
837
- <workItem from="1645384574862" duration="2872000" />
838
- </task>
839
- <task id="LOCAL-00970" summary="Change getElm signature">
840
- <created>1643148352397</created>
841
- <option name="number" value="00970" />
842
- <option name="presentableId" value="LOCAL-00970" />
843
- <option name="project" value="LOCAL" />
844
- <updated>1643148352397</updated>
845
- </task>
846
- <task id="LOCAL-00971" summary="Added documentation for icons system">
847
- <created>1643149295377</created>
848
- <option name="number" value="00971" />
849
- <option name="presentableId" value="LOCAL-00971" />
850
- <option name="project" value="LOCAL" />
851
- <updated>1643149295377</updated>
852
- </task>
853
- <task id="LOCAL-00972" summary="Change doc">
854
- <created>1643149657760</created>
855
- <option name="number" value="00972" />
856
- <option name="presentableId" value="LOCAL-00972" />
857
- <option name="project" value="LOCAL" />
858
- <updated>1643149657760</updated>
859
- </task>
860
- <task id="LOCAL-00973" summary="Change doc">
861
- <created>1643149686231</created>
862
- <option name="number" value="00973" />
863
- <option name="presentableId" value="LOCAL-00973" />
864
- <option name="project" value="LOCAL" />
865
- <updated>1643149686231</updated>
866
- </task>
867
- <task id="LOCAL-00974" summary="Change observable system">
868
- <created>1643214062094</created>
869
- <option name="number" value="00974" />
870
- <option name="presentableId" value="LOCAL-00974" />
871
- <option name="project" value="LOCAL" />
872
- <updated>1643214062094</updated>
873
- </task>
874
- <task id="LOCAL-00975" summary="Fixed tests fow Windows">
875
- <created>1643302460859</created>
876
- <option name="number" value="00975" />
877
- <option name="presentableId" value="LOCAL-00975" />
878
- <option name="project" value="LOCAL" />
879
- <updated>1643302460859</updated>
880
- </task>
881
- <task id="LOCAL-00976" summary="Fixed tests fow Windows">
882
- <created>1643303120062</created>
883
- <option name="number" value="00976" />
884
- <option name="presentableId" value="LOCAL-00976" />
885
- <option name="project" value="LOCAL" />
886
- <updated>1643303120062</updated>
887
- </task>
888
- <task id="LOCAL-00977" summary="Fixed tests fow Windows">
889
- <created>1643304111561</created>
890
- <option name="number" value="00977" />
891
- <option name="presentableId" value="LOCAL-00977" />
892
- <option name="project" value="LOCAL" />
893
- <updated>1643304111561</updated>
894
- </task>
895
- <task id="LOCAL-00978" summary="Fixed tests fow Windows">
896
- <created>1643304519949</created>
897
- <option name="number" value="00978" />
898
- <option name="presentableId" value="LOCAL-00978" />
899
- <option name="project" value="LOCAL" />
900
- <updated>1643304519949</updated>
901
- </task>
902
- <task id="LOCAL-00979" summary="Partially fixed bug when building Jodit with babel minimizer, some classes are not defined as instanceof">
903
- <created>1643581406596</created>
904
- <option name="number" value="00979" />
905
- <option name="presentableId" value="LOCAL-00979" />
906
- <option name="project" value="LOCAL" />
907
- <updated>1643581406610</updated>
908
- </task>
909
- <task id="LOCAL-00980" summary="Fixed type definition">
910
- <created>1643584353330</created>
911
- <option name="number" value="00980" />
912
- <option name="presentableId" value="LOCAL-00980" />
913
- <option name="project" value="LOCAL" />
914
- <updated>1643584353330</updated>
915
- </task>
916
- <task id="LOCAL-00981" summary="Small ref">
917
- <created>1643656093281</created>
918
- <option name="number" value="00981" />
919
- <option name="presentableId" value="LOCAL-00981" />
920
- <option name="project" value="LOCAL" />
921
- <updated>1643656093281</updated>
922
- </task>
923
- <task id="LOCAL-00982" summary="CVE-2021-23382">
924
- <created>1643656310473</created>
925
- <option name="number" value="00982" />
926
- <option name="presentableId" value="LOCAL-00982" />
927
- <option name="project" value="LOCAL" />
928
- <updated>1643656310473</updated>
929
- </task>
930
- <task id="LOCAL-00983" summary="CVE-2021-23382">
931
- <created>1643656328311</created>
932
- <option name="number" value="00983" />
933
- <option name="presentableId" value="LOCAL-00983" />
934
- <option name="project" value="LOCAL" />
935
- <updated>1643656328311</updated>
936
- </task>
937
- <task id="LOCAL-00984" summary="Small refactoring">
938
- <created>1644175276560</created>
939
- <option name="number" value="00984" />
940
- <option name="presentableId" value="LOCAL-00984" />
941
- <option name="project" value="LOCAL" />
942
- <updated>1644175276560</updated>
837
+ <workItem from="1645384574862" duration="9766000" />
838
+ <workItem from="1645444167430" duration="1516000" />
839
+ <workItem from="1645454258518" duration="240000" />
840
+ <workItem from="1645458108131" duration="572000" />
841
+ <workItem from="1645697552209" duration="12561000" />
842
+ <workItem from="1645912735198" duration="2035000" />
843
+ <workItem from="1646064653288" duration="3633000" />
844
+ <workItem from="1646232185136" duration="148000" />
845
+ <workItem from="1646236907442" duration="1678000" />
846
+ <workItem from="1646315047402" duration="21336000" />
847
+ <workItem from="1646348592551" duration="21736000" />
943
848
  </task>
944
849
  <task id="LOCAL-00985" summary="Added tab plugin">
945
850
  <created>1644263671136</created>
@@ -1179,7 +1084,112 @@
1179
1084
  <option name="project" value="LOCAL" />
1180
1085
  <updated>1645388478100</updated>
1181
1086
  </task>
1182
- <option name="localTasksCounter" value="1019" />
1087
+ <task id="LOCAL-01019" summary="Small image-editor refactoring">
1088
+ <created>1645389198305</created>
1089
+ <option name="number" value="01019" />
1090
+ <option name="presentableId" value="LOCAL-01019" />
1091
+ <option name="project" value="LOCAL" />
1092
+ <updated>1645389198305</updated>
1093
+ </task>
1094
+ <task id="LOCAL-01020" summary="Small image-editor refactoring">
1095
+ <created>1645390051111</created>
1096
+ <option name="number" value="01020" />
1097
+ <option name="presentableId" value="LOCAL-01020" />
1098
+ <option name="project" value="LOCAL" />
1099
+ <updated>1645390051111</updated>
1100
+ </task>
1101
+ <task id="LOCAL-01021" summary="Fixed issue Ordered Bullets are getting changed to unordered bullets after copy and pasting within the editor #789&#10;Issue: https://github.com/xdan/jodit/issues/789">
1102
+ <created>1646343207140</created>
1103
+ <option name="number" value="01021" />
1104
+ <option name="presentableId" value="LOCAL-01021" />
1105
+ <option name="project" value="LOCAL" />
1106
+ <updated>1646343207140</updated>
1107
+ </task>
1108
+ <task id="LOCAL-01022" summary="Update npm and duck typing Dom.isNode">
1109
+ <created>1646343502774</created>
1110
+ <option name="number" value="01022" />
1111
+ <option name="presentableId" value="LOCAL-01022" />
1112
+ <option name="project" value="LOCAL" />
1113
+ <updated>1646343502774</updated>
1114
+ </task>
1115
+ <task id="LOCAL-01023" summary="Fixed bug inside placeholder plugin">
1116
+ <created>1646343584950</created>
1117
+ <option name="number" value="01023" />
1118
+ <option name="presentableId" value="LOCAL-01023" />
1119
+ <option name="project" value="LOCAL" />
1120
+ <updated>1646343584950</updated>
1121
+ </task>
1122
+ <task id="LOCAL-01024" summary="Refactoring paste plugin">
1123
+ <created>1646343640819</created>
1124
+ <option name="number" value="01024" />
1125
+ <option name="presentableId" value="LOCAL-01024" />
1126
+ <option name="project" value="LOCAL" />
1127
+ <updated>1646343640819</updated>
1128
+ </task>
1129
+ <task id="LOCAL-01025" summary="Extract logic with paste from word inside separate plugin">
1130
+ <created>1646343669675</created>
1131
+ <option name="number" value="01025" />
1132
+ <option name="presentableId" value="LOCAL-01025" />
1133
+ <option name="project" value="LOCAL" />
1134
+ <updated>1646343669675</updated>
1135
+ </task>
1136
+ <task id="LOCAL-01026" summary="Extract logic with paste from word inside separate plugin">
1137
+ <created>1646343680982</created>
1138
+ <option name="number" value="01026" />
1139
+ <option name="presentableId" value="LOCAL-01026" />
1140
+ <option name="project" value="LOCAL" />
1141
+ <updated>1646343680982</updated>
1142
+ </task>
1143
+ <task id="LOCAL-01027" summary="Added module description">
1144
+ <created>1646344544587</created>
1145
+ <option name="number" value="01027" />
1146
+ <option name="presentableId" value="LOCAL-01027" />
1147
+ <option name="project" value="LOCAL" />
1148
+ <updated>1646344544587</updated>
1149
+ </task>
1150
+ <task id="LOCAL-01028" summary="Fixed a bug when it was impossible to select a normal font after selecting any other">
1151
+ <created>1646417579156</created>
1152
+ <option name="number" value="01028" />
1153
+ <option name="presentableId" value="LOCAL-01028" />
1154
+ <option name="project" value="LOCAL" />
1155
+ <updated>1646417579156</updated>
1156
+ </task>
1157
+ <task id="LOCAL-01029" summary="The problem that the selected text disappears #790&#10;Issue: https://github.com/xdan/jodit/issues/790">
1158
+ <created>1646547666409</created>
1159
+ <option name="number" value="01029" />
1160
+ <option name="presentableId" value="LOCAL-01029" />
1161
+ <option name="project" value="LOCAL" />
1162
+ <updated>1646547666409</updated>
1163
+ </task>
1164
+ <task id="LOCAL-01030" summary="Refactoring">
1165
+ <created>1646547714142</created>
1166
+ <option name="number" value="01030" />
1167
+ <option name="presentableId" value="LOCAL-01030" />
1168
+ <option name="project" value="LOCAL" />
1169
+ <updated>1646547714142</updated>
1170
+ </task>
1171
+ <task id="LOCAL-01031" summary="Refactoring">
1172
+ <created>1646547723942</created>
1173
+ <option name="number" value="01031" />
1174
+ <option name="presentableId" value="LOCAL-01031" />
1175
+ <option name="project" value="LOCAL" />
1176
+ <updated>1646547723942</updated>
1177
+ </task>
1178
+ <task id="LOCAL-01032" summary=" Dropdowns not hiding when clicking again on the arrow #791&#10; Issue: https://github.com/xdan/jodit/issues/791">
1179
+ <created>1646549939680</created>
1180
+ <option name="number" value="01032" />
1181
+ <option name="presentableId" value="LOCAL-01032" />
1182
+ <option name="project" value="LOCAL" />
1183
+ <updated>1646549939680</updated>
1184
+ </task>
1185
+ <task id="LOCAL-01033" summary=" Dropdowns not hiding when clicking again on the arrow #791&#10; Issue: https://github.com/xdan/jodit/issues/791">
1186
+ <created>1646556844514</created>
1187
+ <option name="number" value="01033" />
1188
+ <option name="presentableId" value="LOCAL-01033" />
1189
+ <option name="project" value="LOCAL" />
1190
+ <updated>1646556844514</updated>
1191
+ </task>
1192
+ <option name="localTasksCounter" value="1034" />
1183
1193
  <servers />
1184
1194
  </component>
1185
1195
  <component name="TypeScriptGeneratedFilesManager">
@@ -1319,17 +1329,6 @@
1319
1329
  </component>
1320
1330
  <component name="VcsManagerConfiguration">
1321
1331
  <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
1322
- <MESSAGE value="Fixed type definition" />
1323
- <MESSAGE value="Small ref" />
1324
- <MESSAGE value="CVE-2021-23382" />
1325
- <MESSAGE value="Added tab plugin" />
1326
- <MESSAGE value="Added static `Jodit.isJoditAssigned` method&#10;Issue: https://github.com/xdan/jodit/issues/778" />
1327
- <MESSAGE value="- Fixed a bug when switching between source and wysiwyg mode, the FORM tag was wrapped in P" />
1328
- <MESSAGE value="Added test for issue: Not maintaining styles set when switching format blocks #773&#10;Issue: https://github.com/xdan/jodit/issues/773" />
1329
- <MESSAGE value="Fixed Not maintaining styles set when switching format blocks #773&#10;Issue: https://github.com/xdan/jodit/issues/773" />
1330
- <MESSAGE value="New line-height plugin" />
1331
- <MESSAGE value="Fixed Previewing data not showing table content #780&#10;Issue: https://github.com/xdan/jodit/issues/780" />
1332
- <MESSAGE value="Refactoring uploader module" />
1333
1332
  <MESSAGE value="Restore translate utils" />
1334
1333
  <MESSAGE value="Added new translation" />
1335
1334
  <MESSAGE value="Fix doc" />
@@ -1344,7 +1343,18 @@
1344
1343
  <MESSAGE value="Added experimental entry point for VDom" />
1345
1344
  <MESSAGE value="Apply prettier" />
1346
1345
  <MESSAGE value="Added record in changelog" />
1347
- <option name="LAST_COMMIT_MESSAGE" value="Added record in changelog" />
1346
+ <MESSAGE value="Fixed issue Ordered Bullets are getting changed to unordered bullets after copy and pasting within the editor #789&#10;Issue: https://github.com/xdan/jodit/issues/789" />
1347
+ <MESSAGE value="Update npm and duck typing Dom.isNode" />
1348
+ <MESSAGE value="Fixed bug inside placeholder plugin" />
1349
+ <MESSAGE value="Refactoring paste plugin" />
1350
+ <MESSAGE value="Small image-editor refactoring" />
1351
+ <MESSAGE value="Extract logic with paste from word inside separate plugin" />
1352
+ <MESSAGE value="Added module description" />
1353
+ <MESSAGE value="Fixed a bug when it was impossible to select a normal font after selecting any other" />
1354
+ <MESSAGE value="The problem that the selected text disappears #790&#10;Issue: https://github.com/xdan/jodit/issues/790" />
1355
+ <MESSAGE value="Refactoring" />
1356
+ <MESSAGE value=" Dropdowns not hiding when clicking again on the arrow #791&#10; Issue: https://github.com/xdan/jodit/issues/791" />
1357
+ <option name="LAST_COMMIT_MESSAGE" value=" Dropdowns not hiding when clicking again on the arrow #791&#10; Issue: https://github.com/xdan/jodit/issues/791" />
1348
1358
  </component>
1349
1359
  <component name="XDebuggerManager">
1350
1360
  <breakpoint-manager>
@@ -1371,7 +1381,7 @@
1371
1381
  </line-breakpoint>
1372
1382
  <line-breakpoint enabled="true" type="javascript">
1373
1383
  <url>file://$PROJECT_DIR$/test/tests/acceptance/toolbarTest.js</url>
1374
- <line>496</line>
1384
+ <line>528</line>
1375
1385
  <option name="timeStamp" value="35" />
1376
1386
  </line-breakpoint>
1377
1387
  <line-breakpoint enabled="true" type="javascript">
@@ -1401,7 +1411,7 @@
1401
1411
  </line-breakpoint>
1402
1412
  <line-breakpoint enabled="true" type="javascript">
1403
1413
  <url>file://$PROJECT_DIR$/src/plugins/keyboard/backspace/cases/check-remove-char.ts</url>
1404
- <line>186</line>
1414
+ <line>183</line>
1405
1415
  <option name="timeStamp" value="53" />
1406
1416
  </line-breakpoint>
1407
1417
  </breakpoints>
package/CHANGELOG.MD CHANGED
@@ -9,6 +9,40 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 3.15.2
13
+
14
+ - Fixed a bug when it was impossible to select a normal font after selecting any other
15
+ - [Dropdowns not hiding when clicking again on the arrow #791](https://github.com/xdan/jodit/issues/791)
16
+ - [The problem that the selected text disappears #790](https://github.com/xdan/jodit/issues/790)
17
+
18
+ ## 3.15.1
19
+
20
+ #### :rocket: New Feature
21
+
22
+ - When copying elements, their hierarchy is taken into, for example, if you selected `<ul><li><span>|test|</span></li></ul>`,
23
+ then when copying to the clipboard, the selection will be expanded to root element `UL`.
24
+ For this, the [[Select.expandSelection]] method has been added to the [[Select]] class.
25
+ [Ordered Bullets are getting changed to unordered bullets after copy and pasting within the editor #789](https://github.com/xdan/jodit/issues/789)
26
+ > Method called before copy/cut/selectall operations
27
+
28
+ #### :house: Internal
29
+
30
+ - The [[Dom.isNode]] method now uses Duck Typing instead of inctanceof, this seems to be enough
31
+ - Update
32
+ @types/node ^17.0.18 → ^17.0.21
33
+ @typescript-eslint/eslint-plugin ^5.12.0 → ^5.13.0
34
+ @typescript-eslint/parser ^5.12.0 → ^5.13.0
35
+ cssnano-preset-advanced ^5.1.12 → ^5.2.1
36
+ eslint ^8.9.0 → ^8.10.0
37
+ eslint-config-prettier ^8.4.0 → ^8.5.0
38
+ karma ^6.3.16 → ^6.3.17
39
+ mini-css-extract-plugin ^2.5.3 → ^2.6.0
40
+ postcss >=8.4.6 → >=8.4.7
41
+ stylelint ^14.5.1 → ^14.5.3
42
+ ts-loader ^9.2.6 → ^9.2.7
43
+ typescript ^4.5.5 → ^4.6.2
44
+ webpack ^5.69.1 → ^5.70.0
45
+
12
46
  ## 3.14.2
13
47
 
14
48
  #### :rocket: New Feature
@@ -1113,11 +1147,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
1113
1147
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
1114
1148
  modeClassName="select")
1115
1149
  - ex: [
1116
- - { value: "", text: "" },
1117
- - { value: "val1", text: "text1" },
1118
- - { value: "val2", text: "text2" },
1119
- - { value: "val3", text: "text3" }
1120
- - ]
1150
+ - { value: "", text: "" },
1151
+ - { value: "val1", text: "text1" },
1152
+ - { value: "val2", text: "text2" },
1153
+ - { value: "val3", text: "text3" }
1154
+ - ]
1121
1155
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
1122
1156
 
1123
1157
  ##### New option `statusbar: boolean = true`
package/build/jodit.css CHANGED
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
4
- * Version: v3.14.2
4
+ * Version: v3.15.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
8
8
  /*!
9
9
  * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
10
10
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
11
- * Version: v3.14.2
11
+ * Version: v3.15.2
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
@@ -665,7 +665,7 @@ svg.jodit-icon {
665
665
  width: 100%;
666
666
  height: 100%;
667
667
  }
668
- .jodit-wysiwyg *[contentEditable='false'] {
668
+ .jodit-wysiwyg *[contenteditable='false'] {
669
669
  cursor: default;
670
670
  }
671
671
  .jodit-container:not(.jodit_inline) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
4
- * Version: v3.14.2
4
+ * Version: v3.15.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -615,7 +615,7 @@ svg.jodit-icon {
615
615
  width: 100%;
616
616
  height: 100%;
617
617
  }
618
- .jodit-wysiwyg *[contentEditable='false'] {
618
+ .jodit-wysiwyg *[contenteditable='false'] {
619
619
  cursor: default;
620
620
  }
621
621
  .jodit-container:not(.jodit_inline) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
4
- * Version: v3.14.2
4
+ * Version: v3.15.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -615,7 +615,7 @@ svg.jodit-icon {
615
615
  width: 100%;
616
616
  height: 100%;
617
617
  }
618
- .jodit-wysiwyg *[contentEditable='false'] {
618
+ .jodit-wysiwyg *[contenteditable='false'] {
619
619
  cursor: default;
620
620
  }
621
621
  .jodit-container:not(.jodit_inline) {