jodit 4.18.3 → 4.18.6

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 (237) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/es2015/jodit.css +72 -34
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +35 -10
  5. package/es2015/jodit.js +1967 -327
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +41 -16
  8. package/es2015/plugins/debug/debug.css +1 -1
  9. package/es2015/plugins/debug/debug.js +1 -1
  10. package/es2015/plugins/debug/debug.min.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  13. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +35 -10
  16. package/es2018/jodit.min.css +1 -1
  17. package/es2018/jodit.min.js +35 -10
  18. package/es2018/plugins/debug/debug.min.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +72 -34
  21. package/es2021/jodit.fat.min.css +1 -1
  22. package/es2021/jodit.fat.min.js +42 -17
  23. package/es2021/jodit.js +1949 -323
  24. package/es2021/jodit.min.css +1 -1
  25. package/es2021/jodit.min.js +42 -17
  26. package/es2021/plugins/debug/debug.css +1 -1
  27. package/es2021/plugins/debug/debug.js +1 -1
  28. package/es2021/plugins/debug/debug.min.js +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  31. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  32. package/es2021.en/jodit.css +72 -34
  33. package/es2021.en/jodit.fat.min.css +1 -1
  34. package/es2021.en/jodit.fat.min.js +42 -17
  35. package/es2021.en/jodit.js +1923 -297
  36. package/es2021.en/jodit.min.css +1 -1
  37. package/es2021.en/jodit.min.js +51 -26
  38. package/es2021.en/plugins/debug/debug.css +1 -1
  39. package/es2021.en/plugins/debug/debug.js +1 -1
  40. package/es2021.en/plugins/debug/debug.min.js +1 -1
  41. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  42. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  44. package/es5/jodit.css +85 -38
  45. package/es5/jodit.fat.min.css +1 -1
  46. package/es5/jodit.fat.min.js +2 -2
  47. package/es5/jodit.js +2225 -379
  48. package/es5/jodit.min.css +3 -3
  49. package/es5/jodit.min.js +2 -2
  50. package/es5/plugins/debug/debug.css +1 -1
  51. package/es5/plugins/debug/debug.js +1 -1
  52. package/es5/plugins/debug/debug.min.js +1 -1
  53. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  56. package/es5/polyfills.fat.min.js +1 -1
  57. package/es5/polyfills.js +1 -1
  58. package/es5/polyfills.min.js +1 -1
  59. package/esm/config.d.ts +28 -26
  60. package/esm/config.js +19 -21
  61. package/esm/core/constants.js +1 -1
  62. package/esm/core/helpers/html/apply-styles.js +3 -0
  63. package/esm/core/helpers/html/clean-from-word.js +3 -0
  64. package/esm/core/helpers/html/strip-tags.js +24 -6
  65. package/esm/core/helpers/html/word-lists.d.ts +29 -0
  66. package/esm/core/helpers/html/word-lists.js +158 -0
  67. package/esm/core/helpers/utils/align.d.ts +1 -1
  68. package/esm/core/helpers/utils/align.js +2 -3
  69. package/esm/core/selection/helpers/index.d.ts +1 -0
  70. package/esm/core/selection/helpers/index.js +1 -0
  71. package/esm/core/selection/helpers/is-moved.d.ts +15 -0
  72. package/esm/core/selection/helpers/is-moved.js +22 -0
  73. package/esm/core/selection/style/api/list/toggle-ordered-list.js +40 -3
  74. package/esm/core/selection/style/transactions.js +5 -2
  75. package/esm/jodit.js +14 -4
  76. package/esm/langs/ar.d.ts +10 -0
  77. package/esm/langs/ar.js +11 -1
  78. package/esm/langs/az.d.ts +10 -0
  79. package/esm/langs/az.js +11 -1
  80. package/esm/langs/cs_cz.d.ts +10 -0
  81. package/esm/langs/cs_cz.js +12 -1
  82. package/esm/langs/de.d.ts +10 -0
  83. package/esm/langs/de.js +11 -1
  84. package/esm/langs/es.d.ts +10 -0
  85. package/esm/langs/es.js +11 -1
  86. package/esm/langs/fa.d.ts +10 -0
  87. package/esm/langs/fa.js +11 -1
  88. package/esm/langs/fi.d.ts +10 -0
  89. package/esm/langs/fi.js +11 -1
  90. package/esm/langs/fr.d.ts +10 -0
  91. package/esm/langs/fr.js +11 -1
  92. package/esm/langs/he.d.ts +10 -0
  93. package/esm/langs/he.js +11 -1
  94. package/esm/langs/hu.d.ts +10 -0
  95. package/esm/langs/hu.js +11 -1
  96. package/esm/langs/id.d.ts +10 -0
  97. package/esm/langs/id.js +11 -1
  98. package/esm/langs/it.d.ts +10 -0
  99. package/esm/langs/it.js +11 -1
  100. package/esm/langs/ja.d.ts +10 -0
  101. package/esm/langs/ja.js +11 -1
  102. package/esm/langs/ko.d.ts +10 -0
  103. package/esm/langs/ko.js +11 -1
  104. package/esm/langs/mn.d.ts +10 -0
  105. package/esm/langs/mn.js +11 -1
  106. package/esm/langs/nl.d.ts +10 -0
  107. package/esm/langs/nl.js +11 -1
  108. package/esm/langs/no.d.ts +10 -0
  109. package/esm/langs/no.js +11 -1
  110. package/esm/langs/pl.d.ts +10 -0
  111. package/esm/langs/pl.js +11 -1
  112. package/esm/langs/pt_br.d.ts +10 -0
  113. package/esm/langs/pt_br.js +11 -1
  114. package/esm/langs/ru.d.ts +10 -0
  115. package/esm/langs/ru.js +11 -1
  116. package/esm/langs/sk.d.ts +10 -0
  117. package/esm/langs/sk.js +11 -1
  118. package/esm/langs/sv.d.ts +10 -0
  119. package/esm/langs/sv.js +11 -1
  120. package/esm/langs/tr.d.ts +10 -0
  121. package/esm/langs/tr.js +11 -1
  122. package/esm/langs/ua.d.ts +10 -0
  123. package/esm/langs/ua.js +11 -1
  124. package/esm/langs/zh_cn.d.ts +10 -0
  125. package/esm/langs/zh_cn.js +11 -1
  126. package/esm/langs/zh_tw.d.ts +10 -0
  127. package/esm/langs/zh_tw.js +11 -1
  128. package/esm/modules/dialog/dialog.d.ts +7 -0
  129. package/esm/modules/dialog/dialog.js +24 -6
  130. package/esm/modules/table/table.d.ts +6 -0
  131. package/esm/modules/table/table.js +18 -26
  132. package/esm/plugins/all.d.ts +1 -0
  133. package/esm/plugins/all.js +1 -0
  134. package/esm/plugins/backspace/cases/check-join-neighbors.js +90 -3
  135. package/esm/plugins/clean-html/clean-html.d.ts +8 -0
  136. package/esm/plugins/clean-html/clean-html.js +21 -1
  137. package/esm/plugins/clean-html/helpers/index.d.ts +1 -0
  138. package/esm/plugins/clean-html/helpers/index.js +1 -0
  139. package/esm/plugins/clean-html/helpers/remove-placeholder-br.d.ts +16 -0
  140. package/esm/plugins/clean-html/helpers/remove-placeholder-br.js +51 -0
  141. package/esm/plugins/delete/delete.d.ts +11 -1
  142. package/esm/plugins/delete/delete.js +92 -16
  143. package/esm/plugins/focus/focus.js +12 -1
  144. package/esm/plugins/iframe/config.d.ts +3 -0
  145. package/esm/plugins/iframe/config.js +0 -27
  146. package/esm/plugins/iframe/iframe.js +8 -1
  147. package/esm/plugins/image-processor/image-processor.d.ts +4 -1
  148. package/esm/plugins/image-processor/image-processor.js +15 -4
  149. package/esm/plugins/image-properties/readers/align.d.ts +2 -2
  150. package/esm/plugins/index.d.ts +1 -0
  151. package/esm/plugins/inline-popup/config/items/iframe.d.ts +9 -1
  152. package/esm/plugins/inline-popup/config/items/iframe.js +15 -0
  153. package/esm/plugins/inline-popup/inline-popup.d.ts +19 -0
  154. package/esm/plugins/inline-popup/inline-popup.js +70 -1
  155. package/esm/plugins/media/media.js +16 -7
  156. package/esm/plugins/ordered-list/config.js +13 -2
  157. package/esm/plugins/ordered-list/start-dialog.d.ts +19 -0
  158. package/esm/plugins/ordered-list/start-dialog.js +58 -0
  159. package/esm/plugins/placeholder/placeholder.js +7 -1
  160. package/esm/plugins/resizer/config.d.ts +5 -3
  161. package/esm/plugins/resizer/config.js +8 -2
  162. package/esm/plugins/resizer/resizer.d.ts +20 -0
  163. package/esm/plugins/resizer/resizer.js +140 -17
  164. package/esm/plugins/select-cells/select-cells.d.ts +23 -0
  165. package/esm/plugins/select-cells/select-cells.js +75 -1
  166. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +3 -2
  167. package/esm/plugins/video/config.d.ts +6 -0
  168. package/esm/plugins/video/config.js +77 -65
  169. package/esm/plugins/video-properties/interface.d.ts +31 -0
  170. package/esm/plugins/video-properties/interface.js +6 -0
  171. package/esm/plugins/video-properties/readers.d.ts +26 -0
  172. package/esm/plugins/video-properties/readers.js +65 -0
  173. package/esm/plugins/video-properties/replace.d.ts +15 -0
  174. package/esm/plugins/video-properties/replace.js +97 -0
  175. package/esm/plugins/video-properties/ui/ui-video-form.d.ts +41 -0
  176. package/esm/plugins/video-properties/ui/ui-video-form.js +228 -0
  177. package/esm/plugins/video-properties/video-properties.d.ts +37 -0
  178. package/esm/plugins/video-properties/video-properties.js +175 -0
  179. package/esm/plugins/video-properties/writers.d.ts +15 -0
  180. package/esm/plugins/video-properties/writers.js +73 -0
  181. package/esm/types/types.d.ts +1 -1
  182. package/package.json +1 -1
  183. package/types/config.d.ts +28 -26
  184. package/types/core/helpers/html/word-lists.d.ts +29 -0
  185. package/types/core/helpers/utils/align.d.ts +1 -1
  186. package/types/core/selection/helpers/index.d.ts +1 -0
  187. package/types/core/selection/helpers/is-moved.d.ts +15 -0
  188. package/types/langs/ar.d.ts +10 -0
  189. package/types/langs/az.d.ts +10 -0
  190. package/types/langs/cs_cz.d.ts +10 -0
  191. package/types/langs/de.d.ts +10 -0
  192. package/types/langs/es.d.ts +10 -0
  193. package/types/langs/fa.d.ts +10 -0
  194. package/types/langs/fi.d.ts +10 -0
  195. package/types/langs/fr.d.ts +10 -0
  196. package/types/langs/he.d.ts +10 -0
  197. package/types/langs/hu.d.ts +10 -0
  198. package/types/langs/id.d.ts +10 -0
  199. package/types/langs/it.d.ts +10 -0
  200. package/types/langs/ja.d.ts +10 -0
  201. package/types/langs/ko.d.ts +10 -0
  202. package/types/langs/mn.d.ts +10 -0
  203. package/types/langs/nl.d.ts +10 -0
  204. package/types/langs/no.d.ts +10 -0
  205. package/types/langs/pl.d.ts +10 -0
  206. package/types/langs/pt_br.d.ts +10 -0
  207. package/types/langs/ru.d.ts +10 -0
  208. package/types/langs/sk.d.ts +10 -0
  209. package/types/langs/sv.d.ts +10 -0
  210. package/types/langs/tr.d.ts +10 -0
  211. package/types/langs/ua.d.ts +10 -0
  212. package/types/langs/zh_cn.d.ts +10 -0
  213. package/types/langs/zh_tw.d.ts +10 -0
  214. package/types/modules/dialog/dialog.d.ts +7 -0
  215. package/types/modules/table/table.d.ts +6 -0
  216. package/types/plugins/clean-html/clean-html.d.ts +8 -0
  217. package/types/plugins/clean-html/helpers/index.d.ts +1 -0
  218. package/types/plugins/clean-html/helpers/remove-placeholder-br.d.ts +16 -0
  219. package/types/plugins/delete/delete.d.ts +11 -1
  220. package/types/plugins/iframe/config.d.ts +3 -0
  221. package/types/plugins/image-processor/image-processor.d.ts +4 -1
  222. package/types/plugins/image-properties/readers/align.d.ts +2 -2
  223. package/types/plugins/index.d.ts +1 -0
  224. package/types/plugins/inline-popup/config/items/iframe.d.ts +9 -1
  225. package/types/plugins/inline-popup/inline-popup.d.ts +19 -0
  226. package/types/plugins/ordered-list/start-dialog.d.ts +19 -0
  227. package/types/plugins/resizer/config.d.ts +5 -3
  228. package/types/plugins/resizer/resizer.d.ts +20 -0
  229. package/types/plugins/select-cells/select-cells.d.ts +23 -0
  230. package/types/plugins/video/config.d.ts +6 -0
  231. package/types/plugins/video-properties/interface.d.ts +31 -0
  232. package/types/plugins/video-properties/readers.d.ts +26 -0
  233. package/types/plugins/video-properties/replace.d.ts +15 -0
  234. package/types/plugins/video-properties/ui/ui-video-form.d.ts +41 -0
  235. package/types/plugins/video-properties/video-properties.d.ts +37 -0
  236. package/types/plugins/video-properties/writers.d.ts +15 -0
  237. package/types/types/types.d.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,58 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 4.18.6
13
+
14
+ > 4.18.5 was tagged but not published to npm: its release run failed on the Firefox jobs. Everything listed under 4.18.5 ships in this version.
15
+
16
+ #### :bug: Bug Fix
17
+
18
+ - In iframe mode the placeholder is now shown in Firefox. Firefox pads an empty editable body with a bare `<br>`, which the placeholder took for content.
19
+
20
+ ## 4.18.5
21
+
22
+ #### :rocket: New Feature
23
+
24
+ - [#1657](https://github.com/xdan/jodit/issues/1657) Lists pasted from Word, with Keep or Clean, are now `<ul>`/`<ol>` lists, nested by level and keeping lettered and roman numbering and a `start` number, instead of paragraphs without their bullets or numbers. `stripTags` (Insert only Text, the plain-text copy) now puts every list item on its own line. Thanks [@brendon](https://github.com/brendon).
25
+ - [#1661](https://github.com/xdan/jodit/issues/1661) The numbered list dropdown has "Start at...", which sets the number of the list's first item. Thanks [@brendon](https://github.com/brendon).
26
+
27
+ #### :bug: Bug Fix
28
+
29
+ - [#1643](https://github.com/xdan/jodit/issues/1643) Moving the caret with the keyboard now does what a click there would: the table's marked cell, popup and resize frame follow it from cell to cell and come back when the caret returns to the table, a link's popup opens when the caret moves into the link, and all of them close when the caret leaves. Thanks [@brendon](https://github.com/brendon).
30
+ - [#1648](https://github.com/xdan/jodit/issues/1648) Choosing an alignment from an image's or media's popup keeps the popup open beside the element, and ([#1650](https://github.com/xdan/jodit/issues/1650)) the resize frame stays on the element while its popup is used. Thanks [@brendon](https://github.com/brendon).
31
+ - [#1659](https://github.com/xdan/jodit/issues/1659) Choosing a list style from the `ol`/`ul` dropdown restyles the whole list in place, keeping its items and its `start`, instead of moving the caret's item into a new list. Thanks [@brendon](https://github.com/brendon).
32
+ - [#1665](https://github.com/xdan/jodit/issues/1665) Backspace or Delete next to a paragraph inside a `<div>` or `<blockquote>` joins the two paragraphs instead of putting one inside the other, and a paragraph at the start of a table cell is no longer joined with the cell before it. Thanks [@brendon](https://github.com/brendon).
33
+ - [#1666](https://github.com/xdan/jodit/issues/1666) Backspace or Delete over a selection from one table cell into another clears the selected text and keeps the cells, and ([#1667](https://github.com/xdan/jodit/issues/1667)) a selection that starts or ends in a table keeps the table's cells and the rest of the paragraph after it, instead of moving it into the `<table>` element. Thanks [@brendon](https://github.com/brendon).
34
+ - [#1668](https://github.com/xdan/jodit/issues/1668) Backspace at the start of a paragraph after a table no longer moves the paragraph into the last cell. Thanks [@brendon](https://github.com/brendon).
35
+ - [#1669](https://github.com/xdan/jodit/issues/1669) Delete at the end of a list's last item joins the next line to the item, and Delete at the end of a paragraph before a list joins the first item's text to the paragraph, as the browsers do. Thanks [@brendon](https://github.com/brendon).
36
+ - [#1670](https://github.com/xdan/jodit/issues/1670) Deleting a selection that ends inside a list item joins the rest of the item to the line where the selection started. Thanks [@brendon](https://github.com/brendon).
37
+ - [#1632](https://github.com/xdan/jodit/issues/1632) Typing into an empty block no longer leaves its `<br>` after the text (`<p>test<br></p>`), for example in a cleared editor or in a heading made in an empty table cell. Thanks [@brendon](https://github.com/brendon).
38
+ - [#1634](https://github.com/xdan/jodit/issues/1634) In iframe mode, the cover that lets a click select an embed and the highlight of a selected image no longer depend on `iframeStyle`, so a custom `iframeStyle` keeps them. Thanks [@brendon](https://github.com/brendon).
39
+ - [#1636](https://github.com/xdan/jodit/issues/1636) The Left arrow at the start of a table's first cell moves the caret out of the table instead of adding a row above it. Thanks [@brendon](https://github.com/brendon).
40
+ - [#1638](https://github.com/xdan/jodit/issues/1638) In iframe mode the placeholder measures the content again once the `iframeCSSLinks` stylesheets load, and takes the content's font. Thanks [@brendon](https://github.com/brendon).
41
+ - [#1640](https://github.com/xdan/jodit/issues/1640) A toolbar button's dropdown arrow is drawn in the icons' colour, so it no longer disappears when the text round the editor is light. Thanks [@brendon](https://github.com/brendon).
42
+ - [#1645](https://github.com/xdan/jodit/issues/1645) Resizing a dialog in Safari no longer selects the text inside it, and ([#1646](https://github.com/xdan/jodit/issues/1646)) a resized dialog can be made narrower again, down to the width its header and buttons need. Thanks [@brendon](https://github.com/brendon).
43
+ - [#1652](https://github.com/xdan/jodit/issues/1652) Selecting cells by dragging across a large table no longer stalls the page. Thanks [@brendon](https://github.com/brendon).
44
+ - [#1654](https://github.com/xdan/jodit/issues/1654) With `autofocus`, a click or key in the editor before the delayed autofocus runs keeps its caret instead of having it moved to the start or end. Thanks [@brendon](https://github.com/brendon).
45
+ - [#1663](https://github.com/xdan/jodit/issues/1663) The `singleQuotesInFontFamily` test accepts Firefox 158's unquoted font name. Thanks [@brendon](https://github.com/brendon).
46
+
47
+ ## 4.18.4
48
+
49
+ #### :rocket: New Feature
50
+
51
+ - [#1530](https://github.com/xdan/jodit/issues/1530) The media popup has an Edit button that opens a video properties dialog: the size, poster, Autoplay, Loop, Muted and Controls of a video, the size of an embed and the playback settings of audio. Autoplay also mutes the video and lets it play inline, and Controls can only be turned off while Autoplay is on. New `videoProperties` plugin, opened with `editor.events.fire('openVideoProperties', media)`. Thanks [@brendon](https://github.com/brendon).
52
+ - [#1530](https://github.com/xdan/jodit/issues/1530) The media popup has a Replace button that opens the video popup's Upload, Link and Code tabs. What's inserted takes the old media's place and keeps its classes, size and playback settings, in one undo step. Thanks [@brendon](https://github.com/brendon).
53
+ - [#1530](https://github.com/xdan/jodit/issues/1530) Videos can be resized with the resize frame: `allowResizeTags` and `resizer.useAspectRatio` now include `video`. A video with no height of its own is given only a width, so it keeps its ratio. Media in `jodit-media` or in a `mediaWrappers` wrapper is resized through its wrapper, and an embed through its own `jodit` wrapper. Thanks [@brendon](https://github.com/brendon).
54
+
55
+ #### :bug: Bug Fix
56
+
57
+ - [#1577](https://github.com/xdan/jodit/issues/1577) The resize frame stays on its image, table or embed while the editor's content or the page scrolls, clipped at the edge of the editing area, instead of being hidden on the first scroll. Thanks [@brendon](https://github.com/brendon).
58
+ - [#1620](https://github.com/xdan/jodit/issues/1620) Pressing on an embed or a video in a wrapper no longer paints its whole line with the selection highlight in Safari. Thanks [@brendon](https://github.com/brendon).
59
+
60
+ #### :house: Internal
61
+
62
+ - `imageAlignClasses` is deprecated in favour of `alignClasses.img`, which takes the same value; when `alignClasses.img` isn't set the editor copies `imageAlignClasses` into it, so existing configs keep working. Thanks [@brendon](https://github.com/brendon).
63
+
12
64
  ## 4.18.3
13
65
 
14
66
  #### :bug: Bug Fix
package/es2015/jodit.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.18.3
4
+ * Version: v4.18.6
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -2768,6 +2768,7 @@ a + .jodit-file-browser-tree__source-title {
2768
2768
  align-items: center;
2769
2769
  justify-content: center;
2770
2770
  border-radius: 0 var(--jd-border-radius-default) var(--jd-border-radius-default) 0;
2771
+ color: var(--jd-color-icon);
2771
2772
  opacity: 0.4;
2772
2773
  cursor: pointer;
2773
2774
  --jd-button-trigger-size: 14px;
@@ -3509,6 +3510,7 @@ a + .jodit-file-browser-tree__source-title {
3509
3510
  align-items: center;
3510
3511
  justify-content: center;
3511
3512
  border-radius: 0 var(--jd-border-radius-default) var(--jd-border-radius-default) 0;
3513
+ color: var(--jd-color-icon);
3512
3514
  opacity: 0.4;
3513
3515
  cursor: pointer;
3514
3516
  --jd-button-trigger-size: 14px;
@@ -4144,16 +4146,6 @@ html.jodit_fullsize-box_true {
4144
4146
  height: 100%;
4145
4147
  }
4146
4148
 
4147
- /*!
4148
- * Jodit Editor (https://xdsoft.net/jodit/)
4149
- * Released under MIT see LICENSE.txt in the project root for license information.
4150
- * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
4151
- */
4152
- .jodit-wysiwyg.jodit-wysiwyg_image-selected::selection,
4153
- .jodit-wysiwyg.jodit-wysiwyg_image-selected *:not(img)::selection {
4154
- background: transparent;
4155
- }
4156
-
4157
4149
  /*!
4158
4150
  * Jodit Editor (https://xdsoft.net/jodit/)
4159
4151
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -4266,6 +4258,16 @@ html.jodit_fullsize-box_true {
4266
4258
  min-width: 700px;
4267
4259
  }
4268
4260
 
4261
+ /*!
4262
+ * Jodit Editor (https://xdsoft.net/jodit/)
4263
+ * Released under MIT see LICENSE.txt in the project root for license information.
4264
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
4265
+ */
4266
+ .jodit-popup .jodit-toolbar-button_start {
4267
+ border-top: 1px solid var(--jd-color-separator);
4268
+ margin-top: calc(var(--jd-padding-default) / 2);
4269
+ }
4270
+
4269
4271
  /*!
4270
4272
  * Jodit Editor (https://xdsoft.net/jodit/)
4271
4273
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -4391,29 +4393,6 @@ html.jodit_fullsize-box_true {
4391
4393
  * Released under MIT see LICENSE.txt in the project root for license information.
4392
4394
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
4393
4395
  */
4394
- [data-jodit_iframe_wrapper] {
4395
- position: relative;
4396
- display: block;
4397
- user-select: none;
4398
- }
4399
- [data-jodit_iframe_wrapper] iframe {
4400
- position: relative;
4401
- }
4402
- [data-jodit_iframe_wrapper]::after {
4403
- position: absolute;
4404
- z-index: 1;
4405
- display: block;
4406
- background: rgba(0, 0, 0, 0);
4407
- content: '';
4408
- cursor: pointer;
4409
- inset: 0;
4410
- }
4411
- [data-jodit_iframe_wrapper][data-jodit-wrapper_active='true'] iframe {
4412
- z-index: 2;
4413
- }
4414
- .jodit_lock [data-jodit-wrapper_active='true'] iframe {
4415
- z-index: 1;
4416
- }
4417
4396
  :root {
4418
4397
  --jd-viewer-width: 70px;
4419
4398
  --jd-viewer-height: 24px;
@@ -4422,6 +4401,12 @@ html.jodit_fullsize-box_true {
4422
4401
  --jd-resizer-handle-color: #5ba4f3;
4423
4402
  --jd-resizer-handle-hover-color: #537ebb;
4424
4403
  }
4404
+ .jodit-resizer-layer {
4405
+ position: absolute;
4406
+ overflow: hidden;
4407
+ inset: 0;
4408
+ pointer-events: none;
4409
+ }
4425
4410
  .jodit-resizer {
4426
4411
  position: absolute;
4427
4412
  top: 0;
@@ -4951,6 +4936,59 @@ html.jodit_fullsize-box_true {
4951
4936
  text-align: center;
4952
4937
  }
4953
4938
 
4939
+ /*!
4940
+ * Jodit Editor (https://xdsoft.net/jodit/)
4941
+ * Released under MIT see LICENSE.txt in the project root for license information.
4942
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
4943
+ */
4944
+ .jodit-ui-video-properties-form {
4945
+ padding-top: var(--jd-padding-default);
4946
+ }
4947
+ .jodit-ui-video-properties-form .jodit-form__group:first-child {
4948
+ margin-top: 0;
4949
+ }
4950
+ .jodit-ui-video-properties-form__preview {
4951
+ display: block;
4952
+ width: 100%;
4953
+ height: var(--jd-width-default);
4954
+ background-color: var(--jd-color-background-light-gray);
4955
+ object-fit: contain;
4956
+ }
4957
+ .jodit-ui-video-properties-form__sizes.jodit-form__group {
4958
+ min-width: auto;
4959
+ flex-direction: row;
4960
+ align-items: center;
4961
+ }
4962
+ .jodit-ui-video-properties-form__sizes.jodit-form__group input {
4963
+ width: 0;
4964
+ flex: 1;
4965
+ }
4966
+ .jodit-ui-video-properties-form__lockSize {
4967
+ display: inline-block;
4968
+ cursor: pointer;
4969
+ }
4970
+ .jodit-ui-video-properties-form__lockSize > svg {
4971
+ display: inline-block;
4972
+ overflow: hidden;
4973
+ width: var(--jd-icon-middle-size);
4974
+ height: var(--jd-icon-middle-size);
4975
+ fill: var(--jd-color-dark);
4976
+ line-height: var(--jd-icon-middle-size);
4977
+ transform-origin: 0 0 !important;
4978
+ vertical-align: middle;
4979
+ }
4980
+ .jodit-ui-video-properties-form__playback.jodit-form__group {
4981
+ flex-flow: row wrap;
4982
+ gap: calc(var(--jd-padding-default) / 2) calc(var(--jd-padding-default) * 2);
4983
+ }
4984
+ .jodit-ui-video-properties-form__playback.jodit-form__group label {
4985
+ margin: 0;
4986
+ }
4987
+ .jodit-dialog_theme_dark .jodit-ui-video-properties-form__preview,
4988
+ .jodit_theme_dark .jodit-ui-video-properties-form__preview {
4989
+ background-color: var(--jd-dark-background-color);
4990
+ }
4991
+
4954
4992
  /*!
4955
4993
  * Jodit Editor (https://xdsoft.net/jodit/)
4956
4994
  * Released under MIT see LICENSE.txt in the project root for license information.