jodit 3.18.4 → 3.18.5

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 (51) hide show
  1. package/.idea/workspace.xml +56 -68
  2. package/CHANGELOG.MD +30 -8
  3. package/build/jodit.css +66 -5
  4. package/build/jodit.es2018.css +19 -4
  5. package/build/jodit.es2018.en.css +19 -4
  6. package/build/jodit.es2018.en.js +296 -79
  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 +296 -79
  10. package/build/jodit.es2018.min.css +1 -1
  11. package/build/jodit.es2018.min.js +1 -1
  12. package/build/jodit.js +1997 -1743
  13. package/build/jodit.min.css +2 -2
  14. package/build/jodit.min.js +1 -1
  15. package/build/vdom.css +1 -1
  16. package/build/vdom.js +5 -3
  17. package/package.json +1 -1
  18. package/src/config.ts +5 -1
  19. package/src/core/async/async.ts +5 -3
  20. package/src/core/helpers/utils/error/error.ts +34 -0
  21. package/src/core/helpers/utils/error/errors/abort-error.ts +16 -0
  22. package/src/core/helpers/utils/error/errors/connection-error.ts +16 -0
  23. package/src/core/helpers/utils/{error.ts → error/errors/index.ts} +3 -6
  24. package/src/core/helpers/utils/error/errors/options-error.ts +16 -0
  25. package/{types/core/helpers/utils/error.d.ts → src/core/helpers/utils/error/index.ts} +4 -4
  26. package/src/core/request/ajax.ts +22 -11
  27. package/src/modules/file-browser/data-provider.ts +11 -9
  28. package/src/modules/file-browser/fetch/load-items.ts +5 -3
  29. package/src/modules/file-browser/fetch/load-tree.ts +3 -10
  30. package/src/modules/file-browser/file-browser.ts +10 -1
  31. package/src/modules/file-browser/listeners/self-listeners.ts +4 -4
  32. package/src/modules/table/table.test.js +1 -1
  33. package/src/plugins/fix/clean-html/clean-html.test.js +3 -3
  34. package/src/plugins/fix/clean-html/helpers/remove-format/remove-format-for-selection.ts +1 -1
  35. package/src/plugins/print/helpers.ts +1 -1
  36. package/src/plugins/print/lib/generate-critical-css.ts +135 -0
  37. package/src/plugins/print/print.ts +7 -4
  38. package/src/plugins/table/config.ts +0 -4
  39. package/src/plugins/table/table.common.less +1 -4
  40. package/src/plugins/table/table.test.js +43 -0
  41. package/src/styles/mixins.less +8 -0
  42. package/src/types/create.d.ts +1 -1
  43. package/types/core/helpers/utils/error/error.d.ts +13 -0
  44. package/types/core/helpers/utils/error/errors/abort-error.d.ts +11 -0
  45. package/types/core/helpers/utils/error/errors/connection-error.d.ts +11 -0
  46. package/types/core/helpers/utils/error/errors/index.d.ts +11 -0
  47. package/types/core/helpers/utils/error/errors/options-error.d.ts +11 -0
  48. package/types/core/helpers/utils/error/index.d.ts +10 -0
  49. package/types/core/request/ajax.d.ts +1 -1
  50. package/types/plugins/print/lib/generate-critical-css.d.ts +7 -0
  51. package/types/types/create.d.ts +1 -1
@@ -13,22 +13,6 @@
13
13
  <component name="ChangeListManager">
14
14
  <list default="true" id="5da7ff7f-03a8-49de-9fbb-8f8640d83b83" name="Default Changelist" comment="">
15
15
  <change beforePath="$PROJECT_DIR$/CHANGELOG.MD" beforeDir="false" afterPath="$PROJECT_DIR$/CHANGELOG.MD" afterDir="false" />
16
- <change beforePath="$PROJECT_DIR$/build/jodit.css" beforeDir="false" />
17
- <change beforePath="$PROJECT_DIR$/build/jodit.es2018.css" beforeDir="false" />
18
- <change beforePath="$PROJECT_DIR$/build/jodit.es2018.en.css" beforeDir="false" />
19
- <change beforePath="$PROJECT_DIR$/build/jodit.es2018.en.js" beforeDir="false" />
20
- <change beforePath="$PROJECT_DIR$/build/jodit.es2018.en.min.css" beforeDir="false" />
21
- <change beforePath="$PROJECT_DIR$/build/jodit.es2018.en.min.js" beforeDir="false" />
22
- <change beforePath="$PROJECT_DIR$/build/jodit.es2018.js" beforeDir="false" />
23
- <change beforePath="$PROJECT_DIR$/build/jodit.es2018.min.css" beforeDir="false" />
24
- <change beforePath="$PROJECT_DIR$/build/jodit.es2018.min.js" beforeDir="false" />
25
- <change beforePath="$PROJECT_DIR$/build/jodit.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/jodit.js" afterDir="false" />
26
- <change beforePath="$PROJECT_DIR$/build/jodit.min.css" beforeDir="false" />
27
- <change beforePath="$PROJECT_DIR$/build/jodit.min.js" beforeDir="false" />
28
- <change beforePath="$PROJECT_DIR$/build/vdom.css" beforeDir="false" />
29
- <change beforePath="$PROJECT_DIR$/build/vdom.js" beforeDir="false" />
30
- <change beforePath="$PROJECT_DIR$/src/modules/file-browser/file-browser.test.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/modules/file-browser/file-browser.test.js" afterDir="false" />
31
- <change beforePath="$PROJECT_DIR$/src/modules/uploader/helpers/send-files.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/modules/uploader/helpers/send-files.ts" afterDir="false" />
32
16
  </list>
33
17
  <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
18
  <option name="SHOW_DIALOG" value="false" />
@@ -116,11 +100,11 @@
116
100
  <recent name="$PROJECT_DIR$/src/plugins/line-height" />
117
101
  </key>
118
102
  <key name="MoveFile.RECENT_KEYS">
103
+ <recent name="$PROJECT_DIR$/src/plugins/print" />
104
+ <recent name="$PROJECT_DIR$/src/core/helpers/utils/errors" />
119
105
  <recent name="$PROJECT_DIR$/src/plugins/speech/speech-recognize" />
120
106
  <recent name="$PROJECT_DIR$/src/core/create" />
121
107
  <recent name="$PROJECT_DIR$/src/langs" />
122
- <recent name="$PROJECT_DIR$/src/plugins" />
123
- <recent name="$PROJECT_DIR$/src/plugins/clipboard" />
124
108
  </key>
125
109
  </component>
126
110
  <component name="RunManager" selected="Node.js.find-tests.js">
@@ -844,49 +828,11 @@
844
828
  <workItem from="1652288722754" duration="1515000" />
845
829
  <workItem from="1652290653496" duration="1875000" />
846
830
  <workItem from="1652357632395" duration="2336000" />
847
- <workItem from="1652375698652" duration="2440000" />
848
- </task>
849
- <task id="LOCAL-01077" summary="Fixed bug with sync editor size with iframe mode (Works only with [ResizeObserver](https://caniuse.com/resizeobserver))">
850
- <created>1648381838293</created>
851
- <option name="number" value="01077" />
852
- <option name="presentableId" value="LOCAL-01077" />
853
- <option name="project" value="LOCAL" />
854
- <updated>1648381838293</updated>
855
- </task>
856
- <task id="LOCAL-01078" summary="Added `imageProcessor.replaceDataURIToBlobIdInView` functionality">
857
- <created>1648418431582</created>
858
- <option name="number" value="01078" />
859
- <option name="presentableId" value="LOCAL-01078" />
860
- <option name="project" value="LOCAL" />
861
- <updated>1648418431582</updated>
862
- </task>
863
- <task id="LOCAL-01079" summary="Added `imageProcessor.replaceDataURIToBlobIdInView` functionality">
864
- <created>1648418757762</created>
865
- <option name="number" value="01079" />
866
- <option name="presentableId" value="LOCAL-01079" />
867
- <option name="project" value="LOCAL" />
868
- <updated>1648418757762</updated>
869
- </task>
870
- <task id="LOCAL-01080" summary="Added `imageProcessor.replaceDataURIToBlobIdInView` functionality">
871
- <created>1648420872241</created>
872
- <option name="number" value="01080" />
873
- <option name="presentableId" value="LOCAL-01080" />
874
- <option name="project" value="LOCAL" />
875
- <updated>1648420872241</updated>
876
- </task>
877
- <task id="LOCAL-01081" summary="Remove deprecated event emmit">
878
- <created>1648424690941</created>
879
- <option name="number" value="01081" />
880
- <option name="presentableId" value="LOCAL-01081" />
881
- <option name="project" value="LOCAL" />
882
- <updated>1648424690941</updated>
883
- </task>
884
- <task id="LOCAL-01082" summary="&quot;Uncaught TypeError: Cannot redefine property: __activeTab&quot; occurs when I use 'brush' button twice in inline-popup for a element. #815&#10;Issue: https://github.com/xdan/jodit/issues/815">
885
- <created>1648755081713</created>
886
- <option name="number" value="01082" />
887
- <option name="presentableId" value="LOCAL-01082" />
888
- <option name="project" value="LOCAL" />
889
- <updated>1648755081714</updated>
831
+ <workItem from="1652375698652" duration="3786000" />
832
+ <workItem from="1652381164201" duration="2798000" />
833
+ <workItem from="1652442012011" duration="62000" />
834
+ <workItem from="1652610834842" duration="8668000" />
835
+ <workItem from="1652719253405" duration="4951000" />
890
836
  </task>
891
837
  <task id="LOCAL-01083" summary="&quot;Uncaught TypeError: Cannot redefine property: __activeTab&quot; occurs when I use 'brush' button twice in inline-popup for a element. #815&#10;Issue: https://github.com/xdan/jodit/issues/815">
892
838
  <created>1648755114501</created>
@@ -1189,7 +1135,49 @@
1189
1135
  <option name="project" value="LOCAL" />
1190
1136
  <updated>1652377125784</updated>
1191
1137
  </task>
1192
- <option name="localTasksCounter" value="1126" />
1138
+ <task id="LOCAL-01126" summary="Fixed file naming error when uploading to server">
1139
+ <created>1652378235293</created>
1140
+ <option name="number" value="01126" />
1141
+ <option name="presentableId" value="LOCAL-01126" />
1142
+ <option name="project" value="LOCAL" />
1143
+ <updated>1652378235293</updated>
1144
+ </task>
1145
+ <task id="LOCAL-01127" summary="Fixed a bug where the download cancellation business exceptions were shown as errors in the file browser. Also fixed uncatchable exceptions inside Async.promise">
1146
+ <created>1652719607637</created>
1147
+ <option name="number" value="01127" />
1148
+ <option name="presentableId" value="LOCAL-01127" />
1149
+ <option name="project" value="LOCAL" />
1150
+ <updated>1652719607637</updated>
1151
+ </task>
1152
+ <task id="LOCAL-01128" summary="Fixed a bug where the download cancellation business exceptions were shown as errors in the file browser. Also fixed uncatchable exceptions inside Async.promise">
1153
+ <created>1652719761468</created>
1154
+ <option name="number" value="01128" />
1155
+ <option name="presentableId" value="LOCAL-01128" />
1156
+ <option name="project" value="LOCAL" />
1157
+ <updated>1652719761468</updated>
1158
+ </task>
1159
+ <task id="LOCAL-01129" summary="Fixed table default style">
1160
+ <created>1652723764770</created>
1161
+ <option name="number" value="01129" />
1162
+ <option name="presentableId" value="LOCAL-01129" />
1163
+ <option name="project" value="LOCAL" />
1164
+ <updated>1652723764770</updated>
1165
+ </task>
1166
+ <task id="LOCAL-01130" summary="Fixed styles inside print mode">
1167
+ <created>1652723793165</created>
1168
+ <option name="number" value="01130" />
1169
+ <option name="presentableId" value="LOCAL-01130" />
1170
+ <option name="project" value="LOCAL" />
1171
+ <updated>1652723793165</updated>
1172
+ </task>
1173
+ <task id="LOCAL-01131" summary="Fixed styles inside print mode">
1174
+ <created>1652724201058</created>
1175
+ <option name="number" value="01131" />
1176
+ <option name="presentableId" value="LOCAL-01131" />
1177
+ <option name="project" value="LOCAL" />
1178
+ <updated>1652724201058</updated>
1179
+ </task>
1180
+ <option name="localTasksCounter" value="1132" />
1193
1181
  <servers />
1194
1182
  </component>
1195
1183
  <component name="TypeScriptGeneratedFilesManager">
@@ -1329,11 +1317,6 @@
1329
1317
  </component>
1330
1318
  <component name="VcsManagerConfiguration">
1331
1319
  <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
1332
- <MESSAGE value="selection.insertHTML causes infinite blur loop when Jodit editor not active&#10;Added `insertCursorAfter` argument.&#10;&#10;Issue: https://github.com/xdan/jodit/issues/819" />
1333
- <MESSAGE value="Preview missing non styled content in a paragraph when there is any styled text in that paragraph #823&#10;Issue: https://github.com/xdan/jodit/issues/823" />
1334
- <MESSAGE value="Image hyperlink is not working without https:// #821&#10;Issue: https://github.com/xdan/jodit/issues/821" />
1335
- <MESSAGE value="All components have their own instance of the Async module. What used to be `this.j.async` is now `this.async`." />
1336
- <MESSAGE value="Added tests for Enter plugin" />
1337
1320
  <MESSAGE value="Fixed non-removal of the event handler on destruct" />
1338
1321
  <MESSAGE value="Clear events Key after destruct" />
1339
1322
  <MESSAGE value="Added test for Enter inside nested list" />
@@ -1354,7 +1337,12 @@
1354
1337
  <MESSAGE value="Merge" />
1355
1338
  <MESSAGE value="Fixed a bug where pressing `Esc` did not close the dialog" />
1356
1339
  <MESSAGE value="Added option `uploader.processFileName` - The method can be used to change the name of the uploaded file" />
1357
- <option name="LAST_COMMIT_MESSAGE" value="Added option `uploader.processFileName` - The method can be used to change the name of the uploaded file" />
1340
+ <MESSAGE value="Fixed file naming error when uploading to server" />
1341
+ <MESSAGE value="Try fix datapro" />
1342
+ <MESSAGE value="Fixed a bug where the download cancellation business exceptions were shown as errors in the file browser. Also fixed uncatchable exceptions inside Async.promise" />
1343
+ <MESSAGE value="Fixed table default style" />
1344
+ <MESSAGE value="Fixed styles inside print mode" />
1345
+ <option name="LAST_COMMIT_MESSAGE" value="Fixed styles inside print mode" />
1358
1346
  </component>
1359
1347
  <component name="XDebuggerManager">
1360
1348
  <breakpoint-manager>
package/CHANGELOG.MD CHANGED
@@ -9,6 +9,28 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 3.18.5
13
+
14
+ #### :boom: Breaking Change
15
+
16
+ - Added default table style to `createAttributes` option:
17
+
18
+ ```js
19
+ Jodit.defaultOptions.createAttributes = {
20
+ table: {
21
+ style: 'border-collapse:collapse;width: 100%;'
22
+ }
23
+ };
24
+ ```
25
+
26
+ #### :bug: Bug Fix
27
+
28
+ - Fixed a bug where the download cancellation business exceptions were shown as errors in the file browser. Also fixed uncatchable exceptions inside Async.promise
29
+ - [Fixed Eraser delete "<a>" tag! #705 #845](https://github.com/xdan/jodit/pull/845) Thanks @s-renier-taonix-fr
30
+ - [Update Docker Env #844](https://github.com/xdan/jodit/pull/844) Thanks @s-renier-taonix-fr
31
+ - Fixed table default styles [Jodit doesn't keep table borders #295](https://github.com/xdan/jodit/issues/295)
32
+ - [All td elements got double border style. #842](https://github.com/xdan/jodit/issues/842)
33
+
12
34
  ## 3.18.4
13
35
 
14
36
  #### :rocket: New Feature
@@ -1450,11 +1472,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
1450
1472
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
1451
1473
  modeClassName="select")
1452
1474
  - ex: [
1453
- - { value: "", text: "" },
1454
- - { value: "val1", text: "text1" },
1455
- - { value: "val2", text: "text2" },
1456
- - { value: "val3", text: "text3" }
1457
- - ]
1475
+ - { value: "", text: "" },
1476
+ - { value: "val1", text: "text1" },
1477
+ - { value: "val2", text: "text2" },
1478
+ - { value: "val3", text: "text3" }
1479
+ - ]
1458
1480
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
1459
1481
 
1460
1482
  ##### New option `statusbar: boolean = true`
@@ -2605,10 +2627,10 @@ var editor = new Jodit('#example2_0', {
2605
2627
  Dom Module is now compatible with jQuery objects
2606
2628
 
2607
2629
  ```javascript
2608
- var a = jQuery("<a href=\"#link\">Link</a>");
2630
+ var a = jQuery('<a href="#link">Link</a>');
2609
2631
  jodit.modules.Dom('.selector').append(a);
2610
- jodit.modules.Dom(jQuery("#someid")).val();
2611
- jodit.modules.Dom("#someid").val();
2632
+ jodit.modules.Dom(jQuery('#someid')).val();
2633
+ jodit.modules.Dom('#someid').val();
2612
2634
  ```
2613
2635
 
2614
2636
  But you must remember that Jodit.modules.Dom! = JQuery
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.18.4
4
+ * Version: v3.18.5
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.18.4
11
+ * Version: v3.18.5
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
@@ -5583,9 +5583,7 @@ html.jodit_fullsize-box_true {
5583
5583
  * Released under MIT see LICENSE.txt in the project root for license information.
5584
5584
  * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5585
5585
  */
5586
- td[style*='border'] {
5587
- border-style: double !important;
5588
- }
5586
+ .jodit-context table,
5589
5587
  .jodit-wysiwyg table {
5590
5588
  max-width: 100%;
5591
5589
  border: none;
@@ -5594,12 +5592,30 @@ td[style*='border'] {
5594
5592
  border-collapse: collapse;
5595
5593
  empty-cells: show;
5596
5594
  }
5595
+ .jodit-context table tr,
5597
5596
  .jodit-wysiwyg table tr {
5598
5597
  -webkit-user-select: none;
5599
5598
  -moz-user-select: none;
5600
5599
  -ms-user-select: none;
5601
5600
  user-select: none;
5602
5601
  }
5602
+ .jodit-context table tr th {
5603
+ min-width: 2em;
5604
+ padding: 0.4em;
5605
+ border: 1px solid #dadada;
5606
+ -webkit-user-select: text;
5607
+ -moz-user-select: text;
5608
+ -ms-user-select: text;
5609
+ user-select: text;
5610
+ vertical-align: middle;
5611
+ /**
5612
+ // In some circumstances, because of this rule,
5613
+ // the borders of the table are not shown - you need to find out under what
5614
+ &[style*='border'] {
5615
+ border-style: double !important;
5616
+ }
5617
+ */
5618
+ }
5603
5619
  .jodit-wysiwyg table tr th {
5604
5620
  min-width: 2em;
5605
5621
  padding: 0.4em;
@@ -5609,6 +5625,30 @@ td[style*='border'] {
5609
5625
  -ms-user-select: text;
5610
5626
  user-select: text;
5611
5627
  vertical-align: middle;
5628
+ /**
5629
+ // In some circumstances, because of this rule,
5630
+ // the borders of the table are not shown - you need to find out under what
5631
+ &[style*='border'] {
5632
+ border-style: double !important;
5633
+ }
5634
+ */
5635
+ }
5636
+ .jodit-context table tr td {
5637
+ min-width: 2em;
5638
+ padding: 0.4em;
5639
+ border: 1px solid #dadada;
5640
+ -webkit-user-select: text;
5641
+ -moz-user-select: text;
5642
+ -ms-user-select: text;
5643
+ user-select: text;
5644
+ vertical-align: middle;
5645
+ /**
5646
+ // In some circumstances, because of this rule,
5647
+ // the borders of the table are not shown - you need to find out under what
5648
+ &[style*='border'] {
5649
+ border-style: double !important;
5650
+ }
5651
+ */
5612
5652
  }
5613
5653
  .jodit-wysiwyg table tr td {
5614
5654
  min-width: 2em;
@@ -5619,6 +5659,13 @@ td[style*='border'] {
5619
5659
  -ms-user-select: text;
5620
5660
  user-select: text;
5621
5661
  vertical-align: middle;
5662
+ /**
5663
+ // In some circumstances, because of this rule,
5664
+ // the borders of the table are not shown - you need to find out under what
5665
+ &[style*='border'] {
5666
+ border-style: double !important;
5667
+ }
5668
+ */
5622
5669
  }
5623
5670
  .jodit-table-resizer {
5624
5671
  position: absolute;
@@ -5759,6 +5806,13 @@ td[style*='border'] {
5759
5806
  -ms-user-select: text;
5760
5807
  user-select: text;
5761
5808
  vertical-align: middle;
5809
+ /**
5810
+ // In some circumstances, because of this rule,
5811
+ // the borders of the table are not shown - you need to find out under what
5812
+ &[style*='border'] {
5813
+ border-style: double !important;
5814
+ }
5815
+ */
5762
5816
  }
5763
5817
  .jodit__preview-box table tr td {
5764
5818
  min-width: 2em;
@@ -5769,6 +5823,13 @@ td[style*='border'] {
5769
5823
  -ms-user-select: text;
5770
5824
  user-select: text;
5771
5825
  vertical-align: middle;
5826
+ /**
5827
+ // In some circumstances, because of this rule,
5828
+ // the borders of the table are not shown - you need to find out under what
5829
+ &[style*='border'] {
5830
+ border-style: double !important;
5831
+ }
5832
+ */
5772
5833
  }
5773
5834
 
5774
5835
  /*!
@@ -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.18.4
4
+ * Version: v3.18.5
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -4633,9 +4633,7 @@ html.jodit_fullsize-box_true {
4633
4633
  * Released under MIT see LICENSE.txt in the project root for license information.
4634
4634
  * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4635
4635
  */
4636
- td[style*='border'] {
4637
- border-style: double !important;
4638
- }
4636
+ .jodit-context table,
4639
4637
  .jodit-wysiwyg table {
4640
4638
  max-width: 100%;
4641
4639
  border: none;
@@ -4644,16 +4642,26 @@ td[style*='border'] {
4644
4642
  border-collapse: collapse;
4645
4643
  empty-cells: show;
4646
4644
  }
4645
+ .jodit-context table tr,
4647
4646
  .jodit-wysiwyg table tr {
4648
4647
  user-select: none;
4649
4648
  }
4649
+ .jodit-context table tr th,
4650
4650
  .jodit-wysiwyg table tr th,
4651
+ .jodit-context table tr td,
4651
4652
  .jodit-wysiwyg table tr td {
4652
4653
  min-width: 2em;
4653
4654
  padding: 0.4em;
4654
4655
  border: 1px solid var(--jd-color-border);
4655
4656
  user-select: text;
4656
4657
  vertical-align: middle;
4658
+ /**
4659
+ // In some circumstances, because of this rule,
4660
+ // the borders of the table are not shown - you need to find out under what
4661
+ &[style*='border'] {
4662
+ border-style: double !important;
4663
+ }
4664
+ */
4657
4665
  }
4658
4666
  .jodit-table-resizer {
4659
4667
  position: absolute;
@@ -4777,6 +4785,13 @@ td[style*='border'] {
4777
4785
  border: 1px solid var(--jd-color-border);
4778
4786
  user-select: text;
4779
4787
  vertical-align: middle;
4788
+ /**
4789
+ // In some circumstances, because of this rule,
4790
+ // the borders of the table are not shown - you need to find out under what
4791
+ &[style*='border'] {
4792
+ border-style: double !important;
4793
+ }
4794
+ */
4780
4795
  }
4781
4796
 
4782
4797
  /*!
@@ -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.18.4
4
+ * Version: v3.18.5
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -4633,9 +4633,7 @@ html.jodit_fullsize-box_true {
4633
4633
  * Released under MIT see LICENSE.txt in the project root for license information.
4634
4634
  * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4635
4635
  */
4636
- td[style*='border'] {
4637
- border-style: double !important;
4638
- }
4636
+ .jodit-context table,
4639
4637
  .jodit-wysiwyg table {
4640
4638
  max-width: 100%;
4641
4639
  border: none;
@@ -4644,16 +4642,26 @@ td[style*='border'] {
4644
4642
  border-collapse: collapse;
4645
4643
  empty-cells: show;
4646
4644
  }
4645
+ .jodit-context table tr,
4647
4646
  .jodit-wysiwyg table tr {
4648
4647
  user-select: none;
4649
4648
  }
4649
+ .jodit-context table tr th,
4650
4650
  .jodit-wysiwyg table tr th,
4651
+ .jodit-context table tr td,
4651
4652
  .jodit-wysiwyg table tr td {
4652
4653
  min-width: 2em;
4653
4654
  padding: 0.4em;
4654
4655
  border: 1px solid var(--jd-color-border);
4655
4656
  user-select: text;
4656
4657
  vertical-align: middle;
4658
+ /**
4659
+ // In some circumstances, because of this rule,
4660
+ // the borders of the table are not shown - you need to find out under what
4661
+ &[style*='border'] {
4662
+ border-style: double !important;
4663
+ }
4664
+ */
4657
4665
  }
4658
4666
  .jodit-table-resizer {
4659
4667
  position: absolute;
@@ -4777,6 +4785,13 @@ td[style*='border'] {
4777
4785
  border: 1px solid var(--jd-color-border);
4778
4786
  user-select: text;
4779
4787
  vertical-align: middle;
4788
+ /**
4789
+ // In some circumstances, because of this rule,
4790
+ // the borders of the table are not shown - you need to find out under what
4791
+ &[style*='border'] {
4792
+ border-style: double !important;
4793
+ }
4794
+ */
4780
4795
  }
4781
4796
 
4782
4797
  /*!