jodit 3.9.3 → 3.9.4

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 (85) hide show
  1. package/.idea/workspace.xml +129 -121
  2. package/CHANGELOG.MD +21 -5
  3. package/build/jodit.css +92 -33
  4. package/build/jodit.es2018.css +65 -29
  5. package/build/jodit.es2018.en.css +65 -29
  6. package/build/jodit.es2018.en.js +854 -466
  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 +854 -466
  10. package/build/jodit.es2018.min.css +1 -1
  11. package/build/jodit.es2018.min.js +1 -1
  12. package/build/jodit.js +1804 -1360
  13. package/build/jodit.min.css +2 -2
  14. package/build/jodit.min.js +1 -1
  15. package/index.d.ts +10 -0
  16. package/package.json +1 -1
  17. package/src/config.ts +1 -1
  18. package/src/core/dom.ts +10 -3
  19. package/src/core/helpers/size/index.ts +1 -0
  20. package/src/core/helpers/size/object-size.ts +22 -0
  21. package/src/core/selection/select.ts +1 -0
  22. package/src/core/selection/style/api/{get-closest-wrapper.ts → extract.ts} +26 -43
  23. package/src/core/selection/style/api/finite-state-machine.ts +66 -0
  24. package/src/core/selection/style/api/index.ts +12 -5
  25. package/src/core/selection/style/api/{check-special-elements.ts → is-inside-invisible-element.ts} +1 -1
  26. package/src/core/selection/style/api/is-suit-element.ts +12 -1
  27. package/src/core/selection/style/api/toggle/toggle-css.ts +134 -0
  28. package/src/core/selection/style/api/toggle/toggle-ordered-list.ts +49 -0
  29. package/src/core/selection/style/api/toggle-commit-styles.ts +27 -0
  30. package/src/core/selection/style/api/wrap-and-commit-style.ts +68 -0
  31. package/src/core/selection/style/api/wrap-ordered-list.ts +37 -0
  32. package/src/core/selection/style/api/wrap-unwrapped-text.ts +1 -4
  33. package/src/core/selection/style/apply-style.ts +161 -97
  34. package/src/core/selection/style/commit-style.ts +13 -0
  35. package/src/core/ui/button/button/button.less +2 -0
  36. package/src/core/ui/helpers/buttons.ts +14 -6
  37. package/src/core/ui/list/list.less +1 -0
  38. package/src/core/ui/popup/popup.less +5 -3
  39. package/src/core/view/view-with-toolbar.ts +4 -0
  40. package/src/modules/status-bar/status-bar.less +27 -1
  41. package/src/modules/status-bar/status-bar.ts +15 -1
  42. package/src/modules/widget/tabs/tabs.less +1 -0
  43. package/src/plugins/bold.ts +2 -2
  44. package/src/plugins/font.ts +11 -1
  45. package/src/plugins/index.ts +1 -0
  46. package/src/plugins/mobile.ts +10 -14
  47. package/src/plugins/ordered-list.ts +40 -1
  48. package/src/plugins/powered-by-jodit.ts +39 -0
  49. package/src/plugins/print/preview.ts +9 -2
  50. package/src/plugins/resizer/resizer.less +10 -7
  51. package/src/plugins/resizer/resizer.ts +12 -14
  52. package/src/plugins/size/assests/resize-handler.svg +4 -0
  53. package/src/plugins/size/resize-handler.ts +4 -4
  54. package/src/plugins/size/size.less +6 -8
  55. package/src/plugins/source/source.ts +15 -1
  56. package/src/styles/themes/dark.less +11 -1
  57. package/src/types/style.d.ts +2 -0
  58. package/src/types/toolbar.d.ts +2 -1
  59. package/src/types/view.d.ts +1 -0
  60. package/types/core/dom.d.ts +2 -1
  61. package/types/core/helpers/size/index.d.ts +1 -0
  62. package/types/core/helpers/size/object-size.d.ts +7 -0
  63. package/types/core/selection/style/api/{get-closest-wrapper.d.ts → extract.d.ts} +6 -5
  64. package/types/core/selection/style/api/finite-state-machine.d.ts +21 -0
  65. package/types/core/selection/style/api/index.d.ts +12 -5
  66. package/types/core/selection/style/api/{check-special-elements.d.ts → is-inside-invisible-element.d.ts} +1 -1
  67. package/types/core/selection/style/api/is-suit-element.d.ts +9 -0
  68. package/types/core/selection/style/api/toggle/toggle-css.d.ts +11 -0
  69. package/types/core/selection/style/api/toggle/toggle-ordered-list.d.ts +11 -0
  70. package/types/core/selection/style/api/{toggle-styles.d.ts → toggle-commit-styles.d.ts} +1 -3
  71. package/types/core/selection/style/api/{post-process-list-element.d.ts → wrap-and-commit-style.d.ts} +3 -3
  72. package/types/core/selection/style/api/wrap-ordered-list.d.ts +12 -0
  73. package/types/core/selection/style/apply-style.d.ts +1 -4
  74. package/types/core/selection/style/commit-style.d.ts +7 -0
  75. package/types/core/ui/helpers/buttons.d.ts +2 -2
  76. package/types/core/view/view-with-toolbar.d.ts +2 -1
  77. package/types/modules/status-bar/status-bar.d.ts +6 -1
  78. package/types/plugins/index.d.ts +1 -0
  79. package/types/plugins/ordered-list.d.ts +8 -1
  80. package/types/plugins/powered-by-jodit.d.ts +12 -0
  81. package/types/types/style.d.ts +2 -0
  82. package/types/types/toolbar.d.ts +2 -1
  83. package/types/types/view.d.ts +1 -0
  84. package/src/core/selection/style/api/post-process-list-element.ts +0 -33
  85. package/src/core/selection/style/api/toggle-styles.ts +0 -74
@@ -1,5 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
+ <component name="AnalysisUIOptions">
4
+ <option name="SCOPE_TYPE" value="3" />
5
+ </component>
3
6
  <component name="AutoImportSettings">
4
7
  <option name="autoReloadType" value="SELECTIVE" />
5
8
  </component>
@@ -8,8 +11,7 @@
8
11
  <select />
9
12
  </component>
10
13
  <component name="ChangeListManager">
11
- <list default="true" id="5da7ff7f-03a8-49de-9fbb-8f8640d83b83" name="Default Changelist" comment="">
12
- <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="Fixed dots supplementary buttons shown incorrectly #692&#10;Issue: https://github.com/xdan/jodit/issues/692">
13
15
  <change beforePath="$PROJECT_DIR$/build/jodit.css" beforeDir="false" />
14
16
  <change beforePath="$PROJECT_DIR$/build/jodit.es2018.css" beforeDir="false" />
15
17
  <change beforePath="$PROJECT_DIR$/build/jodit.es2018.en.css" beforeDir="false" />
@@ -19,10 +21,13 @@
19
21
  <change beforePath="$PROJECT_DIR$/build/jodit.es2018.js" beforeDir="false" />
20
22
  <change beforePath="$PROJECT_DIR$/build/jodit.es2018.min.css" beforeDir="false" />
21
23
  <change beforePath="$PROJECT_DIR$/build/jodit.es2018.min.js" beforeDir="false" />
22
- <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" />
23
25
  <change beforePath="$PROJECT_DIR$/build/jodit.min.css" beforeDir="false" />
24
26
  <change beforePath="$PROJECT_DIR$/build/jodit.min.js" beforeDir="false" />
25
- <change beforePath="$PROJECT_DIR$/test/tests/acceptance/tableTest.js" beforeDir="false" afterPath="$PROJECT_DIR$/test/tests/acceptance/tableTest.js" afterDir="false" />
27
+ <change beforePath="$PROJECT_DIR$/src/core/dom.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/core/dom.ts" afterDir="false" />
28
+ <change beforePath="$PROJECT_DIR$/src/core/selection/style/api/toggle/toggle-css.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/core/selection/style/api/toggle/toggle-css.ts" afterDir="false" />
29
+ <change beforePath="$PROJECT_DIR$/src/core/selection/style/apply-style.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/core/selection/style/apply-style.ts" afterDir="false" />
30
+ <change beforePath="$PROJECT_DIR$/test/tests/units/styleTest.js" beforeDir="false" afterPath="$PROJECT_DIR$/test/tests/units/styleTest.js" afterDir="false" />
26
31
  </list>
27
32
  <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" />
28
33
  <option name="SHOW_DIALOG" value="false" />
@@ -102,7 +107,7 @@
102
107
  <property name="js.linters.configure.manually.selectedeslint" value="true" />
103
108
  <property name="jsx.switch.disabled" value="true" />
104
109
  <property name="last.edited.regexp" value="Sample Text" />
105
- <property name="last_opened_file_path" value="$PROJECT_DIR$/src/styles/icons" />
110
+ <property name="last_opened_file_path" value="$PROJECT_DIR$/src/core/selection/style" />
106
111
  <property name="node.js.detected.package.eslint" value="true" />
107
112
  <property name="node.js.detected.package.jscs" value="true" />
108
113
  <property name="node.js.detected.package.standard" value="true" />
@@ -128,25 +133,25 @@
128
133
  <property name="nodejs_package_manager_path" value="npm" />
129
134
  <property name="prettierjs.PrettierConfiguration.Package" value="$PROJECT_DIR$/node_modules/prettier" />
130
135
  <property name="run.code.analysis.last.selected.profile" value="pProject Default" />
131
- <property name="settings.editor.selected.configurable" value="settings.nodejs" />
136
+ <property name="settings.editor.selected.configurable" value="Errors" />
132
137
  <property name="ts.external.directory.path" value="$PROJECT_DIR$/node_modules/typescript/lib" />
133
138
  <property name="typescript-compiler-editor-notification" value="false" />
134
139
  <property name="vue.rearranger.settings.migration" value="true" />
135
140
  </component>
136
141
  <component name="RecentsManager">
137
142
  <key name="CopyFile.RECENT_KEYS">
143
+ <recent name="$PROJECT_DIR$/src/core/selection/style" />
138
144
  <recent name="$PROJECT_DIR$/src/styles/icons" />
139
145
  <recent name="$PROJECT_DIR$/src/plugins/table" />
140
146
  <recent name="$PROJECT_DIR$/src/core/helpers/utils" />
141
147
  <recent name="$PROJECT_DIR$/src/core/decorators" />
142
- <recent name="$PROJECT_DIR$" />
143
148
  </key>
144
149
  <key name="MoveFile.RECENT_KEYS">
150
+ <recent name="$PROJECT_DIR$/src/plugins" />
151
+ <recent name="$PROJECT_DIR$/src/plugins/size/assests" />
145
152
  <recent name="$PROJECT_DIR$/src/core/request" />
146
153
  <recent name="$PROJECT_DIR$/build-system/utils" />
147
154
  <recent name="$PROJECT_DIR$/build-system/plugins" />
148
- <recent name="$PROJECT_DIR$/build-system" />
149
- <recent name="$PROJECT_DIR$/webpack/loaders" />
150
155
  </key>
151
156
  </component>
152
157
  <component name="RunManager" selected="Shell Script.build">
@@ -729,105 +734,10 @@
729
734
  <workItem from="1634943329348" duration="2687000" />
730
735
  <workItem from="1635075276233" duration="6076000" />
731
736
  <workItem from="1635150885789" duration="62089000" />
732
- <workItem from="1635274751066" duration="4725000" />
733
- </task>
734
- <task id="LOCAL-00822" summary="Allow use attr with dictionary">
735
- <created>1634313365187</created>
736
- <option name="number" value="00822" />
737
- <option name="presentableId" value="LOCAL-00822" />
738
- <option name="project" value="LOCAL" />
739
- <updated>1634313365187</updated>
740
- </task>
741
- <task id="LOCAL-00823" summary="Refactoring">
742
- <created>1634315001036</created>
743
- <option name="number" value="00823" />
744
- <option name="presentableId" value="LOCAL-00823" />
745
- <option name="project" value="LOCAL" />
746
- <updated>1634315001036</updated>
747
- </task>
748
- <task id="LOCAL-00824" summary="Fix linter bug">
749
- <created>1634318639569</created>
750
- <option name="number" value="00824" />
751
- <option name="presentableId" value="LOCAL-00824" />
752
- <option name="project" value="LOCAL" />
753
- <updated>1634318639569</updated>
754
- </task>
755
- <task id="LOCAL-00825" summary="The build system is divided into modules and is now located in the 'build-system' folder, the `src/utils` folder has been moved to it.">
756
- <created>1634799033815</created>
757
- <option name="number" value="00825" />
758
- <option name="presentableId" value="LOCAL-00825" />
759
- <option name="project" value="LOCAL" />
760
- <updated>1634799033815</updated>
761
- </task>
762
- <task id="LOCAL-00826" summary="The build system is divided into modules and is now located in the 'build-system' folder, the `src/utils` folder has been moved to it.">
763
- <created>1634799111126</created>
764
- <option name="number" value="00826" />
765
- <option name="presentableId" value="LOCAL-00826" />
766
- <option name="project" value="LOCAL" />
767
- <updated>1634799111126</updated>
768
- </task>
769
- <task id="LOCAL-00827" summary="Color dropdown looks broken #736&#10;Issue: https://github.com/xdan/jodit/issues/736">
770
- <created>1634799127007</created>
771
- <option name="number" value="00827" />
772
- <option name="presentableId" value="LOCAL-00827" />
773
- <option name="project" value="LOCAL" />
774
- <updated>1634799127007</updated>
775
- </task>
776
- <task id="LOCAL-00828" summary=" When I merged some cells by dragging it to change its width. #737&#10; Issue: https://github.com/xdan/jodit/issues/737">
777
- <created>1634799160225</created>
778
- <option name="number" value="00828" />
779
- <option name="presentableId" value="LOCAL-00828" />
780
- <option name="project" value="LOCAL" />
781
- <updated>1634799160225</updated>
782
- </task>
783
- <task id="LOCAL-00829" summary=" When I merged some cells by dragging it to change its width. #737&#10; Issue: https://github.com/xdan/jodit/issues/737&#10; &#10; shadow dom browser support #730&#10; Issue: https://github.com/xdan/jodit/issues/730">
784
- <created>1634807023222</created>
785
- <option name="number" value="00829" />
786
- <option name="presentableId" value="LOCAL-00829" />
787
- <option name="project" value="LOCAL" />
788
- <updated>1634807023222</updated>
789
- </task>
790
- <task id="LOCAL-00830" summary="Fixed work in IE11">
791
- <created>1634890885099</created>
792
- <option name="number" value="00830" />
793
- <option name="presentableId" value="LOCAL-00830" />
794
- <option name="project" value="LOCAL" />
795
- <updated>1634890885100</updated>
796
- </task>
797
- <task id="LOCAL-00831" summary="Fixed work in IE11&#10;toolbar menus are almost not visible on IE11 #458&#10;Issue: https://github.com/xdan/jodit/issues/458">
798
- <created>1634890950662</created>
799
- <option name="number" value="00831" />
800
- <option name="presentableId" value="LOCAL-00831" />
801
- <option name="project" value="LOCAL" />
802
- <updated>1634890950662</updated>
803
- </task>
804
- <task id="LOCAL-00832" summary="Fixed build system for child project">
805
- <created>1634943566156</created>
806
- <option name="number" value="00832" />
807
- <option name="presentableId" value="LOCAL-00832" />
808
- <option name="project" value="LOCAL" />
809
- <updated>1634943566156</updated>
810
- </task>
811
- <task id="LOCAL-00833" summary="Fixed build system for child project">
812
- <created>1635076285959</created>
813
- <option name="number" value="00833" />
814
- <option name="presentableId" value="LOCAL-00833" />
815
- <option name="project" value="LOCAL" />
816
- <updated>1635076285959</updated>
817
- </task>
818
- <task id="LOCAL-00834" summary="Rename events-native to event-emitter">
819
- <created>1635183384703</created>
820
- <option name="number" value="00834" />
821
- <option name="presentableId" value="LOCAL-00834" />
822
- <option name="project" value="LOCAL" />
823
- <updated>1635183384703</updated>
824
- </task>
825
- <task id="LOCAL-00835" summary="Rename events-native to event-emitter">
826
- <created>1635183463663</created>
827
- <option name="number" value="00835" />
828
- <option name="presentableId" value="LOCAL-00835" />
829
- <option name="project" value="LOCAL" />
830
- <updated>1635183463664</updated>
737
+ <workItem from="1635274751066" duration="80856000" />
738
+ <workItem from="1635849925964" duration="1202000" />
739
+ <workItem from="1635864760383" duration="729000" />
740
+ <workItem from="1635865507309" duration="7376000" />
831
741
  </task>
832
742
  <task id="LOCAL-00836" summary="Rename events-native to event-emitter">
833
743
  <created>1635183679922</created>
@@ -1074,7 +984,105 @@
1074
984
  <option name="project" value="LOCAL" />
1075
985
  <updated>1635278972581</updated>
1076
986
  </task>
1077
- <option name="localTasksCounter" value="871" />
987
+ <task id="LOCAL-00871" summary="- Changed style resize rectangle for resize image or table&#10;- Added link `POWERED BY JODIT` in statusbar&#10;- Changed icon for resize handle in the bottom right corner&#10;- Fixed popup color for dark theme">
988
+ <created>1635350607682</created>
989
+ <option name="number" value="00871" />
990
+ <option name="presentableId" value="LOCAL-00871" />
991
+ <option name="project" value="LOCAL" />
992
+ <updated>1635350607682</updated>
993
+ </task>
994
+ <task id="LOCAL-00872" summary="Added test for issue: https://github.com/xdan/jodit/issues/738">
995
+ <created>1635350805292</created>
996
+ <option name="number" value="00872" />
997
+ <option name="presentableId" value="LOCAL-00872" />
998
+ <option name="project" value="LOCAL" />
999
+ <updated>1635350805292</updated>
1000
+ </task>
1001
+ <task id="LOCAL-00873" summary="Fixed unsupported fonts preview">
1002
+ <created>1635542179550</created>
1003
+ <option name="number" value="00873" />
1004
+ <option name="presentableId" value="LOCAL-00873" />
1005
+ <option name="project" value="LOCAL" />
1006
+ <updated>1635542179550</updated>
1007
+ </task>
1008
+ <task id="LOCAL-00874" summary="Small facelift">
1009
+ <created>1635542254580</created>
1010
+ <option name="number" value="00874" />
1011
+ <option name="presentableId" value="LOCAL-00874" />
1012
+ <option name="project" value="LOCAL" />
1013
+ <updated>1635542254580</updated>
1014
+ </task>
1015
+ <task id="LOCAL-00875" summary="Big apply style system - refactoring">
1016
+ <created>1635553640358</created>
1017
+ <option name="number" value="00875" />
1018
+ <option name="presentableId" value="LOCAL-00875" />
1019
+ <option name="project" value="LOCAL" />
1020
+ <updated>1635553640358</updated>
1021
+ </task>
1022
+ <task id="LOCAL-00876" summary="Fixed dots supplementary buttons shown incorrectly #692&#10;Issue: https://github.com/xdan/jodit/issues/692">
1023
+ <created>1635870623738</created>
1024
+ <option name="number" value="00876" />
1025
+ <option name="presentableId" value="LOCAL-00876" />
1026
+ <option name="project" value="LOCAL" />
1027
+ <updated>1635870623738</updated>
1028
+ </task>
1029
+ <task id="LOCAL-00877" summary="Fixed dots supplementary buttons shown incorrectly #692&#10;Issue: https://github.com/xdan/jodit/issues/692">
1030
+ <created>1635870712545</created>
1031
+ <option name="number" value="00877" />
1032
+ <option name="presentableId" value="LOCAL-00877" />
1033
+ <option name="project" value="LOCAL" />
1034
+ <updated>1635870712545</updated>
1035
+ </task>
1036
+ <task id="LOCAL-00878" summary="Change html tags when list style on/off #738&#10;Issue: https://github.com/xdan/jodit/issues/738&#10;order list/unorder list in source view #732&#10;Issue: https://github.com/xdan/jodit/issues/732">
1037
+ <created>1635870787537</created>
1038
+ <option name="number" value="00878" />
1039
+ <option name="presentableId" value="LOCAL-00878" />
1040
+ <option name="project" value="LOCAL" />
1041
+ <updated>1635870787537</updated>
1042
+ </task>
1043
+ <task id="LOCAL-00879" summary="Change html tags when list style on/off #738&#10;Issue: https://github.com/xdan/jodit/issues/738&#10;order list/unorder list in source view #732&#10;Issue: https://github.com/xdan/jodit/issues/732">
1044
+ <created>1635870816925</created>
1045
+ <option name="number" value="00879" />
1046
+ <option name="presentableId" value="LOCAL-00879" />
1047
+ <option name="project" value="LOCAL" />
1048
+ <updated>1635870816925</updated>
1049
+ </task>
1050
+ <task id="LOCAL-00880" summary="Fix condition for Jodit power">
1051
+ <created>1635870854517</created>
1052
+ <option name="number" value="00880" />
1053
+ <option name="presentableId" value="LOCAL-00880" />
1054
+ <option name="project" value="LOCAL" />
1055
+ <updated>1635870854517</updated>
1056
+ </task>
1057
+ <task id="LOCAL-00881" summary="Fix test for new resizer style">
1058
+ <created>1635870874106</created>
1059
+ <option name="number" value="00881" />
1060
+ <option name="presentableId" value="LOCAL-00881" />
1061
+ <option name="project" value="LOCAL" />
1062
+ <updated>1635870874106</updated>
1063
+ </task>
1064
+ <task id="LOCAL-00882" summary="Fix lints">
1065
+ <created>1635870925572</created>
1066
+ <option name="number" value="00882" />
1067
+ <option name="presentableId" value="LOCAL-00882" />
1068
+ <option name="project" value="LOCAL" />
1069
+ <updated>1635870925572</updated>
1070
+ </task>
1071
+ <task id="LOCAL-00883" summary="Jodit adds unexpected &lt;span&gt; tag when user lefts cursor inside &lt;script&gt; tag #687&#10;Issue: https://github.com/xdan/jodit/issues/687">
1072
+ <created>1635872495161</created>
1073
+ <option name="number" value="00883" />
1074
+ <option name="presentableId" value="LOCAL-00883" />
1075
+ <option name="project" value="LOCAL" />
1076
+ <updated>1635872495161</updated>
1077
+ </task>
1078
+ <task id="LOCAL-00884" summary="Jodit adds unexpected &lt;span&gt; tag when user lefts cursor inside &lt;script&gt; tag #687&#10;Issue: https://github.com/xdan/jodit/issues/687">
1079
+ <created>1635872918386</created>
1080
+ <option name="number" value="00884" />
1081
+ <option name="presentableId" value="LOCAL-00884" />
1082
+ <option name="project" value="LOCAL" />
1083
+ <updated>1635872918386</updated>
1084
+ </task>
1085
+ <option name="localTasksCounter" value="885" />
1078
1086
  <servers />
1079
1087
  </component>
1080
1088
  <component name="TypeScriptGeneratedFilesManager">
@@ -1215,17 +1223,6 @@
1215
1223
  </component>
1216
1224
  <component name="VcsManagerConfiguration">
1217
1225
  <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
1218
- <MESSAGE value="Fixed build system for child project" />
1219
- <MESSAGE value="Rename events-native.ts to event-emitter.ts" />
1220
- <MESSAGE value="ReBuild" />
1221
- <MESSAGE value="Small refactoring" />
1222
- <MESSAGE value="BOOM: Move Ajax class into `request` folder. Changed the signature of the send method in the Ajax API and is closer to the fetch () API" />
1223
- <MESSAGE value="Small Refactoring Table module" />
1224
- <MESSAGE value="Added test for issue: https://github.com/xdan/jodit/issues/547" />
1225
- <MESSAGE value="Remove from NPM extra files" />
1226
- <MESSAGE value="Fixed Resize column table #712&#10;Issue: https://github.com/xdan/jodit/issues/712&#10;&#10;Delete multi rows and colums #690&#10;Issue: https://github.com/xdan/jodit/issues/690" />
1227
- <MESSAGE value="Fixed Indent doesn't work in table cell #729&#10;Issue: https://github.com/xdan/jodit/issues/729" />
1228
- <MESSAGE value="When {&quot;enter&quot;: &quot;BR&quot;} option is enabled, adding a heading to the text causes it to become wrapped by a &quot;h*&quot; tag #547&#10;Issue: https://github.com/xdan/jodit/issues/547" />
1229
1226
  <MESSAGE value="Change Dom.each/find to generator API" />
1230
1227
  <MESSAGE value="Issue with clear format on &lt;p&gt; tags #680&#10;Issue: https://github.com/xdan/jodit/issues/680" />
1231
1228
  <MESSAGE value="Indent doesn't work in table cell #729&#10;Issue: https://github.com/xdan/jodit/issues/729" />
@@ -1240,7 +1237,18 @@
1240
1237
  <MESSAGE value="Fixed tests in FF" />
1241
1238
  <MESSAGE value="Remove gitter" />
1242
1239
  <MESSAGE value="Fixed tables resizing" />
1243
- <option name="LAST_COMMIT_MESSAGE" value="Fixed tables resizing" />
1240
+ <MESSAGE value="- Changed style resize rectangle for resize image or table&#10;- Added link `POWERED BY JODIT` in statusbar&#10;- Changed icon for resize handle in the bottom right corner&#10;- Fixed popup color for dark theme" />
1241
+ <MESSAGE value="Added test for issue: https://github.com/xdan/jodit/issues/738" />
1242
+ <MESSAGE value="Fixed unsupported fonts preview" />
1243
+ <MESSAGE value="Small facelift" />
1244
+ <MESSAGE value="Big apply style system - refactoring" />
1245
+ <MESSAGE value="Change html tags when list style on/off #738&#10;Issue: https://github.com/xdan/jodit/issues/738&#10;order list/unorder list in source view #732&#10;Issue: https://github.com/xdan/jodit/issues/732" />
1246
+ <MESSAGE value="Fix condition for Jodit power" />
1247
+ <MESSAGE value="Fix test for new resizer style" />
1248
+ <MESSAGE value="Fix lints" />
1249
+ <MESSAGE value="Fixed dots supplementary buttons shown incorrectly #692&#10;Issue: https://github.com/xdan/jodit/issues/692" />
1250
+ <MESSAGE value="Jodit adds unexpected &lt;span&gt; tag when user lefts cursor inside &lt;script&gt; tag #687&#10;Issue: https://github.com/xdan/jodit/issues/687" />
1251
+ <option name="LAST_COMMIT_MESSAGE" value="Jodit adds unexpected &lt;span&gt; tag when user lefts cursor inside &lt;script&gt; tag #687&#10;Issue: https://github.com/xdan/jodit/issues/687" />
1244
1252
  </component>
1245
1253
  <component name="XDebuggerManager">
1246
1254
  <breakpoint-manager>
package/CHANGELOG.MD CHANGED
@@ -9,6 +9,22 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 3.9.4
13
+
14
+ #### :rocket: New Feature
15
+
16
+ - Changed style resize rectangle for resize image or table
17
+ - Added link `POWERED BY JODIT` in statusbar
18
+ - Changed icon for resize handle in the bottom right corner
19
+
20
+ #### :bug: Bug Fix
21
+
22
+ - Fixed popup color for dark theme
23
+ - [Change html tags when list style on/off #738](https://github.com/xdan/jodit/issues/738)
24
+ - [order list/unorder list in source view #732](https://github.com/xdan/jodit/issues/732)
25
+ - [dots supplementary buttons shown incorrectly #692](https://github.com/xdan/jodit/issues/692)
26
+ - [Jodit adds unexpected <span> tag when user lefts cursor inside <script> tag #687](https://github.com/xdan/jodit/issues/687)
27
+
12
28
  ## 3.9.3
13
29
 
14
30
  #### :boom: Breaking Change
@@ -715,11 +731,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
715
731
  - @property {number} link.selectSizeClassName=3 The size of the select (to use with modeClassName="select")
716
732
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with modeClassName="select")
717
733
  - ex: [
718
- - { value: "", text: "" },
719
- - { value: "val1", text: "text1" },
720
- - { value: "val2", text: "text2" },
721
- - { value: "val3", text: "text3" }
722
- - ]
734
+ - { value: "", text: "" },
735
+ - { value: "val1", text: "text1" },
736
+ - { value: "val2", text: "text2" },
737
+ - { value: "val3", text: "text3" }
738
+ - ]
723
739
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
724
740
 
725
741
  ##### 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.9.3
4
+ * Version: v3.9.4
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.9.3
11
+ * Version: v3.9.4
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
@@ -744,10 +744,10 @@ svg.jodit-icon {
744
744
  border-color: #575757;
745
745
  }
746
746
  .jodit-dialog_theme_dark .jodit-popup__content {
747
- background: #575757;
747
+ background: #787878;
748
748
  }
749
749
  .jodit_theme_dark .jodit-popup__content {
750
- background: #575757;
750
+ background: #787878;
751
751
  }
752
752
  .jodit-dialog_theme_dark .jodit-ui-button__text {
753
753
  color: #d1cccc;
@@ -797,10 +797,33 @@ svg.jodit-icon {
797
797
  .jodit_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]) {
798
798
  background-color: #787878;
799
799
  }
800
- .jodit-dialog_theme_dark .jodit-status-bar,
800
+ .jodit-dialog_theme_dark .jodit-status-bar {
801
+ border-color: rgba(95, 92, 92, 0.8);
802
+ background-color: rgba(95, 92, 92, 0.8);
803
+ color: #d1cccc;
804
+ }
801
805
  .jodit_theme_dark .jodit-status-bar {
802
806
  border-color: rgba(95, 92, 92, 0.8);
803
807
  background-color: rgba(95, 92, 92, 0.8);
808
+ color: #d1cccc;
809
+ }
810
+ .jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link {
811
+ color: #d1cccc;
812
+ }
813
+ .jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link {
814
+ color: #d1cccc;
815
+ }
816
+ .jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover {
817
+ color: #d1cccc;
818
+ }
819
+ .jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover {
820
+ color: #d1cccc;
821
+ }
822
+ .jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited {
823
+ color: #d1cccc;
824
+ }
825
+ .jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited {
826
+ color: #d1cccc;
804
827
  }
805
828
  .jodit-dialog_theme_dark .jodit-status-bar {
806
829
  color: #d1cccc;
@@ -808,6 +831,12 @@ svg.jodit-icon {
808
831
  .jodit_theme_dark .jodit-status-bar {
809
832
  color: #d1cccc;
810
833
  }
834
+ .jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item a {
835
+ color: #d1cccc;
836
+ }
837
+ .jodit_theme_dark .jodit-status-bar .jodit-status-bar__item a {
838
+ color: #d1cccc;
839
+ }
811
840
  .jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item span {
812
841
  color: #d1cccc;
813
842
  }
@@ -1393,6 +1422,7 @@ svg.jodit-icon {
1393
1422
  justify-content: center;
1394
1423
  padding: 0 8px;
1395
1424
  border-radius: 3px;
1425
+ cursor: pointer;
1396
1426
  min-width: 34px;
1397
1427
  height: 34px;
1398
1428
  }
@@ -1738,6 +1768,7 @@ svg.jodit-icon {
1738
1768
  width: 100%;
1739
1769
  height: auto;
1740
1770
  min-height: calc(14px + calc((14px - 4px) * 2) + 2px * 2);
1771
+ cursor: pointer;
1741
1772
  }
1742
1773
  .jodit-ui-list_mode_vertical .jodit-toolbar-button__text:not(:empty) {
1743
1774
  -webkit-box-pack: left;
@@ -3021,11 +3052,13 @@ svg.jodit-icon {
3021
3052
  width: 100%;
3022
3053
  height: auto;
3023
3054
  min-height: calc(14px + calc((14px - 4px) * 2) + 2px * 2);
3055
+ cursor: pointer;
3024
3056
  }
3025
3057
  .jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__button {
3026
3058
  width: 100%;
3027
3059
  height: auto;
3028
3060
  min-height: calc(14px + calc((14px - 4px) * 2) + 2px * 2);
3061
+ cursor: pointer;
3029
3062
  }
3030
3063
  .jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__text:not(:empty),
3031
3064
  .jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__text:not(:empty) {
@@ -3216,6 +3249,7 @@ svg.jodit-icon {
3216
3249
  padding: 0 8px;
3217
3250
  }
3218
3251
  .jodit-toolbar-button__button {
3252
+ cursor: pointer;
3219
3253
  position: relative;
3220
3254
  -webkit-box-sizing: border-box;
3221
3255
  box-sizing: border-box;
@@ -3281,6 +3315,7 @@ svg.jodit-icon {
3281
3315
  justify-content: center;
3282
3316
  border-radius: 0 3px 3px 0;
3283
3317
  opacity: 0.4;
3318
+ cursor: pointer;
3284
3319
  width: 14px;
3285
3320
  }
3286
3321
  .jodit-toolbar-button__trigger:hover:not([disabled]) {
@@ -3373,6 +3408,7 @@ svg.jodit-icon {
3373
3408
  justify-content: center;
3374
3409
  padding: 0 8px;
3375
3410
  border-radius: 3px;
3411
+ cursor: pointer;
3376
3412
  min-width: 34px;
3377
3413
  height: 34px;
3378
3414
  padding: 0;
@@ -4381,6 +4417,7 @@ svg.jodit-icon {
4381
4417
  display: -ms-flexbox;
4382
4418
  display: flex;
4383
4419
  overflow: hidden;
4420
+ height: 20px;
4384
4421
  -webkit-box-align: center;
4385
4422
  -ms-flex-align: center;
4386
4423
  align-items: center;
@@ -4390,7 +4427,12 @@ svg.jodit-icon {
4390
4427
  padding: 0 calc(8px / 2);
4391
4428
  background-color: #f9f9f9;
4392
4429
  border-radius: 0 0 3px 3px;
4430
+ color: rgba(0, 0, 0, 0.75);
4393
4431
  font-size: 11px;
4432
+ text-transform: uppercase;
4433
+ }
4434
+ .jodit-status-bar_resize-handle_true {
4435
+ padding-right: 14px;
4394
4436
  }
4395
4437
  .jodit-status-bar::before {
4396
4438
  -webkit-box-flex: 1;
@@ -4434,9 +4476,26 @@ svg.jodit-icon {
4434
4476
  }
4435
4477
  .jodit-status-bar .jodit-status-bar__item a:hover {
4436
4478
  background-color: #dadada;
4437
- color: #222222;
4438
4479
  text-decoration: none;
4439
4480
  }
4481
+ .jodit-status-bar a.jodit-status-bar-link {
4482
+ cursor: pointer;
4483
+ }
4484
+ .jodit-status-bar a.jodit-status-bar-link {
4485
+ background-color: transparent;
4486
+ color: rgba(0, 0, 0, 0.75);
4487
+ }
4488
+ .jodit-status-bar a.jodit-status-bar-link:hover {
4489
+ background-color: transparent;
4490
+ color: rgba(0, 0, 0, 0.75);
4491
+ }
4492
+ .jodit-status-bar a.jodit-status-bar-link:visited {
4493
+ background-color: transparent;
4494
+ color: rgba(0, 0, 0, 0.75);
4495
+ }
4496
+ .jodit-status-bar a.jodit-status-bar-link:hover {
4497
+ text-decoration: underline;
4498
+ }
4440
4499
  .jodit-workplace + .jodit-status-bar:not(:empty) {
4441
4500
  border-top: 1px solid #dadada;
4442
4501
  }
@@ -4714,6 +4773,7 @@ svg.jodit-icon {
4714
4773
  }
4715
4774
  .jodit-tabs .jodit-tabs__buttons > * {
4716
4775
  margin-left: calc(8px / 2);
4776
+ cursor: pointer;
4717
4777
  }
4718
4778
  .jodit-tabs .jodit-tabs__buttons > *:only-of-type {
4719
4779
  width: 100%;
@@ -4954,8 +5014,10 @@ html.jodit_fullsize-box_true {
4954
5014
  left: 0;
4955
5015
  width: 100px;
4956
5016
  height: 100px;
4957
- border: 1px solid #4c4c4c;
5017
+ -webkit-box-sizing: border-box;
5018
+ box-sizing: border-box;
4958
5019
  font-size: 0;
5020
+ outline: 3px solid #98c1f1;
4959
5021
  pointer-events: none;
4960
5022
  }
4961
5023
  .jodit-resizer * {
@@ -4982,37 +5044,36 @@ html.jodit_fullsize-box_true {
4982
5044
  -o-transition: opacity 0.2s linear;
4983
5045
  transition: opacity 0.2s linear;
4984
5046
  }
4985
- .jodit-resizer > i {
5047
+ .jodit-resizer > div {
4986
5048
  position: absolute;
4987
5049
  z-index: 4;
4988
5050
  display: inline-block;
4989
- width: 8px;
4990
- height: 8px;
4991
- border: 1px solid #4c4c4c;
4992
- background-color: #dadada;
5051
+ width: 10px;
5052
+ height: 10px;
5053
+ background-color: #5ba4f3;
4993
5054
  pointer-events: all;
4994
5055
  }
4995
- .jodit-resizer > i:hover {
4996
- background-color: #f8f8f8;
5056
+ .jodit-resizer > div:hover {
5057
+ background-color: #537ebb;
4997
5058
  }
4998
- .jodit-resizer > i:nth-child(1) {
4999
- top: calc(8px / -2);
5000
- left: calc(8px / -2);
5059
+ .jodit-resizer > div:nth-child(1) {
5060
+ top: calc(10px / -2);
5061
+ left: calc(10px / -2);
5001
5062
  cursor: nw-resize;
5002
5063
  }
5003
- .jodit-resizer > i:nth-child(2) {
5004
- top: calc(8px / -2);
5005
- right: calc(8px / -2);
5064
+ .jodit-resizer > div:nth-child(2) {
5065
+ top: calc(10px / -2);
5066
+ right: calc(10px / -2);
5006
5067
  cursor: ne-resize;
5007
5068
  }
5008
- .jodit-resizer > i:nth-child(3) {
5009
- right: calc(8px / -2);
5010
- bottom: calc(8px / -2);
5069
+ .jodit-resizer > div:nth-child(3) {
5070
+ right: calc(10px / -2);
5071
+ bottom: calc(10px / -2);
5011
5072
  cursor: se-resize;
5012
5073
  }
5013
- .jodit-resizer > i:nth-child(4) {
5014
- bottom: calc(8px / -2);
5015
- left: calc(8px / -2);
5074
+ .jodit-resizer > div:nth-child(4) {
5075
+ bottom: calc(10px / -2);
5076
+ left: calc(10px / -2);
5016
5077
  cursor: sw-resize;
5017
5078
  }
5018
5079
 
@@ -5188,17 +5249,15 @@ html.jodit_fullsize-box_true {
5188
5249
  .jodit-container:not(.jodit_inline) .jodit-editor__resize {
5189
5250
  position: relative;
5190
5251
  }
5191
- .jodit-container:not(.jodit_inline) .jodit-editor__resize span {
5252
+ .jodit-container:not(.jodit_inline) .jodit-editor__resize svg {
5192
5253
  position: absolute;
5193
5254
  right: 0;
5194
5255
  bottom: 0;
5195
5256
  overflow: hidden;
5196
- width: 0;
5197
- height: 0;
5198
- border-width: 7px 7px 0 0;
5199
- border-style: dashed solid dashed dashed;
5200
- border-color: rgba(0, 0, 0, 0) #dadada rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
5201
- cursor: se-resize;
5257
+ width: 12px;
5258
+ height: 12px;
5259
+ cursor: nwse-resize;
5260
+ fill: #a5a5a5;
5202
5261
  -webkit-user-select: none;
5203
5262
  -moz-user-select: none;
5204
5263
  -ms-user-select: none;