jodit 3.6.16 → 3.7.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 (107) hide show
  1. package/.eslintrc.js +1 -1
  2. package/{ISSUE_TEMPLATE.md → .github/ISSUE_TEMPLATE.md} +0 -0
  3. package/{PULL_REQUEST_TEMPLATE.md → .github/PULL_REQUEST_TEMPLATE.md} +0 -0
  4. package/CHANGELOG.MD +76 -5
  5. package/build/jodit.css +23 -19
  6. package/build/jodit.es2018.css +22 -18
  7. package/build/jodit.es2018.en.css +22 -18
  8. package/build/jodit.es2018.en.js +153 -99
  9. package/build/jodit.es2018.en.min.css +1 -1
  10. package/build/jodit.es2018.en.min.js +2 -2
  11. package/build/jodit.es2018.js +153 -99
  12. package/build/jodit.es2018.min.css +1 -1
  13. package/build/jodit.es2018.min.js +2 -2
  14. package/build/jodit.js +884 -809
  15. package/build/jodit.min.css +2 -2
  16. package/build/jodit.min.js +2 -2
  17. package/package.json +24 -24
  18. package/src/core/async.ts +22 -8
  19. package/src/core/component/component.ts +4 -2
  20. package/src/core/component/view-component.ts +1 -1
  21. package/src/core/decorators/cache.ts +1 -1
  22. package/src/core/decorators/component.ts +1 -1
  23. package/src/core/decorators/debounce.ts +5 -4
  24. package/src/core/decorators/idle.ts +40 -0
  25. package/src/core/decorators/index.ts +1 -0
  26. package/src/core/decorators/nonenumerable.ts +1 -1
  27. package/src/core/decorators/spy.ts +2 -3
  28. package/src/core/decorators/watch.ts +9 -5
  29. package/src/core/events/events-native.ts +1 -1
  30. package/src/core/global.ts +7 -3
  31. package/src/core/helpers/checker/is-plain-object.ts +1 -2
  32. package/src/core/helpers/checker/is-url.ts +4 -1
  33. package/src/core/helpers/scroll-into-view.ts +1 -1
  34. package/src/core/helpers/size/position.ts +1 -22
  35. package/src/core/helpers/string/stringify.ts +2 -2
  36. package/src/core/helpers/type.ts +0 -44
  37. package/src/core/helpers/utils/utils.ts +1 -1
  38. package/src/core/plugin.ts +3 -1
  39. package/src/core/ui/button/button/button.ts +2 -2
  40. package/src/core/ui/button/group/group.ts +6 -4
  41. package/src/core/ui/element.ts +2 -2
  42. package/src/core/ui/form/block/block.ts +1 -1
  43. package/src/core/ui/form/form.ts +5 -5
  44. package/src/core/ui/form/inputs/area/area.ts +3 -3
  45. package/src/core/ui/form/inputs/checkbox/checkbox.ts +2 -2
  46. package/src/core/ui/form/inputs/file/file.ts +6 -4
  47. package/src/core/ui/form/inputs/input/input.ts +7 -5
  48. package/src/core/ui/form/inputs/select/select.ts +9 -7
  49. package/src/core/ui/list/group.ts +4 -4
  50. package/src/core/ui/list/list.ts +2 -2
  51. package/src/core/ui/popup/popup.ts +3 -3
  52. package/src/core/ui/progress-bar/progress-bar.ts +3 -3
  53. package/src/core/view/view-with-toolbar.ts +5 -2
  54. package/src/core/view/view.ts +2 -2
  55. package/src/jodit.ts +37 -15
  56. package/src/modules/context-menu/context-menu.ts +1 -1
  57. package/src/modules/dialog/dialog.ts +4 -4
  58. package/src/modules/file-browser/builders/context-menu.ts +1 -1
  59. package/src/modules/file-browser/data-provider.ts +1 -1
  60. package/src/modules/file-browser/file-browser.ts +3 -3
  61. package/src/modules/image-editor/image-editor.ts +1 -1
  62. package/src/modules/observer/observer.ts +1 -1
  63. package/src/modules/observer/snapshot.ts +1 -1
  64. package/src/modules/status-bar/status-bar.ts +1 -1
  65. package/src/modules/table.ts +3 -1
  66. package/src/modules/toolbar/button/button.ts +13 -10
  67. package/src/modules/toolbar/button/content.ts +3 -3
  68. package/src/modules/toolbar/collection/collection.ts +9 -6
  69. package/src/modules/toolbar/collection/editor-collection.ts +26 -4
  70. package/src/modules/uploader/uploader.ts +1 -1
  71. package/src/modules/widget/file-selector/file-selector.ts +1 -1
  72. package/src/plugins/about/about.ts +1 -1
  73. package/src/plugins/class-span/class-span.ts +3 -3
  74. package/src/plugins/clipboard/clipboard.ts +28 -24
  75. package/src/plugins/clipboard/paste/helpers.ts +5 -8
  76. package/src/plugins/clipboard/paste/paste.ts +3 -3
  77. package/src/plugins/fix/clean-html.ts +3 -3
  78. package/src/plugins/image/helpers.ts +1 -1
  79. package/src/plugins/inline-popup/inline-popup.ts +1 -1
  80. package/src/plugins/keyboard/delete.ts +1 -1
  81. package/src/plugins/keyboard/enter.ts +26 -26
  82. package/src/plugins/limit.ts +2 -2
  83. package/src/plugins/link/link.ts +3 -3
  84. package/src/plugins/media/video/index.ts +1 -1
  85. package/src/plugins/ordered-list.ts +64 -61
  86. package/src/plugins/redo-undo.ts +3 -3
  87. package/src/plugins/search/search.ts +2 -2
  88. package/src/plugins/select.ts +3 -2
  89. package/src/plugins/size/resize-handler.ts +2 -2
  90. package/src/plugins/size/size.ts +2 -2
  91. package/src/plugins/source/editor/engines/ace.ts +8 -8
  92. package/src/plugins/source/editor/engines/area.ts +15 -13
  93. package/src/plugins/source/source.ts +1 -1
  94. package/src/plugins/symbols/symbols.ts +3 -3
  95. package/src/plugins/table/config.ts +3 -1
  96. package/src/plugins/table/resize-cells.ts +21 -16
  97. package/src/plugins/table/select-cells.ts +44 -6
  98. package/src/plugins/table/table-keyboard-navigation.ts +134 -131
  99. package/src/plugins/table/table.less +24 -17
  100. package/src/types/async.d.ts +2 -0
  101. package/src/types/core.ts +13 -0
  102. package/src/types/index.d.ts +1 -0
  103. package/src/types/jodit.d.ts +2 -0
  104. package/test/tests/acceptance/editorTest.js +37 -0
  105. package/test/tests/acceptance/tableTest.js +23 -14
  106. package/tsconfig.json +1 -0
  107. package/webpack.config.js +1 -0
package/.eslintrc.js CHANGED
@@ -62,7 +62,7 @@ module.exports = {
62
62
  '@typescript-eslint/no-explicit-any': 'off',
63
63
  '@typescript-eslint/no-var-requires': 'off',
64
64
  '@typescript-eslint/no-unused-vars': 'off',
65
- '@typescript-eslint/explicit-module-boundary-types': 'off',
65
+ '@typescript-eslint/explicit-module-boundary-types': 'error',
66
66
  'no-fallthrough': 'off'
67
67
  },
68
68
  globals: {
File without changes
package/CHANGELOG.MD CHANGED
@@ -9,8 +9,79 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 3.7.1
13
+
14
+ #### :boom: Breaking Change
15
+
16
+ * Update Typescript 4.3.2 - and used override keyword.
17
+ * `noImplicitOverride` set true.
18
+ * Enable `@typescript-eslint/explicit-module-boundary-types`
19
+ * Remove `type` helper. Buy `jQuery` - it was your last part.
20
+
21
+ #### :bug: Bug Fix
22
+
23
+ * [hovering over the text editor triggers hover over source button instantly #138](https://github.com/jodit/jodit-react/issues/138)
24
+ * Allow insert in image dialog - relative path
25
+
26
+ #### :rocket: New Feature
27
+
28
+ * Added `idle` decorator - allow wrap class method in `requestIdleCallback`
29
+
30
+ ```ts
31
+ @component
32
+ class UIInput extends UIElement {
33
+ @idle()
34
+ onSomeEvent() {
35
+ console.log('Some data');
36
+ }
37
+ }
38
+
39
+ const elm = new UIInput(jodit);
40
+ elm.onSomeEvent();
41
+ for (let i = 0; i < 5; i += 1) {
42
+ console.log(i);
43
+ }
44
+ ```
45
+
46
+ Output
47
+ ```
48
+ 1
49
+ 2
50
+ 3
51
+ 4
52
+ Some data
53
+ ```
54
+
55
+ ## 3.6.18
56
+
57
+ #### :bug: Bug Fix
58
+
59
+ * Fixed table cells selection
60
+ * [isUrl add rtmp schema #677](https://github.com/xdan/jodit/issues/677)
61
+ * [The editor is very slow when working with tables in IE #673](https://github.com/xdan/jodit/issues/673)
62
+
63
+ ## 3.6.17
64
+
65
+ #### :rocket: New Feature
66
+
67
+ - Added `IJodit.waitForReady(): Promise<IJodit>` method.
68
+
69
+ ```js
70
+ const jodit = Jodit.make('#editor', {
71
+ extraPlugins: ['myPlugin']
72
+ });
73
+
74
+ await jodit.waitForReady(); // wait for all plugins will be initialised
75
+
76
+ jodit.e.fire('someAsyncLoadedPluginEvent', test => {
77
+ alert(test);
78
+ });
79
+ ```
80
+
12
81
  ## 3.6.16
13
82
 
83
+ #### :bug: Bug Fix
84
+
14
85
  - Fixed selection restoring after blur and set source mode.
15
86
 
16
87
  ## 3.6.15
@@ -419,11 +490,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
419
490
  - @property {number} link.selectSizeClassName=3 The size of the select (to use with modeClassName="select")
420
491
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with modeClassName="select")
421
492
  - ex: [
422
- - { value: "", text: "" },
423
- - { value: "val1", text: "text1" },
424
- - { value: "val2", text: "text2" },
425
- - { value: "val3", text: "text3" }
426
- - ]
493
+ - { value: "", text: "" },
494
+ - { value: "val1", text: "text1" },
495
+ - { value: "val2", text: "text2" },
496
+ - { value: "val3", text: "text3" }
497
+ - ]
427
498
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
428
499
 
429
500
  ##### 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.6.16
4
+ * Version: v3.7.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.6.16
11
+ * Version: v3.7.2
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
@@ -5341,33 +5341,35 @@ html.jodit_fullsize-box_true {
5341
5341
  * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5342
5342
  */
5343
5343
  .jodit-table-resizer {
5344
- cursor: col-resize;
5345
5344
  position: absolute;
5346
5345
  z-index: 3;
5347
- padding-left: calc(8px / 2);
5348
5346
  padding-right: calc(8px / 2);
5347
+ padding-left: calc(8px / 2);
5349
5348
  margin-left: calc(8px / -2);
5349
+ cursor: col-resize;
5350
5350
  }
5351
5351
  .jodit-table-resizer::after {
5352
- content: '';
5353
5352
  display: block;
5354
- height: 100%;
5355
5353
  width: 0;
5354
+ height: 100%;
5356
5355
  border: 0;
5356
+ content: '';
5357
5357
  }
5358
5358
  .jodit-table-resizer_moved {
5359
- background-color: #b5d6fd;
5360
5359
  z-index: 2;
5360
+ background-color: #b5d6fd;
5361
5361
  }
5362
5362
  .jodit-table-resizer_moved::after {
5363
5363
  border-right: 1px solid #dadada moved;
5364
5364
  }
5365
5365
  .jodit-wysiwyg table {
5366
+ max-width: 100%;
5366
5367
  border: none;
5368
+ margin-top: 1em;
5369
+ margin-bottom: 1em;
5367
5370
  border-collapse: collapse;
5368
- table-layout: fixed;
5369
5371
  empty-cells: show;
5370
- max-width: 100%;
5372
+ table-layout: fixed;
5371
5373
  }
5372
5374
  .jodit-wysiwyg table tr {
5373
5375
  -webkit-user-select: none;
@@ -5377,12 +5379,14 @@ html.jodit_fullsize-box_true {
5377
5379
  }
5378
5380
  .jodit-wysiwyg table tr th,
5379
5381
  .jodit-wysiwyg table tr td {
5380
- border: 1px solid #ddd;
5381
- vertical-align: middle;
5382
+ min-width: 2em;
5383
+ padding: 0.4em;
5384
+ border: 1px solid #bfbfbf;
5382
5385
  -webkit-user-select: text;
5383
5386
  -moz-user-select: text;
5384
5387
  -ms-user-select: text;
5385
5388
  user-select: text;
5389
+ vertical-align: middle;
5386
5390
  }
5387
5391
  .jodit-form__inserter .jodit-form__table-creator-box {
5388
5392
  display: -webkit-box;
@@ -5398,44 +5402,44 @@ html.jodit_fullsize-box_true {
5398
5402
  }
5399
5403
  }
5400
5404
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container {
5405
+ min-width: 180px;
5401
5406
  padding: 0;
5402
5407
  margin: 0;
5403
- min-width: 180px;
5404
5408
  font-size: 0;
5405
5409
  }
5406
5410
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container > div > span {
5411
+ display: inline-block;
5407
5412
  width: 18px;
5408
5413
  height: 18px;
5409
- display: inline-block;
5410
- vertical-align: top;
5411
5414
  -webkit-box-sizing: border-box;
5412
5415
  box-sizing: border-box;
5413
5416
  border: 1px solid #dadada;
5414
- margin-left: 2px;
5415
5417
  margin-bottom: 2px;
5418
+ margin-left: 2px;
5419
+ vertical-align: top;
5416
5420
  }
5417
5421
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container > div > span:first-child {
5418
5422
  margin-left: 0;
5419
5423
  }
5420
5424
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container > div > span.jodit_hovered {
5421
- background: #7a450f;
5422
5425
  border-color: #7a450f;
5426
+ background: #7a450f;
5423
5427
  }
5424
5428
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options {
5425
5429
  font-size: 14px;
5426
5430
  }
5427
5431
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label {
5428
- text-align: left;
5429
5432
  padding-top: 0;
5433
+ text-align: left;
5430
5434
  }
5431
5435
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label input {
5432
5436
  margin-right: 8px;
5433
5437
  }
5434
5438
  .jodit-form__inserter label {
5435
- text-align: center;
5436
- font-size: 14px;
5437
5439
  padding: 8px;
5438
5440
  margin: 0;
5441
+ font-size: 14px;
5442
+ text-align: center;
5439
5443
  }
5440
5444
 
5441
5445
  /*!
@@ -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.6.16
4
+ * Version: v3.7.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -4451,42 +4451,46 @@ html.jodit_fullsize-box_true {
4451
4451
  * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4452
4452
  */
4453
4453
  .jodit-table-resizer {
4454
- cursor: col-resize;
4455
4454
  position: absolute;
4456
4455
  z-index: 3;
4457
- padding-left: calc(var(--jd-padding-default) / 2);
4458
4456
  padding-right: calc(var(--jd-padding-default) / 2);
4457
+ padding-left: calc(var(--jd-padding-default) / 2);
4459
4458
  margin-left: calc(var(--jd-padding-default) / -2);
4459
+ cursor: col-resize;
4460
4460
  }
4461
4461
  .jodit-table-resizer::after {
4462
- content: '';
4463
4462
  display: block;
4464
- height: 100%;
4465
4463
  width: 0;
4464
+ height: 100%;
4466
4465
  border: 0;
4466
+ content: '';
4467
4467
  }
4468
4468
  .jodit-table-resizer_moved {
4469
- background-color: var(--jd-color-background-selection);
4470
4469
  z-index: 2;
4470
+ background-color: var(--jd-color-background-selection);
4471
4471
  }
4472
4472
  .jodit-table-resizer_moved::after {
4473
4473
  border-right: 1px solid var(--jd-color-border) moved;
4474
4474
  }
4475
4475
  .jodit-wysiwyg table {
4476
+ max-width: 100%;
4476
4477
  border: none;
4478
+ margin-top: 1em;
4479
+ margin-bottom: 1em;
4477
4480
  border-collapse: collapse;
4478
- table-layout: fixed;
4479
4481
  empty-cells: show;
4480
- max-width: 100%;
4482
+ table-layout: fixed;
4481
4483
  }
4482
4484
  .jodit-wysiwyg table tr {
4483
4485
  user-select: none;
4484
4486
  }
4485
4487
  .jodit-wysiwyg table tr th,
4486
4488
  .jodit-wysiwyg table tr td {
4487
- border: 1px solid #ddd;
4488
- vertical-align: middle;
4489
+ min-width: 2em;
4490
+ padding: 0.4em;
4491
+ border: 1px solid #bfbfbf;
4489
4492
  user-select: text;
4493
+ vertical-align: middle;
4490
4494
  }
4491
4495
  .jodit-form__inserter .jodit-form__table-creator-box {
4492
4496
  display: flex;
@@ -4497,43 +4501,43 @@ html.jodit_fullsize-box_true {
4497
4501
  }
4498
4502
  }
4499
4503
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container {
4504
+ min-width: 180px;
4500
4505
  padding: 0;
4501
4506
  margin: 0;
4502
- min-width: 180px;
4503
4507
  font-size: 0;
4504
4508
  }
4505
4509
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container > div > span {
4510
+ display: inline-block;
4506
4511
  width: var(--jd-width_element_default);
4507
4512
  height: var(--jd-height_element_default);
4508
- display: inline-block;
4509
- vertical-align: top;
4510
4513
  box-sizing: border-box;
4511
4514
  border: 1px solid var(--jd-color-border);
4512
- margin-left: 2px;
4513
4515
  margin-bottom: 2px;
4516
+ margin-left: 2px;
4517
+ vertical-align: top;
4514
4518
  }
4515
4519
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container > div > span:first-child {
4516
4520
  margin-left: 0;
4517
4521
  }
4518
4522
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container > div > span.jodit_hovered {
4519
- background: var(--jd-color-background-hover);
4520
4523
  border-color: var(--jd-color-background-hover);
4524
+ background: var(--jd-color-background-hover);
4521
4525
  }
4522
4526
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options {
4523
4527
  font-size: var(--jd-font-size-default);
4524
4528
  }
4525
4529
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label {
4526
- text-align: left;
4527
4530
  padding-top: 0;
4531
+ text-align: left;
4528
4532
  }
4529
4533
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label input {
4530
4534
  margin-right: var(--jd-padding-default);
4531
4535
  }
4532
4536
  .jodit-form__inserter label {
4533
- text-align: center;
4534
- font-size: 14px;
4535
4537
  padding: 8px;
4536
4538
  margin: 0;
4539
+ font-size: 14px;
4540
+ text-align: center;
4537
4541
  }
4538
4542
 
4539
4543
  /*!
@@ -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.6.16
4
+ * Version: v3.7.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -4451,42 +4451,46 @@ html.jodit_fullsize-box_true {
4451
4451
  * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4452
4452
  */
4453
4453
  .jodit-table-resizer {
4454
- cursor: col-resize;
4455
4454
  position: absolute;
4456
4455
  z-index: 3;
4457
- padding-left: calc(var(--jd-padding-default) / 2);
4458
4456
  padding-right: calc(var(--jd-padding-default) / 2);
4457
+ padding-left: calc(var(--jd-padding-default) / 2);
4459
4458
  margin-left: calc(var(--jd-padding-default) / -2);
4459
+ cursor: col-resize;
4460
4460
  }
4461
4461
  .jodit-table-resizer::after {
4462
- content: '';
4463
4462
  display: block;
4464
- height: 100%;
4465
4463
  width: 0;
4464
+ height: 100%;
4466
4465
  border: 0;
4466
+ content: '';
4467
4467
  }
4468
4468
  .jodit-table-resizer_moved {
4469
- background-color: var(--jd-color-background-selection);
4470
4469
  z-index: 2;
4470
+ background-color: var(--jd-color-background-selection);
4471
4471
  }
4472
4472
  .jodit-table-resizer_moved::after {
4473
4473
  border-right: 1px solid var(--jd-color-border) moved;
4474
4474
  }
4475
4475
  .jodit-wysiwyg table {
4476
+ max-width: 100%;
4476
4477
  border: none;
4478
+ margin-top: 1em;
4479
+ margin-bottom: 1em;
4477
4480
  border-collapse: collapse;
4478
- table-layout: fixed;
4479
4481
  empty-cells: show;
4480
- max-width: 100%;
4482
+ table-layout: fixed;
4481
4483
  }
4482
4484
  .jodit-wysiwyg table tr {
4483
4485
  user-select: none;
4484
4486
  }
4485
4487
  .jodit-wysiwyg table tr th,
4486
4488
  .jodit-wysiwyg table tr td {
4487
- border: 1px solid #ddd;
4488
- vertical-align: middle;
4489
+ min-width: 2em;
4490
+ padding: 0.4em;
4491
+ border: 1px solid #bfbfbf;
4489
4492
  user-select: text;
4493
+ vertical-align: middle;
4490
4494
  }
4491
4495
  .jodit-form__inserter .jodit-form__table-creator-box {
4492
4496
  display: flex;
@@ -4497,43 +4501,43 @@ html.jodit_fullsize-box_true {
4497
4501
  }
4498
4502
  }
4499
4503
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container {
4504
+ min-width: 180px;
4500
4505
  padding: 0;
4501
4506
  margin: 0;
4502
- min-width: 180px;
4503
4507
  font-size: 0;
4504
4508
  }
4505
4509
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container > div > span {
4510
+ display: inline-block;
4506
4511
  width: var(--jd-width_element_default);
4507
4512
  height: var(--jd-height_element_default);
4508
- display: inline-block;
4509
- vertical-align: top;
4510
4513
  box-sizing: border-box;
4511
4514
  border: 1px solid var(--jd-color-border);
4512
- margin-left: 2px;
4513
4515
  margin-bottom: 2px;
4516
+ margin-left: 2px;
4517
+ vertical-align: top;
4514
4518
  }
4515
4519
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container > div > span:first-child {
4516
4520
  margin-left: 0;
4517
4521
  }
4518
4522
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container > div > span.jodit_hovered {
4519
- background: var(--jd-color-background-hover);
4520
4523
  border-color: var(--jd-color-background-hover);
4524
+ background: var(--jd-color-background-hover);
4521
4525
  }
4522
4526
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options {
4523
4527
  font-size: var(--jd-font-size-default);
4524
4528
  }
4525
4529
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label {
4526
- text-align: left;
4527
4530
  padding-top: 0;
4531
+ text-align: left;
4528
4532
  }
4529
4533
  .jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label input {
4530
4534
  margin-right: var(--jd-padding-default);
4531
4535
  }
4532
4536
  .jodit-form__inserter label {
4533
- text-align: center;
4534
- font-size: 14px;
4535
4537
  padding: 8px;
4536
4538
  margin: 0;
4539
+ font-size: 14px;
4540
+ text-align: center;
4537
4541
  }
4538
4542
 
4539
4543
  /*!