jodit 3.16.1 → 3.16.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 (76) hide show
  1. package/.idea/workspace.xml +86 -85
  2. package/CHANGELOG.MD +23 -5
  3. package/README.md +6 -6
  4. package/build/jodit.css +24 -4
  5. package/build/jodit.es2018.css +11 -7
  6. package/build/jodit.es2018.en.css +11 -7
  7. package/build/jodit.es2018.en.js +105 -62
  8. package/build/jodit.es2018.en.min.css +1 -1
  9. package/build/jodit.es2018.en.min.js +1 -1
  10. package/build/jodit.es2018.js +105 -62
  11. package/build/jodit.es2018.min.css +1 -1
  12. package/build/jodit.es2018.min.js +1 -1
  13. package/build/jodit.js +101 -70
  14. package/build/jodit.min.css +2 -2
  15. package/build/jodit.min.js +1 -1
  16. package/build/vdom.css +1 -1
  17. package/build/vdom.js +1 -1
  18. package/index.html +1 -1
  19. package/package.json +2 -2
  20. package/src/README.md +1 -1
  21. package/src/config.ts +64 -30
  22. package/src/core/async/async.ts +2 -2
  23. package/src/core/constants.ts +1 -0
  24. package/src/core/decorators/debounce/debounce.ts +20 -9
  25. package/src/core/decorators/hook/hook.ts +1 -1
  26. package/src/core/decorators/wait/wait.ts +16 -14
  27. package/src/core/helpers/string/i18n.ts +1 -1
  28. package/src/core/selection/select.ts +2 -2
  29. package/src/core/selection/style/api/unwrap-children.ts +9 -2
  30. package/src/core/ui/button/button/button.less +1 -1
  31. package/src/core/ui/popup/popup.ts +12 -4
  32. package/src/jodit.ts +10 -8
  33. package/src/langs/README.md +1 -1
  34. package/src/modules/file-browser/README.md +2 -2
  35. package/src/modules/file-browser/styles/preview.less +2 -2
  36. package/src/modules/image-editor/image-editor.ts +1 -1
  37. package/src/modules/toolbar/button/button.ts +12 -2
  38. package/src/plugins/class-span/class-span.ts +1 -1
  39. package/src/plugins/clipboard/paste/interface.ts +6 -0
  40. package/src/plugins/clipboard/paste/paste.ts +21 -7
  41. package/src/plugins/clipboard/paste-from-word/paste-from-word.ts +11 -4
  42. package/src/plugins/error-messages/error-messages.ts +1 -1
  43. package/src/plugins/fullsize/fullsize.ts +2 -2
  44. package/src/plugins/iframe/iframe.ts +5 -0
  45. package/src/plugins/inline-popup/config/items/a.ts +1 -1
  46. package/src/plugins/inline-popup/config/items/cells.ts +4 -4
  47. package/src/plugins/inline-popup/config/items/img.ts +4 -4
  48. package/src/plugins/keyboard/hotkeys.ts +1 -1
  49. package/src/plugins/print/helpers.ts +9 -0
  50. package/src/plugins/search/search.ts +2 -2
  51. package/src/plugins/size/config.ts +8 -8
  52. package/src/plugins/sticky/sticky.ts +2 -2
  53. package/src/styles/icons/README.md +2 -2
  54. package/src/types/core.ts +1 -1
  55. package/src/types/jodit.d.ts +1 -1
  56. package/src/types/popup.d.ts +5 -1
  57. package/src/types/toolbar.d.ts +5 -5
  58. package/types/config.d.ts +64 -30
  59. package/types/core/async/async.d.ts +2 -2
  60. package/types/core/constants.d.ts +1 -0
  61. package/types/core/helpers/string/i18n.d.ts +1 -1
  62. package/types/core/selection/select.d.ts +1 -1
  63. package/types/core/ui/popup/popup.d.ts +1 -1
  64. package/types/jodit.d.ts +5 -3
  65. package/types/modules/image-editor/image-editor.d.ts +1 -1
  66. package/types/plugins/class-span/class-span.d.ts +1 -1
  67. package/types/plugins/clipboard/paste/interface.d.ts +5 -0
  68. package/types/plugins/clipboard/paste-from-word/paste-from-word.d.ts +3 -2
  69. package/types/plugins/fullsize/fullsize.d.ts +2 -2
  70. package/types/plugins/search/search.d.ts +2 -2
  71. package/types/plugins/sticky/sticky.d.ts +2 -2
  72. package/types/types/core.d.ts +1 -1
  73. package/types/types/core.ts +1 -1
  74. package/types/types/jodit.d.ts +1 -1
  75. package/types/types/popup.d.ts +5 -1
  76. package/types/types/toolbar.d.ts +5 -5
@@ -11,11 +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 beforePath="$PROJECT_DIR$/build/jodit.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/jodit.js" afterDir="false" />
16
- <change beforePath="$PROJECT_DIR$/src/plugins/clipboard/paste/helpers.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/plugins/clipboard/paste/helpers.ts" afterDir="false" />
17
- <change beforePath="$PROJECT_DIR$/test/tests/acceptance/clipboardTest.js" beforeDir="false" afterPath="$PROJECT_DIR$/test/tests/acceptance/clipboardTest.js" afterDir="false" />
18
- </list>
14
+ <list default="true" id="5da7ff7f-03a8-49de-9fbb-8f8640d83b83" name="Default Changelist" comment="" />
19
15
  <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" />
20
16
  <option name="SHOW_DIALOG" value="false" />
21
17
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -834,70 +830,18 @@
834
830
  <workItem from="1647062835078" duration="18125000" />
835
831
  <workItem from="1647166790321" duration="238000" />
836
832
  <workItem from="1647167081505" duration="5015000" />
837
- <workItem from="1647258092021" duration="33250000" />
838
- </task>
839
- <task id="LOCAL-01020" summary="Small image-editor refactoring">
840
- <created>1645390051111</created>
841
- <option name="number" value="01020" />
842
- <option name="presentableId" value="LOCAL-01020" />
843
- <option name="project" value="LOCAL" />
844
- <updated>1645390051111</updated>
845
- </task>
846
- <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">
847
- <created>1646343207140</created>
848
- <option name="number" value="01021" />
849
- <option name="presentableId" value="LOCAL-01021" />
850
- <option name="project" value="LOCAL" />
851
- <updated>1646343207140</updated>
852
- </task>
853
- <task id="LOCAL-01022" summary="Update npm and duck typing Dom.isNode">
854
- <created>1646343502774</created>
855
- <option name="number" value="01022" />
856
- <option name="presentableId" value="LOCAL-01022" />
857
- <option name="project" value="LOCAL" />
858
- <updated>1646343502774</updated>
859
- </task>
860
- <task id="LOCAL-01023" summary="Fixed bug inside placeholder plugin">
861
- <created>1646343584950</created>
862
- <option name="number" value="01023" />
863
- <option name="presentableId" value="LOCAL-01023" />
864
- <option name="project" value="LOCAL" />
865
- <updated>1646343584950</updated>
866
- </task>
867
- <task id="LOCAL-01024" summary="Refactoring paste plugin">
868
- <created>1646343640819</created>
869
- <option name="number" value="01024" />
870
- <option name="presentableId" value="LOCAL-01024" />
871
- <option name="project" value="LOCAL" />
872
- <updated>1646343640819</updated>
873
- </task>
874
- <task id="LOCAL-01025" summary="Extract logic with paste from word inside separate plugin">
875
- <created>1646343669675</created>
876
- <option name="number" value="01025" />
877
- <option name="presentableId" value="LOCAL-01025" />
878
- <option name="project" value="LOCAL" />
879
- <updated>1646343669675</updated>
880
- </task>
881
- <task id="LOCAL-01026" summary="Extract logic with paste from word inside separate plugin">
882
- <created>1646343680982</created>
883
- <option name="number" value="01026" />
884
- <option name="presentableId" value="LOCAL-01026" />
885
- <option name="project" value="LOCAL" />
886
- <updated>1646343680982</updated>
887
- </task>
888
- <task id="LOCAL-01027" summary="Added module description">
889
- <created>1646344544587</created>
890
- <option name="number" value="01027" />
891
- <option name="presentableId" value="LOCAL-01027" />
892
- <option name="project" value="LOCAL" />
893
- <updated>1646344544587</updated>
894
- </task>
895
- <task id="LOCAL-01028" summary="Fixed a bug when it was impossible to select a normal font after selecting any other">
896
- <created>1646417579156</created>
897
- <option name="number" value="01028" />
898
- <option name="presentableId" value="LOCAL-01028" />
899
- <option name="project" value="LOCAL" />
900
- <updated>1646417579156</updated>
833
+ <workItem from="1647258092021" duration="36614000" />
834
+ <workItem from="1647430508763" duration="3341000" />
835
+ <workItem from="1647457901142" duration="12029000" />
836
+ <workItem from="1647505677177" duration="390000" />
837
+ <workItem from="1647523058646" duration="664000" />
838
+ <workItem from="1647535223248" duration="2369000" />
839
+ <workItem from="1647717009468" duration="1325000" />
840
+ <workItem from="1647720525903" duration="602000" />
841
+ <workItem from="1647723129471" duration="611000" />
842
+ <workItem from="1647728375663" duration="6312000" />
843
+ <workItem from="1647859572722" duration="7195000" />
844
+ <workItem from="1648067246701" duration="18701000" />
901
845
  </task>
902
846
  <task id="LOCAL-01029" summary="The problem that the selected text disappears #790&#10;Issue: https://github.com/xdan/jodit/issues/790">
903
847
  <created>1646547666409</created>
@@ -1179,17 +1123,74 @@
1179
1123
  <option name="project" value="LOCAL" />
1180
1124
  <updated>1647413164631</updated>
1181
1125
  </task>
1182
- <option name="localTasksCounter" value="1069" />
1126
+ <task id="LOCAL-01069" summary="Fix doc">
1127
+ <created>1647458239889</created>
1128
+ <option name="number" value="01069" />
1129
+ <option name="presentableId" value="LOCAL-01069" />
1130
+ <option name="project" value="LOCAL" />
1131
+ <updated>1647458239890</updated>
1132
+ </task>
1133
+ <task id="LOCAL-01070" summary="&quot;Uncaught TypeError: this.setEditorValue is not a function&quot; with Japanese input method #807&#10;Issue: https://github.com/xdan/jodit/issues/807">
1134
+ <created>1647729803543</created>
1135
+ <option name="number" value="01070" />
1136
+ <option name="presentableId" value="LOCAL-01070" />
1137
+ <option name="project" value="LOCAL" />
1138
+ <updated>1647729803543</updated>
1139
+ </task>
1140
+ <task id="LOCAL-01071" summary="Fixed composition `wait` and `debounce` decorators">
1141
+ <created>1647732750559</created>
1142
+ <option name="number" value="01071" />
1143
+ <option name="presentableId" value="LOCAL-01071" />
1144
+ <option name="project" value="LOCAL" />
1145
+ <updated>1647732750559</updated>
1146
+ </task>
1147
+ <task id="LOCAL-01072" summary="Fixed apply styles inside another styles">
1148
+ <created>1648290585805</created>
1149
+ <option name="number" value="01072" />
1150
+ <option name="presentableId" value="LOCAL-01072" />
1151
+ <option name="project" value="LOCAL" />
1152
+ <updated>1648290585805</updated>
1153
+ </task>
1154
+ <task id="LOCAL-01073" summary="Sass compile error Css3 min() #809&#10;Issue: https://github.com/xdan/jodit/issues/809">
1155
+ <created>1648376444855</created>
1156
+ <option name="number" value="01073" />
1157
+ <option name="presentableId" value="LOCAL-01073" />
1158
+ <option name="project" value="LOCAL" />
1159
+ <updated>1648376444855</updated>
1160
+ </task>
1161
+ <task id="LOCAL-01074" summary="Fixed image links">
1162
+ <created>1648376457006</created>
1163
+ <option name="number" value="01074" />
1164
+ <option name="presentableId" value="LOCAL-01074" />
1165
+ <option name="project" value="LOCAL" />
1166
+ <updated>1648376457006</updated>
1167
+ </task>
1168
+ <task id="LOCAL-01075" summary="The preview popup has double scrollbars #808&#10;Issue: https://github.com/xdan/jodit/issues/808">
1169
+ <created>1648376761158</created>
1170
+ <option name="number" value="01075" />
1171
+ <option name="presentableId" value="LOCAL-01075" />
1172
+ <option name="project" value="LOCAL" />
1173
+ <updated>1648376761158</updated>
1174
+ </task>
1175
+ <task id="LOCAL-01076" summary="Fixed bug with sync editor size with iframe mode (Works only with [ResizeObserver](https://caniuse.com/resizeobserver))">
1176
+ <created>1648381830154</created>
1177
+ <option name="number" value="01076" />
1178
+ <option name="presentableId" value="LOCAL-01076" />
1179
+ <option name="project" value="LOCAL" />
1180
+ <updated>1648381830154</updated>
1181
+ </task>
1182
+ <task id="LOCAL-01077" summary="Fixed bug with sync editor size with iframe mode (Works only with [ResizeObserver](https://caniuse.com/resizeobserver))">
1183
+ <created>1648381838293</created>
1184
+ <option name="number" value="01077" />
1185
+ <option name="presentableId" value="LOCAL-01077" />
1186
+ <option name="project" value="LOCAL" />
1187
+ <updated>1648381838293</updated>
1188
+ </task>
1189
+ <option name="localTasksCounter" value="1078" />
1183
1190
  <servers />
1184
1191
  </component>
1185
1192
  <component name="TypeScriptGeneratedFilesManager">
1186
1193
  <option name="version" value="3" />
1187
- <option name="exactExcludedFiles">
1188
- <list>
1189
- <option value="$PROJECT_DIR$/types/types/core.d.ts" />
1190
- <option value="$PROJECT_DIR$/types/types/storage.d.ts" />
1191
- </list>
1192
- </option>
1193
1194
  </component>
1194
1195
  <component name="UnknownFeatures">
1195
1196
  <option featureType="com.intellij.configurationType" implementationName="BashConfigurationType" />
@@ -1325,13 +1326,6 @@
1325
1326
  </component>
1326
1327
  <component name="VcsManagerConfiguration">
1327
1328
  <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
1328
- <MESSAGE value="When adding information to the editor via `Jodit.value`, the history of changes will be process immediately,&#10; without a timeout. &#10;&#10;Issue: https://github.com/xdan/jodit/issues/792" />
1329
- <MESSAGE value="Separated default editor timeout and `history.timeout`. Now the second setting is just for history.&#10; Timeouts for all asynchronous operations in Jodit now apply the `defaultTimeout` setting" />
1330
- <MESSAGE value="Fix version" />
1331
- <MESSAGE value="Added file for contributing" />
1332
- <MESSAGE value="Renamed `wrap-text-nodes` plugin to `wrap-nodes`" />
1333
- <MESSAGE value="Added test for WrapNode.exclude" />
1334
- <MESSAGE value="Rename file" />
1335
1329
  <MESSAGE value="Added autotest for redo-undo functionality" />
1336
1330
  <MESSAGE value="Fixed - default is not working for insert ordered list and insert unordered list #799&#10;&#10;Issue: https://github.com/xdan/jodit/issues/799" />
1337
1331
  <MESSAGE value="Added `spellcheck` plugin" />
@@ -1343,14 +1337,21 @@
1343
1337
  <MESSAGE value="Fixed autotests" />
1344
1338
  <MESSAGE value="Enabled `@typescript-eslint/explicit-function-return-type` in eslint" />
1345
1339
  <MESSAGE value="Fixed doc" />
1346
- <MESSAGE value="Fix doc" />
1347
1340
  <MESSAGE value="In print preview, table border color and background color is not showing #803&#10;Issue: https://github.com/xdan/jodit/issues/803" />
1348
1341
  <MESSAGE value="Search plugin now highlights all found options &#10;Issue: https://github.com/xdan/jodit/issues/798" />
1349
1342
  <MESSAGE value="Added `Jodit.constants` &#10;Issue: https://github.com/xdan/jodit/issues/806" />
1350
1343
  <MESSAGE value="Dom.wrap can get Range" />
1351
1344
  <MESSAGE value="Fixed tests" />
1352
1345
  <MESSAGE value="Added `Config.pasteHTMLActionList` and `Config.pasteFromWordActionList` options &#10;Issue: https://github.com/xdan/jodit/issues/802." />
1353
- <option name="LAST_COMMIT_MESSAGE" value="Added `Config.pasteHTMLActionList` and `Config.pasteFromWordActionList` options &#10;Issue: https://github.com/xdan/jodit/issues/802." />
1346
+ <MESSAGE value="Fix doc" />
1347
+ <MESSAGE value="&quot;Uncaught TypeError: this.setEditorValue is not a function&quot; with Japanese input method #807&#10;Issue: https://github.com/xdan/jodit/issues/807" />
1348
+ <MESSAGE value="Fixed composition `wait` and `debounce` decorators" />
1349
+ <MESSAGE value="Fixed apply styles inside another styles" />
1350
+ <MESSAGE value="Sass compile error Css3 min() #809&#10;Issue: https://github.com/xdan/jodit/issues/809" />
1351
+ <MESSAGE value="Fixed image links" />
1352
+ <MESSAGE value="The preview popup has double scrollbars #808&#10;Issue: https://github.com/xdan/jodit/issues/808" />
1353
+ <MESSAGE value="Fixed bug with sync editor size with iframe mode (Works only with [ResizeObserver](https://caniuse.com/resizeobserver))" />
1354
+ <option name="LAST_COMMIT_MESSAGE" value="Fixed bug with sync editor size with iframe mode (Works only with [ResizeObserver](https://caniuse.com/resizeobserver))" />
1354
1355
  </component>
1355
1356
  <component name="XDebuggerManager">
1356
1357
  <breakpoint-manager>
package/CHANGELOG.MD CHANGED
@@ -9,6 +9,24 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 3.16.4
13
+
14
+ #### :bug: Bug Fix
15
+
16
+ - [Sass compile error Css3 min() #809](https://github.com/xdan/jodit/issues/809)
17
+ - [The preview popup has double scrollbars #808](https://github.com/xdan/jodit/issues/808)
18
+ - Fixed bug with sync editor size with iframe mode (Works only with [ResizeObserver](https://caniuse.com/resizeobserver))
19
+
20
+ ## 3.16.3
21
+
22
+ - Fixed composition `wait` and `debounce` decorators
23
+
24
+ ## 3.16.2
25
+
26
+ #### :bug: Bug Fix
27
+
28
+ - ["Uncaught TypeError: this.setEditorValue is not a function" with Japanese input method #807](https://github.com/xdan/jodit/issues/807)
29
+
12
30
  ## 3.16.1
13
31
 
14
32
  #### :rocket: New Feature
@@ -1222,11 +1240,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
1222
1240
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
1223
1241
  modeClassName="select")
1224
1242
  - ex: [
1225
- - { value: "", text: "" },
1226
- - { value: "val1", text: "text1" },
1227
- - { value: "val2", text: "text2" },
1228
- - { value: "val3", text: "text3" }
1229
- - ]
1243
+ - { value: "", text: "" },
1244
+ - { value: "val1", text: "text1" },
1245
+ - { value: "val2", text: "text2" },
1246
+ - { value: "val3", text: "text3" }
1247
+ - ]
1230
1248
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
1231
1249
 
1232
1250
  ##### New option `statusbar: boolean = true`
package/README.md CHANGED
@@ -71,7 +71,7 @@ And some `<textarea>` element
71
71
  After this, you can init Jodit plugin
72
72
 
73
73
  ```javascript
74
- var editor = new Jodit('#editor');
74
+ var editor = Jodit.make('#editor');
75
75
  editor.value = '<p>start</p>';
76
76
  ```
77
77
 
@@ -86,7 +86,7 @@ with jQuery
86
86
 
87
87
  ```javascript
88
88
  $('textarea').each(function () {
89
- var editor = new Jodit(this);
89
+ var editor = Jodit.make(this);
90
90
  editor.value = '<p>start</p>';
91
91
  });
92
92
  ```
@@ -156,7 +156,7 @@ php -S localhost:8181 -t ./
156
156
  and set options for Jodit:
157
157
 
158
158
  ```javascript
159
- var editor = new Jodit('#editor', {
159
+ var editor = Jodit.make('#editor', {
160
160
  uploader: {
161
161
  url: 'http://localhost:8181/index-test.php?action=fileUpload'
162
162
  },
@@ -181,7 +181,7 @@ Jodit.plugins.yourplugin = function (editor) {
181
181
  ### Add custom button
182
182
 
183
183
  ```javascript
184
- var editor = new Jodit('.someselector', {
184
+ var editor = Jodit.make('.someselector', {
185
185
  extraButtons: [
186
186
  {
187
187
  name: 'insertDate',
@@ -197,7 +197,7 @@ var editor = new Jodit('.someselector', {
197
197
  or
198
198
 
199
199
  ```javascript
200
- var editor = new Jodit('.someselector', {
200
+ var editor = Jodit.make('.someselector', {
201
201
  buttons: ['bold', 'insertDate'],
202
202
  controls: {
203
203
  insertDate: {
@@ -253,7 +253,7 @@ Jodit.plugins.add(
253
253
  }
254
254
  );
255
255
 
256
- var editor = new Jodit('.someselector', {
256
+ var editor = Jodit.make('.someselector', {
257
257
  buttons: ['bold', 'insertText'],
258
258
  controls: {
259
259
  insertText: {
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.16.1
4
+ * Version: v3.16.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.16.1
11
+ * Version: v3.16.4
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
@@ -1442,6 +1442,11 @@ svg.jodit-icon {
1442
1442
  opacity: 1;
1443
1443
  outline: 0;
1444
1444
  }
1445
+ .jodit-ui-button:focus-visible:not([disabled]) {
1446
+ background-color: #dcdcdc;
1447
+ opacity: 1;
1448
+ outline: 0;
1449
+ }
1445
1450
  .jodit-ui-button:active:not([disabled]) {
1446
1451
  background-color: rgba(220, 220, 220, 0.4);
1447
1452
  outline: 0;
@@ -3369,6 +3374,11 @@ svg.jodit-icon {
3369
3374
  opacity: 1;
3370
3375
  outline: 0;
3371
3376
  }
3377
+ .jodit-toolbar-button__button:focus-visible:not([disabled]) {
3378
+ background-color: #dcdcdc;
3379
+ opacity: 1;
3380
+ outline: 0;
3381
+ }
3372
3382
  .jodit-toolbar-button__button:active:not([disabled]) {
3373
3383
  background-color: rgba(220, 220, 220, 0.4);
3374
3384
  outline: 0;
@@ -3405,6 +3415,11 @@ svg.jodit-icon {
3405
3415
  opacity: 1;
3406
3416
  outline: 0;
3407
3417
  }
3418
+ .jodit-toolbar-button__trigger:focus-visible:not([disabled]) {
3419
+ background-color: #dcdcdc;
3420
+ opacity: 1;
3421
+ outline: 0;
3422
+ }
3408
3423
  .jodit-toolbar-button__trigger:active:not([disabled]) {
3409
3424
  background-color: rgba(220, 220, 220, 0.4);
3410
3425
  outline: 0;
@@ -3502,6 +3517,11 @@ svg.jodit-icon {
3502
3517
  opacity: 1;
3503
3518
  outline: 0;
3504
3519
  }
3520
+ .jodit-toolbar-content:focus-visible:not([disabled]) {
3521
+ background-color: #dcdcdc;
3522
+ opacity: 1;
3523
+ outline: 0;
3524
+ }
3505
3525
  .jodit-toolbar-content:active:not([disabled]) {
3506
3526
  background-color: rgba(220, 220, 220, 0.4);
3507
3527
  outline: 0;
@@ -3888,9 +3908,9 @@ svg.jodit-icon {
3888
3908
  display: -ms-flexbox;
3889
3909
  display: flex;
3890
3910
  min-width: 400px;
3891
- max-width: min(100%, 1000px);
3911
+ max-width: Min(100%, 1000px);
3892
3912
  height: 100%;
3893
- min-height: min(100%, 500px);
3913
+ min-height: Min(100%, 500px);
3894
3914
  max-height: 100%;
3895
3915
  -webkit-box-align: center;
3896
3916
  -ms-flex-align: center;
@@ -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.16.1
4
+ * Version: v3.16.4
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1164,7 +1164,8 @@ svg.jodit-icon {
1164
1164
  min-width: 34px;
1165
1165
  height: 34px;
1166
1166
  }
1167
- .jodit-ui-button:hover:not([disabled]) {
1167
+ .jodit-ui-button:hover:not([disabled]),
1168
+ .jodit-ui-button:focus-visible:not([disabled]) {
1168
1169
  background-color: var(--jd-color-button-background-hover);
1169
1170
  opacity: 1;
1170
1171
  outline: 0;
@@ -2700,7 +2701,8 @@ svg.jodit-icon {
2700
2701
  border-radius: var(--jd-border-radius-default);
2701
2702
  color: var(--jd-color-text-icons);
2702
2703
  }
2703
- .jodit-toolbar-button__button:hover:not([disabled]) {
2704
+ .jodit-toolbar-button__button:hover:not([disabled]),
2705
+ .jodit-toolbar-button__button:focus-visible:not([disabled]) {
2704
2706
  background-color: var(--jd-color-button-background-hover);
2705
2707
  opacity: 1;
2706
2708
  outline: 0;
@@ -2727,7 +2729,8 @@ svg.jodit-icon {
2727
2729
  cursor: pointer;
2728
2730
  width: 14px;
2729
2731
  }
2730
- .jodit-toolbar-button__trigger:hover:not([disabled]) {
2732
+ .jodit-toolbar-button__trigger:hover:not([disabled]),
2733
+ .jodit-toolbar-button__trigger:focus-visible:not([disabled]) {
2731
2734
  background-color: var(--jd-color-button-background-hover);
2732
2735
  opacity: 1;
2733
2736
  outline: 0;
@@ -2808,7 +2811,8 @@ svg.jodit-icon {
2808
2811
  padding: 0;
2809
2812
  border: 1px solid transparent;
2810
2813
  }
2811
- .jodit-toolbar-content:hover:not([disabled]) {
2814
+ .jodit-toolbar-content:hover:not([disabled]),
2815
+ .jodit-toolbar-content:focus-visible:not([disabled]) {
2812
2816
  background-color: var(--jd-color-button-background-hover);
2813
2817
  opacity: 1;
2814
2818
  outline: 0;
@@ -3168,9 +3172,9 @@ svg.jodit-icon {
3168
3172
  position: relative;
3169
3173
  display: flex;
3170
3174
  min-width: 400px;
3171
- max-width: min(100%, 1000px);
3175
+ max-width: Min(100%, 1000px);
3172
3176
  height: 100%;
3173
- min-height: min(100%, 500px);
3177
+ min-height: Min(100%, 500px);
3174
3178
  max-height: 100%;
3175
3179
  align-items: center;
3176
3180
  justify-content: center;
@@ -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.16.1
4
+ * Version: v3.16.4
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1164,7 +1164,8 @@ svg.jodit-icon {
1164
1164
  min-width: 34px;
1165
1165
  height: 34px;
1166
1166
  }
1167
- .jodit-ui-button:hover:not([disabled]) {
1167
+ .jodit-ui-button:hover:not([disabled]),
1168
+ .jodit-ui-button:focus-visible:not([disabled]) {
1168
1169
  background-color: var(--jd-color-button-background-hover);
1169
1170
  opacity: 1;
1170
1171
  outline: 0;
@@ -2700,7 +2701,8 @@ svg.jodit-icon {
2700
2701
  border-radius: var(--jd-border-radius-default);
2701
2702
  color: var(--jd-color-text-icons);
2702
2703
  }
2703
- .jodit-toolbar-button__button:hover:not([disabled]) {
2704
+ .jodit-toolbar-button__button:hover:not([disabled]),
2705
+ .jodit-toolbar-button__button:focus-visible:not([disabled]) {
2704
2706
  background-color: var(--jd-color-button-background-hover);
2705
2707
  opacity: 1;
2706
2708
  outline: 0;
@@ -2727,7 +2729,8 @@ svg.jodit-icon {
2727
2729
  cursor: pointer;
2728
2730
  width: 14px;
2729
2731
  }
2730
- .jodit-toolbar-button__trigger:hover:not([disabled]) {
2732
+ .jodit-toolbar-button__trigger:hover:not([disabled]),
2733
+ .jodit-toolbar-button__trigger:focus-visible:not([disabled]) {
2731
2734
  background-color: var(--jd-color-button-background-hover);
2732
2735
  opacity: 1;
2733
2736
  outline: 0;
@@ -2808,7 +2811,8 @@ svg.jodit-icon {
2808
2811
  padding: 0;
2809
2812
  border: 1px solid transparent;
2810
2813
  }
2811
- .jodit-toolbar-content:hover:not([disabled]) {
2814
+ .jodit-toolbar-content:hover:not([disabled]),
2815
+ .jodit-toolbar-content:focus-visible:not([disabled]) {
2812
2816
  background-color: var(--jd-color-button-background-hover);
2813
2817
  opacity: 1;
2814
2818
  outline: 0;
@@ -3168,9 +3172,9 @@ svg.jodit-icon {
3168
3172
  position: relative;
3169
3173
  display: flex;
3170
3174
  min-width: 400px;
3171
- max-width: min(100%, 1000px);
3175
+ max-width: Min(100%, 1000px);
3172
3176
  height: 100%;
3173
- min-height: min(100%, 500px);
3177
+ min-height: Min(100%, 500px);
3174
3178
  max-height: 100%;
3175
3179
  align-items: center;
3176
3180
  justify-content: center;