jodit 3.19.4 → 3.20.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 (217) hide show
  1. package/build/jodit.css +45 -42
  2. package/build/jodit.es2018.css +38 -36
  3. package/build/jodit.es2018.en.css +38 -36
  4. package/build/jodit.es2018.en.js +22562 -25637
  5. package/build/jodit.es2018.en.min.css +1 -1
  6. package/build/jodit.es2018.en.min.js +1 -1
  7. package/build/jodit.es2018.js +23105 -26181
  8. package/build/jodit.es2018.min.css +1 -1
  9. package/build/jodit.es2018.min.js +1 -1
  10. package/build/jodit.js +797 -386
  11. package/build/jodit.min.css +2 -2
  12. package/build/jodit.min.js +1 -1
  13. package/build/plugins/debug/debug.es2018.en.js +97 -0
  14. package/build/plugins/debug/debug.es2018.en.min.js +1 -0
  15. package/build/plugins/debug/debug.es2018.js +97 -0
  16. package/build/plugins/debug/debug.es2018.min.js +1 -0
  17. package/build/plugins/debug/debug.js +96 -0
  18. package/build/plugins/debug/debug.min.js +1 -0
  19. package/build/plugins/speech-recognize/speech-recognize.css +1 -1
  20. package/build/plugins/speech-recognize/speech-recognize.es2018.css +1 -1
  21. package/build/plugins/speech-recognize/speech-recognize.es2018.en.css +1 -1
  22. package/build/plugins/speech-recognize/speech-recognize.es2018.en.js +331 -398
  23. package/build/plugins/speech-recognize/speech-recognize.es2018.en.min.js +1 -1
  24. package/build/plugins/speech-recognize/speech-recognize.es2018.js +331 -398
  25. package/build/plugins/speech-recognize/speech-recognize.es2018.min.js +1 -1
  26. package/build/plugins/speech-recognize/speech-recognize.js +1 -1
  27. package/build/vdom.css +1 -1
  28. package/build/vdom.js +1 -1
  29. package/index.html +2 -2
  30. package/package.json +9 -4
  31. package/src/config.ts +4 -2
  32. package/src/core/constants.ts +7 -7
  33. package/src/core/decorators/derive/README.md +71 -0
  34. package/src/core/decorators/derive/derive.ts +48 -0
  35. package/src/core/decorators/index.ts +1 -0
  36. package/src/core/decorators/spy/spy.ts +5 -0
  37. package/src/core/dom/dom.test.js +0 -1
  38. package/src/core/dom/dom.ts +28 -13
  39. package/src/core/event-emitter/observable.ts +3 -3
  40. package/src/core/helpers/helpers.test.js +0 -170
  41. package/src/core/plugin/plugin-system.ts +20 -0
  42. package/src/core/selection/select.ts +27 -9
  43. package/src/core/selection/style/api/toggle/toggle-ordered-list.ts +5 -1
  44. package/src/core/selection/style/api/wrap-ordered-list.ts +5 -1
  45. package/src/core/selection/style/api/wrap-unwrapped-text.ts +1 -1
  46. package/src/core/selection/style/style.test.js +1 -1
  47. package/src/core/{view/panel.ts → traits/dlgs.ts} +17 -9
  48. package/src/core/traits/elms.ts +4 -8
  49. package/src/core/traits/index.ts +1 -0
  50. package/src/core/traits/mods.ts +17 -10
  51. package/src/core/ui/button/index.ts +1 -0
  52. package/src/{plugins → core/ui/button}/tooltip/README.md +0 -0
  53. package/src/{plugins → core/ui/button}/tooltip/tooltip.less +4 -4
  54. package/src/{plugins → core/ui/button}/tooltip/tooltip.test.js +3 -2
  55. package/src/core/ui/button/tooltip/tooltip.ts +132 -0
  56. package/src/core/ui/element.ts +5 -27
  57. package/src/core/ui/group/group.test.js +44 -0
  58. package/src/core/ui/group/group.ts +4 -4
  59. package/src/core/view/view-with-toolbar.ts +2 -2
  60. package/src/core/view/view.ts +11 -33
  61. package/src/jodit.ts +20 -8
  62. package/src/langs/ar.js +1 -1
  63. package/src/langs/cs_cz.js +1 -1
  64. package/src/langs/de.js +1 -1
  65. package/src/langs/es.js +1 -1
  66. package/src/langs/fa.js +1 -1
  67. package/src/langs/fr.js +1 -1
  68. package/src/langs/he.js +1 -1
  69. package/src/langs/hu.js +1 -1
  70. package/src/langs/i18n.test.js +170 -0
  71. package/src/langs/id.js +1 -1
  72. package/src/langs/it.js +1 -1
  73. package/src/langs/ja.js +1 -1
  74. package/src/langs/ko.js +1 -1
  75. package/src/langs/nl.js +1 -1
  76. package/src/langs/pl.js +1 -1
  77. package/src/langs/pt_br.js +1 -1
  78. package/src/langs/ru.js +1 -1
  79. package/src/langs/tr.js +1 -1
  80. package/src/langs/zh_cn.js +1 -1
  81. package/src/langs/zh_tw.js +1 -1
  82. package/src/modules/dialog/dialog.less +2 -0
  83. package/src/modules/dialog/dialog.ts +27 -50
  84. package/src/modules/file-browser/README.md +10 -10
  85. package/src/modules/file-browser/__image_snapshots__/file-browser-test-screenshot-js-filebrowser-screenshot-testing-open-filebrowser-works-1-snap.png +0 -0
  86. package/src/modules/file-browser/builders/context-menu.ts +1 -1
  87. package/src/modules/file-browser/file-browser.test.js +26 -13
  88. package/src/modules/file-browser/file-browser.test.screenshot.js +23 -0
  89. package/src/modules/file-browser/file-browser.ts +9 -5
  90. package/src/modules/history/snapshot.ts +12 -3
  91. package/src/modules/image-editor/__image_snapshots__/image-editor-test-screenshot-js-image-editor-screenshot-testing-open-image-editor-works-1-snap.png +0 -0
  92. package/src/modules/image-editor/image-editor.test.screenshot.js +25 -0
  93. package/src/modules/image-editor/image-editor.ts +7 -6
  94. package/src/modules/status-bar/status-bar.ts +5 -16
  95. package/src/modules/table/table.test.js +2 -1
  96. package/src/modules/toolbar/collection/collection.ts +6 -1
  97. package/src/modules/uploader/README.md +1 -1
  98. package/src/modules/uploader/config.ts +1 -1
  99. package/src/modules/uploader/uploader.test.js +96 -46
  100. package/src/plugins/about/about.ts +1 -1
  101. package/src/plugins/add-new-line/add-new-line.ts +5 -4
  102. package/src/plugins/backspace/backspace.test.js +33 -39
  103. package/src/plugins/backspace/backspace.ts +10 -4
  104. package/src/plugins/backspace/cases/check-remove-char.ts +36 -14
  105. package/src/plugins/backspace/cases/check-remove-unbreakable-element.ts +8 -0
  106. package/src/plugins/backspace/config.ts +1 -1
  107. package/src/plugins/backspace/interface.d.ts +1 -1
  108. package/src/plugins/clean-html/clean-html.test.js +240 -164
  109. package/src/plugins/clean-html/config.ts +10 -2
  110. package/src/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.ts +3 -2
  111. package/src/plugins/clean-html/helpers/remove-format/remove-format-for-selection.ts +2 -2
  112. package/src/plugins/clean-html/helpers/visitor/filters/index.ts +1 -0
  113. package/src/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.ts +35 -0
  114. package/src/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.ts +2 -6
  115. package/src/plugins/clean-html/helpers/visitor/visit-node-walker.ts +5 -0
  116. package/src/plugins/debug/debug.ts +68 -0
  117. package/src/plugins/drag-and-drop/drag-and-drop.ts +0 -1
  118. package/src/plugins/drag-and-drop-element/drag-and-drop-element.test.js +37 -34
  119. package/src/plugins/dtd/README.md +52 -0
  120. package/{types/plugins/tooltip/tooltip.d.ts → src/plugins/dtd/after-insert/index.ts} +5 -4
  121. package/src/plugins/dtd/after-insert/remove-extra-br.ts +39 -0
  122. package/src/plugins/dtd/before-insert/check-block-nesting.ts +40 -0
  123. package/src/plugins/dtd/before-insert/index.ts +12 -0
  124. package/src/plugins/dtd/config.ts +67 -0
  125. package/src/plugins/dtd/dtd.test.js +128 -0
  126. package/src/plugins/dtd/dtd.ts +48 -0
  127. package/src/plugins/enter/enter.test.js +89 -193
  128. package/src/plugins/enter/enter.ts +14 -11
  129. package/src/plugins/enter/helpers/check-br.ts +11 -1
  130. package/src/plugins/enter/helpers/index.ts +1 -0
  131. package/src/plugins/enter/helpers/move-cursor-out-from-specal-tags.ts +32 -0
  132. package/src/plugins/enter/helpers/split-fragment.ts +1 -0
  133. package/src/plugins/fullsize/config.ts +1 -1
  134. package/src/plugins/fullsize/fullsize.test.js +77 -12
  135. package/src/plugins/fullsize/fullsize.ts +12 -1
  136. package/src/plugins/iframe/config.ts +1 -1
  137. package/src/plugins/image-properties/README.md +7 -0
  138. package/src/plugins/image-properties/image-properties.ts +1 -1
  139. package/src/plugins/index.ts +1 -1
  140. package/src/plugins/limit/limit.test.js +27 -0
  141. package/src/plugins/limit/limit.ts +4 -2
  142. package/src/plugins/line-height/line-height.svg +1 -1
  143. package/src/plugins/link/README.md +5 -0
  144. package/src/plugins/link/link.test.js +11 -12
  145. package/src/plugins/link/link.ts +1 -1
  146. package/src/plugins/mobile/mobile.ts +1 -1
  147. package/src/plugins/ordered-list/ordered-list.test.js +3 -14
  148. package/src/plugins/paste/config.ts +0 -7
  149. package/src/plugins/paste/paste.test.js +3 -3
  150. package/src/plugins/paste-storage/paste-storage.ts +1 -1
  151. package/src/plugins/preview/preview.ts +1 -1
  152. package/src/plugins/search/search.ts +1 -1
  153. package/src/plugins/select/config.ts +1 -1
  154. package/src/plugins/spellcheck/config.ts +1 -1
  155. package/src/plugins/symbols/symbols.test.js +5 -4
  156. package/src/plugins/table/config.ts +4 -17
  157. package/src/plugins/table/table.test.js +2 -2
  158. package/src/plugins/wrap-nodes/wrap-nodes.test.js +34 -5
  159. package/src/plugins/wrap-nodes/wrap-nodes.ts +59 -16
  160. package/src/styles/variables.less +1 -1
  161. package/src/types/ajax.d.ts +2 -2
  162. package/src/types/file-browser.d.ts +4 -2
  163. package/src/types/jodit.d.ts +3 -2
  164. package/src/types/plugin.d.ts +1 -0
  165. package/src/types/toolbar.d.ts +12 -6
  166. package/src/types/traits.d.ts +30 -1
  167. package/src/types/types.d.ts +1 -0
  168. package/src/types/view.d.ts +9 -34
  169. package/src/typings.d.ts +1 -0
  170. package/types/config.d.ts +3 -2
  171. package/types/core/constants.d.ts +7 -7
  172. package/types/core/decorators/derive/derive.d.ts +6 -0
  173. package/types/core/decorators/index.d.ts +1 -0
  174. package/types/core/dom/dom.d.ts +5 -4
  175. package/types/core/plugin/plugin-system.d.ts +4 -0
  176. package/types/core/traits/dlgs.d.ts +15 -0
  177. package/types/core/traits/elms.d.ts +2 -4
  178. package/types/core/traits/index.d.ts +1 -0
  179. package/types/core/traits/mods.d.ts +5 -8
  180. package/types/core/ui/button/index.d.ts +1 -0
  181. package/types/core/ui/button/tooltip/tooltip.d.ts +29 -0
  182. package/types/core/ui/element.d.ts +3 -9
  183. package/types/core/ui/group/group.d.ts +2 -2
  184. package/types/core/view/view-with-toolbar.d.ts +2 -2
  185. package/types/core/view/view.d.ts +5 -10
  186. package/types/jodit.d.ts +7 -4
  187. package/types/modules/dialog/dialog.d.ts +8 -10
  188. package/types/modules/file-browser/file-browser.d.ts +5 -2
  189. package/types/modules/history/snapshot.d.ts +3 -2
  190. package/types/modules/image-editor/image-editor.d.ts +4 -4
  191. package/types/modules/status-bar/status-bar.d.ts +3 -4
  192. package/types/modules/toolbar/collection/collection.d.ts +1 -0
  193. package/types/plugins/clean-html/config.d.ts +7 -1
  194. package/types/plugins/clean-html/helpers/visitor/filters/index.d.ts +1 -0
  195. package/types/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +13 -0
  196. package/types/plugins/dtd/after-insert/index.d.ts +10 -0
  197. package/types/plugins/dtd/after-insert/remove-extra-br.d.ts +16 -0
  198. package/types/plugins/dtd/before-insert/check-block-nesting.d.ts +16 -0
  199. package/types/plugins/dtd/before-insert/index.d.ts +10 -0
  200. package/types/plugins/dtd/config.d.ts +27 -0
  201. package/types/plugins/dtd/dtd.d.ts +6 -0
  202. package/types/plugins/enter/helpers/index.d.ts +1 -0
  203. package/types/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +13 -0
  204. package/types/plugins/iframe/config.d.ts +1 -1
  205. package/types/plugins/index.d.ts +1 -1
  206. package/types/plugins/paste/config.d.ts +0 -4
  207. package/types/plugins/spellcheck/config.d.ts +1 -1
  208. package/types/types/ajax.d.ts +2 -2
  209. package/types/types/file-browser.d.ts +4 -2
  210. package/types/types/jodit.d.ts +3 -2
  211. package/types/types/plugin.d.ts +1 -0
  212. package/types/types/toolbar.d.ts +12 -6
  213. package/types/types/traits.d.ts +30 -1
  214. package/types/types/types.d.ts +1 -0
  215. package/types/types/view.d.ts +9 -34
  216. package/src/plugins/tooltip/tooltip.ts +0 -114
  217. package/types/core/view/panel.d.ts +0 -13
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.19.4
4
+ * Version: v3.20.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.19.4
11
+ * Version: v3.20.2
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
@@ -1994,6 +1994,46 @@ svg.jodit-icon {
1994
1994
  border: 0;
1995
1995
  }
1996
1996
 
1997
+ /*!
1998
+ * Jodit Editor (https://xdsoft.net/jodit/)
1999
+ * Released under MIT see LICENSE.txt in the project root for license information.
2000
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
2001
+ */
2002
+ .jodit-ui-tooltip {
2003
+ position: fixed;
2004
+ z-index: 30000006;
2005
+ width: auto;
2006
+ max-width: 120px;
2007
+ padding: calc(8px / 4) calc(8px / 2);
2008
+ background: #727171;
2009
+ background-clip: padding-box;
2010
+ border-radius: 2px;
2011
+ color: #fff;
2012
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
2013
+ Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
2014
+ font-size: 14px;
2015
+ font-size: 11px;
2016
+ line-height: 1.4;
2017
+ opacity: 0;
2018
+ text-rendering: optimizeLegibility;
2019
+ -webkit-transition: opacity 0.2s ease 0s;
2020
+ -o-transition: opacity 0.2s ease 0s;
2021
+ transition: opacity 0.2s ease 0s;
2022
+ -webkit-user-select: none;
2023
+ -moz-user-select: none;
2024
+ -ms-user-select: none;
2025
+ user-select: none;
2026
+ white-space: normal;
2027
+ }
2028
+ @media (max-width: 768px) {
2029
+ .jodit-ui-tooltip {
2030
+ display: none;
2031
+ }
2032
+ }
2033
+ .jodit-ui-tooltip.jodit-ui-tooltip_visible_true {
2034
+ opacity: 1;
2035
+ }
2036
+
1997
2037
  /*!
1998
2038
  * Jodit Editor (https://xdsoft.net/jodit/)
1999
2039
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -2093,6 +2133,9 @@ svg.jodit-icon {
2093
2133
  top: auto !important;
2094
2134
  left: auto !important;
2095
2135
  width: 100% !important;
2136
+ -webkit-box-shadow: none;
2137
+ box-shadow: none;
2138
+ border: 1px solid #dadada;
2096
2139
  }
2097
2140
  .jodit-dialog_theme_dark {
2098
2141
  background-color: #353535;
@@ -5796,46 +5839,6 @@ html.jodit_fullsize-box_true {
5796
5839
  text-align: center;
5797
5840
  }
5798
5841
 
5799
- /*!
5800
- * Jodit Editor (https://xdsoft.net/jodit/)
5801
- * Released under MIT see LICENSE.txt in the project root for license information.
5802
- * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5803
- */
5804
- .jodit-tooltip {
5805
- position: fixed;
5806
- z-index: 10000002;
5807
- width: auto;
5808
- max-width: 120px;
5809
- padding: calc(8px / 4) calc(8px / 2);
5810
- background: #727171;
5811
- background-clip: padding-box;
5812
- border-radius: 2px;
5813
- color: #fff;
5814
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5815
- Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
5816
- font-size: 14px;
5817
- font-size: 11px;
5818
- line-height: 1.4;
5819
- opacity: 0;
5820
- text-rendering: optimizeLegibility;
5821
- -webkit-transition: opacity 0.2s ease 0s;
5822
- -o-transition: opacity 0.2s ease 0s;
5823
- transition: opacity 0.2s ease 0s;
5824
- -webkit-user-select: none;
5825
- -moz-user-select: none;
5826
- -ms-user-select: none;
5827
- user-select: none;
5828
- white-space: normal;
5829
- }
5830
- @media (max-width: 768px) {
5831
- .jodit-tooltip {
5832
- display: none;
5833
- }
5834
- }
5835
- .jodit-tooltip.jodit-tooltip_visible {
5836
- opacity: 1;
5837
- }
5838
-
5839
5842
  /*!
5840
5843
  * Jodit Editor (https://xdsoft.net/jodit/)
5841
5844
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -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.19.4
4
+ * Version: v3.20.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -61,10 +61,10 @@
61
61
  --jd-border-radius-default: 3px;
62
62
  --jd-z-index-full-size: 100000;
63
63
  --jd-z-index-popup: 10000001;
64
- --jd-z-index-tooltip: 10000002;
65
64
  --jd-z-index-dialog-overlay: 20000003;
66
65
  --jd-z-index-dialog: 20000004;
67
66
  --jd-z-index-context-menu: 30000005;
67
+ --jd-z-index-tooltip: 30000006;
68
68
  --jd-icon-loader-size: 48px;
69
69
  --jd-width_element_default: 18px;
70
70
  --jd-height_element_default: 18px;
@@ -1652,6 +1652,40 @@ svg.jodit-icon {
1652
1652
  border: 0;
1653
1653
  }
1654
1654
 
1655
+ /*!
1656
+ * Jodit Editor (https://xdsoft.net/jodit/)
1657
+ * Released under MIT see LICENSE.txt in the project root for license information.
1658
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1659
+ */
1660
+ .jodit-ui-tooltip {
1661
+ position: fixed;
1662
+ z-index: var(--jd-z-index-tooltip);
1663
+ width: auto;
1664
+ max-width: 120px;
1665
+ padding: calc(var(--jd-padding-default) / 4) calc(var(--jd-padding-default) / 2);
1666
+ background: #727171;
1667
+ background-clip: padding-box;
1668
+ border-radius: 2px;
1669
+ color: #fff;
1670
+ font-family: var(--jd-font-default);
1671
+ font-size: var(--jd-font-size-default);
1672
+ font-size: 11px;
1673
+ line-height: 1.4;
1674
+ opacity: 0;
1675
+ text-rendering: optimizeLegibility;
1676
+ transition: opacity 0.2s ease 0s;
1677
+ user-select: none;
1678
+ white-space: normal;
1679
+ }
1680
+ @media (max-width: 768px) {
1681
+ .jodit-ui-tooltip {
1682
+ display: none;
1683
+ }
1684
+ }
1685
+ .jodit-ui-tooltip.jodit-ui-tooltip_visible_true {
1686
+ opacity: 1;
1687
+ }
1688
+
1655
1689
  /*!
1656
1690
  * Jodit Editor (https://xdsoft.net/jodit/)
1657
1691
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -1739,6 +1773,8 @@ svg.jodit-icon {
1739
1773
  top: auto !important;
1740
1774
  left: auto !important;
1741
1775
  width: 100% !important;
1776
+ box-shadow: none;
1777
+ border: 1px solid var(--jd-color-border);
1742
1778
  }
1743
1779
  .jodit-dialog_theme_dark,
1744
1780
  .jodit-dialog_theme_dark .jodit-dialog__panel {
@@ -4764,40 +4800,6 @@ html.jodit_fullsize-box_true {
4764
4800
  text-align: center;
4765
4801
  }
4766
4802
 
4767
- /*!
4768
- * Jodit Editor (https://xdsoft.net/jodit/)
4769
- * Released under MIT see LICENSE.txt in the project root for license information.
4770
- * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4771
- */
4772
- .jodit-tooltip {
4773
- position: fixed;
4774
- z-index: var(--jd-z-index-tooltip);
4775
- width: auto;
4776
- max-width: 120px;
4777
- padding: calc(var(--jd-padding-default) / 4) calc(var(--jd-padding-default) / 2);
4778
- background: #727171;
4779
- background-clip: padding-box;
4780
- border-radius: 2px;
4781
- color: #fff;
4782
- font-family: var(--jd-font-default);
4783
- font-size: var(--jd-font-size-default);
4784
- font-size: 11px;
4785
- line-height: 1.4;
4786
- opacity: 0;
4787
- text-rendering: optimizeLegibility;
4788
- transition: opacity 0.2s ease 0s;
4789
- user-select: none;
4790
- white-space: normal;
4791
- }
4792
- @media (max-width: 768px) {
4793
- .jodit-tooltip {
4794
- display: none;
4795
- }
4796
- }
4797
- .jodit-tooltip.jodit-tooltip_visible {
4798
- opacity: 1;
4799
- }
4800
-
4801
4803
  /*!
4802
4804
  * Jodit Editor (https://xdsoft.net/jodit/)
4803
4805
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -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.19.4
4
+ * Version: v3.20.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -61,10 +61,10 @@
61
61
  --jd-border-radius-default: 3px;
62
62
  --jd-z-index-full-size: 100000;
63
63
  --jd-z-index-popup: 10000001;
64
- --jd-z-index-tooltip: 10000002;
65
64
  --jd-z-index-dialog-overlay: 20000003;
66
65
  --jd-z-index-dialog: 20000004;
67
66
  --jd-z-index-context-menu: 30000005;
67
+ --jd-z-index-tooltip: 30000006;
68
68
  --jd-icon-loader-size: 48px;
69
69
  --jd-width_element_default: 18px;
70
70
  --jd-height_element_default: 18px;
@@ -1652,6 +1652,40 @@ svg.jodit-icon {
1652
1652
  border: 0;
1653
1653
  }
1654
1654
 
1655
+ /*!
1656
+ * Jodit Editor (https://xdsoft.net/jodit/)
1657
+ * Released under MIT see LICENSE.txt in the project root for license information.
1658
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1659
+ */
1660
+ .jodit-ui-tooltip {
1661
+ position: fixed;
1662
+ z-index: var(--jd-z-index-tooltip);
1663
+ width: auto;
1664
+ max-width: 120px;
1665
+ padding: calc(var(--jd-padding-default) / 4) calc(var(--jd-padding-default) / 2);
1666
+ background: #727171;
1667
+ background-clip: padding-box;
1668
+ border-radius: 2px;
1669
+ color: #fff;
1670
+ font-family: var(--jd-font-default);
1671
+ font-size: var(--jd-font-size-default);
1672
+ font-size: 11px;
1673
+ line-height: 1.4;
1674
+ opacity: 0;
1675
+ text-rendering: optimizeLegibility;
1676
+ transition: opacity 0.2s ease 0s;
1677
+ user-select: none;
1678
+ white-space: normal;
1679
+ }
1680
+ @media (max-width: 768px) {
1681
+ .jodit-ui-tooltip {
1682
+ display: none;
1683
+ }
1684
+ }
1685
+ .jodit-ui-tooltip.jodit-ui-tooltip_visible_true {
1686
+ opacity: 1;
1687
+ }
1688
+
1655
1689
  /*!
1656
1690
  * Jodit Editor (https://xdsoft.net/jodit/)
1657
1691
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -1739,6 +1773,8 @@ svg.jodit-icon {
1739
1773
  top: auto !important;
1740
1774
  left: auto !important;
1741
1775
  width: 100% !important;
1776
+ box-shadow: none;
1777
+ border: 1px solid var(--jd-color-border);
1742
1778
  }
1743
1779
  .jodit-dialog_theme_dark,
1744
1780
  .jodit-dialog_theme_dark .jodit-dialog__panel {
@@ -4764,40 +4800,6 @@ html.jodit_fullsize-box_true {
4764
4800
  text-align: center;
4765
4801
  }
4766
4802
 
4767
- /*!
4768
- * Jodit Editor (https://xdsoft.net/jodit/)
4769
- * Released under MIT see LICENSE.txt in the project root for license information.
4770
- * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4771
- */
4772
- .jodit-tooltip {
4773
- position: fixed;
4774
- z-index: var(--jd-z-index-tooltip);
4775
- width: auto;
4776
- max-width: 120px;
4777
- padding: calc(var(--jd-padding-default) / 4) calc(var(--jd-padding-default) / 2);
4778
- background: #727171;
4779
- background-clip: padding-box;
4780
- border-radius: 2px;
4781
- color: #fff;
4782
- font-family: var(--jd-font-default);
4783
- font-size: var(--jd-font-size-default);
4784
- font-size: 11px;
4785
- line-height: 1.4;
4786
- opacity: 0;
4787
- text-rendering: optimizeLegibility;
4788
- transition: opacity 0.2s ease 0s;
4789
- user-select: none;
4790
- white-space: normal;
4791
- }
4792
- @media (max-width: 768px) {
4793
- .jodit-tooltip {
4794
- display: none;
4795
- }
4796
- }
4797
- .jodit-tooltip.jodit-tooltip_visible {
4798
- opacity: 1;
4799
- }
4800
-
4801
4803
  /*!
4802
4804
  * Jodit Editor (https://xdsoft.net/jodit/)
4803
4805
  * Released under MIT see LICENSE.txt in the project root for license information.