jodit-pro 4.9.27 → 4.9.33

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 (338) hide show
  1. package/CHANGELOG.md +50 -1
  2. package/config.js +1 -0
  3. package/es2015/jodit.css +1 -1
  4. package/es2015/jodit.fat.min.css +1 -1
  5. package/es2015/jodit.fat.min.js +15 -15
  6. package/es2015/jodit.js +15 -10
  7. package/es2015/jodit.min.js +5 -5
  8. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  9. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  10. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  11. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  12. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  13. package/es2015/plugins/backup/backup.css +1 -1
  14. package/es2015/plugins/backup/backup.js +1 -1
  15. package/es2015/plugins/backup/backup.min.js +1 -1
  16. package/es2015/plugins/button-generator/button-generator.css +1 -1
  17. package/es2015/plugins/button-generator/button-generator.js +1 -1
  18. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  19. package/es2015/plugins/change-case/change-case.js +1 -1
  20. package/es2015/plugins/change-case/change-case.min.js +1 -1
  21. package/es2015/plugins/color-picker/color-picker.css +1 -1
  22. package/es2015/plugins/color-picker/color-picker.js +1 -1
  23. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  24. package/es2015/plugins/emoji/emoji.css +1 -1
  25. package/es2015/plugins/emoji/emoji.js +1 -1
  26. package/es2015/plugins/emoji/emoji.min.js +1 -1
  27. package/es2015/plugins/export-docs/export-docs.js +1 -1
  28. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  29. package/es2015/plugins/finder/finder.css +1 -1
  30. package/es2015/plugins/finder/finder.js +40 -4
  31. package/es2015/plugins/finder/finder.min.js +4 -4
  32. package/es2015/plugins/google-maps/google-maps.css +1 -1
  33. package/es2015/plugins/google-maps/google-maps.js +1 -1
  34. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  35. package/es2015/plugins/google-search/google-search.js +1 -1
  36. package/es2015/plugins/google-search/google-search.min.js +1 -1
  37. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  38. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  39. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  40. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  41. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  42. package/es2015/plugins/keyboard/keyboard.css +1 -1
  43. package/es2015/plugins/keyboard/keyboard.js +1 -1
  44. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  45. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  46. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  47. package/es2015/plugins/page-break/page-break.js +1 -1
  48. package/es2015/plugins/page-break/page-break.min.js +1 -1
  49. package/es2015/plugins/paste-code/paste-code.css +1 -1
  50. package/es2015/plugins/paste-code/paste-code.js +1 -1
  51. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  52. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  53. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  54. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  55. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  56. package/es2015/plugins/style/style.css +1 -1
  57. package/es2015/plugins/style/style.js +37 -21
  58. package/es2015/plugins/style/style.min.js +2 -2
  59. package/es2015/plugins/templates/templates.css +82 -0
  60. package/es2015/plugins/templates/templates.js +178 -0
  61. package/es2015/plugins/templates/templates.min.css +1 -0
  62. package/es2015/plugins/templates/templates.min.js +8 -0
  63. package/es2015/plugins/todo-list/todo-list.css +1 -1
  64. package/es2015/plugins/todo-list/todo-list.js +1 -1
  65. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  66. package/es2015/plugins/translate/translate.css +1 -1
  67. package/es2015/plugins/translate/translate.js +1 -1
  68. package/es2015/plugins/translate/translate.min.js +1 -1
  69. package/es2015/plugins/tune-block/tune-block.css +1 -1
  70. package/es2015/plugins/tune-block/tune-block.js +1 -1
  71. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  72. package/es2018/jodit.fat.min.css +1 -1
  73. package/es2018/jodit.fat.min.js +15 -15
  74. package/es2018/jodit.min.js +5 -5
  75. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  76. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  77. package/es2018/plugins/backup/backup.min.js +1 -1
  78. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  79. package/es2018/plugins/change-case/change-case.min.js +1 -1
  80. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  81. package/es2018/plugins/emoji/emoji.min.js +1 -1
  82. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  83. package/es2018/plugins/finder/finder.min.js +3 -3
  84. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  85. package/es2018/plugins/google-search/google-search.min.js +1 -1
  86. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  87. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  88. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  89. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  90. package/es2018/plugins/page-break/page-break.min.js +1 -1
  91. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  92. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  93. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  94. package/es2018/plugins/style/style.min.js +2 -2
  95. package/es2018/plugins/templates/templates.min.css +1 -0
  96. package/es2018/plugins/templates/templates.min.js +8 -0
  97. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  98. package/es2018/plugins/translate/translate.min.js +1 -1
  99. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  100. package/es2021/jodit.css +1 -1
  101. package/es2021/jodit.fat.min.css +1 -1
  102. package/es2021/jodit.fat.min.js +15 -15
  103. package/es2021/jodit.js +15 -10
  104. package/es2021/jodit.min.js +6 -6
  105. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  106. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  107. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  108. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  109. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  110. package/es2021/plugins/backup/backup.css +1 -1
  111. package/es2021/plugins/backup/backup.js +1 -1
  112. package/es2021/plugins/backup/backup.min.js +1 -1
  113. package/es2021/plugins/button-generator/button-generator.css +1 -1
  114. package/es2021/plugins/button-generator/button-generator.js +1 -1
  115. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  116. package/es2021/plugins/change-case/change-case.js +1 -1
  117. package/es2021/plugins/change-case/change-case.min.js +1 -1
  118. package/es2021/plugins/color-picker/color-picker.css +1 -1
  119. package/es2021/plugins/color-picker/color-picker.js +1 -1
  120. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  121. package/es2021/plugins/emoji/emoji.css +1 -1
  122. package/es2021/plugins/emoji/emoji.js +1 -1
  123. package/es2021/plugins/emoji/emoji.min.js +1 -1
  124. package/es2021/plugins/export-docs/export-docs.js +1 -1
  125. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  126. package/es2021/plugins/finder/finder.css +1 -1
  127. package/es2021/plugins/finder/finder.js +40 -4
  128. package/es2021/plugins/finder/finder.min.js +4 -4
  129. package/es2021/plugins/google-maps/google-maps.css +1 -1
  130. package/es2021/plugins/google-maps/google-maps.js +1 -1
  131. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  132. package/es2021/plugins/google-search/google-search.js +1 -1
  133. package/es2021/plugins/google-search/google-search.min.js +1 -1
  134. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  135. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  136. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  137. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  138. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  139. package/es2021/plugins/keyboard/keyboard.css +1 -1
  140. package/es2021/plugins/keyboard/keyboard.js +1 -1
  141. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  142. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  143. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  144. package/es2021/plugins/page-break/page-break.js +1 -1
  145. package/es2021/plugins/page-break/page-break.min.js +1 -1
  146. package/es2021/plugins/paste-code/paste-code.css +1 -1
  147. package/es2021/plugins/paste-code/paste-code.js +1 -1
  148. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  149. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  150. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  151. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  152. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  153. package/es2021/plugins/style/style.css +1 -1
  154. package/es2021/plugins/style/style.js +31 -21
  155. package/es2021/plugins/style/style.min.js +2 -2
  156. package/es2021/plugins/templates/templates.css +82 -0
  157. package/es2021/plugins/templates/templates.js +178 -0
  158. package/es2021/plugins/templates/templates.min.css +1 -0
  159. package/es2021/plugins/templates/templates.min.js +8 -0
  160. package/es2021/plugins/todo-list/todo-list.css +1 -1
  161. package/es2021/plugins/todo-list/todo-list.js +1 -1
  162. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  163. package/es2021/plugins/translate/translate.css +1 -1
  164. package/es2021/plugins/translate/translate.js +1 -1
  165. package/es2021/plugins/translate/translate.min.js +1 -1
  166. package/es2021/plugins/tune-block/tune-block.css +1 -1
  167. package/es2021/plugins/tune-block/tune-block.js +1 -1
  168. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  169. package/es2021.en/jodit.css +1 -1
  170. package/es2021.en/jodit.fat.min.css +1 -1
  171. package/es2021.en/jodit.fat.min.js +16 -16
  172. package/es2021.en/jodit.js +15 -10
  173. package/es2021.en/jodit.min.js +6 -6
  174. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  175. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  176. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  177. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  178. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  179. package/es2021.en/plugins/backup/backup.css +1 -1
  180. package/es2021.en/plugins/backup/backup.js +1 -1
  181. package/es2021.en/plugins/backup/backup.min.js +1 -1
  182. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  183. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  184. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  185. package/es2021.en/plugins/change-case/change-case.js +1 -1
  186. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  187. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  188. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  189. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  190. package/es2021.en/plugins/emoji/emoji.css +1 -1
  191. package/es2021.en/plugins/emoji/emoji.js +1 -1
  192. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  193. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  194. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  195. package/es2021.en/plugins/finder/finder.css +1 -1
  196. package/es2021.en/plugins/finder/finder.js +6 -4
  197. package/es2021.en/plugins/finder/finder.min.js +2 -2
  198. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  199. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  200. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  201. package/es2021.en/plugins/google-search/google-search.js +1 -1
  202. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  203. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  204. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  205. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  206. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  207. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  208. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  209. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  210. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  211. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  212. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  213. package/es2021.en/plugins/page-break/page-break.js +1 -1
  214. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  215. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  216. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  217. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  218. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  219. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  220. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  221. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  222. package/es2021.en/plugins/style/style.css +1 -1
  223. package/es2021.en/plugins/style/style.js +31 -21
  224. package/es2021.en/plugins/style/style.min.js +2 -2
  225. package/es2021.en/plugins/templates/templates.css +82 -0
  226. package/es2021.en/plugins/templates/templates.js +178 -0
  227. package/es2021.en/plugins/templates/templates.min.css +1 -0
  228. package/es2021.en/plugins/templates/templates.min.js +8 -0
  229. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  230. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  231. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  232. package/es2021.en/plugins/translate/translate.css +1 -1
  233. package/es2021.en/plugins/translate/translate.js +1 -1
  234. package/es2021.en/plugins/translate/translate.min.js +1 -1
  235. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  236. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  237. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  238. package/es5/jodit.css +2 -2
  239. package/es5/jodit.fat.min.css +1 -1
  240. package/es5/jodit.fat.min.js +2 -2
  241. package/es5/jodit.js +15 -10
  242. package/es5/jodit.min.css +2 -2
  243. package/es5/jodit.min.js +2 -2
  244. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  245. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  246. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  247. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  248. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  249. package/es5/plugins/backup/backup.css +1 -1
  250. package/es5/plugins/backup/backup.js +1 -1
  251. package/es5/plugins/backup/backup.min.js +1 -1
  252. package/es5/plugins/button-generator/button-generator.css +1 -1
  253. package/es5/plugins/button-generator/button-generator.js +1 -1
  254. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  255. package/es5/plugins/change-case/change-case.js +1 -1
  256. package/es5/plugins/change-case/change-case.min.js +1 -1
  257. package/es5/plugins/color-picker/color-picker.css +1 -1
  258. package/es5/plugins/color-picker/color-picker.js +1 -1
  259. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  260. package/es5/plugins/emoji/emoji.css +1 -1
  261. package/es5/plugins/emoji/emoji.js +1 -1
  262. package/es5/plugins/emoji/emoji.min.js +1 -1
  263. package/es5/plugins/export-docs/export-docs.js +1 -1
  264. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  265. package/es5/plugins/finder/finder.css +1 -1
  266. package/es5/plugins/finder/finder.js +40 -4
  267. package/es5/plugins/finder/finder.min.js +2 -2
  268. package/es5/plugins/google-maps/google-maps.css +1 -1
  269. package/es5/plugins/google-maps/google-maps.js +1 -1
  270. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  271. package/es5/plugins/google-search/google-search.js +1 -1
  272. package/es5/plugins/google-search/google-search.min.js +1 -1
  273. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  274. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  275. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  276. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  277. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  278. package/es5/plugins/keyboard/keyboard.css +1 -1
  279. package/es5/plugins/keyboard/keyboard.js +1 -1
  280. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  281. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  282. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  283. package/es5/plugins/page-break/page-break.js +1 -1
  284. package/es5/plugins/page-break/page-break.min.js +1 -1
  285. package/es5/plugins/paste-code/paste-code.css +1 -1
  286. package/es5/plugins/paste-code/paste-code.js +1 -1
  287. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  288. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  289. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  290. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  291. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  292. package/es5/plugins/style/style.css +1 -1
  293. package/es5/plugins/style/style.js +37 -21
  294. package/es5/plugins/style/style.min.js +2 -2
  295. package/es5/plugins/templates/templates.css +82 -0
  296. package/es5/plugins/templates/templates.js +220 -0
  297. package/es5/plugins/templates/templates.min.css +1 -0
  298. package/es5/plugins/templates/templates.min.js +8 -0
  299. package/es5/plugins/todo-list/todo-list.css +1 -1
  300. package/es5/plugins/todo-list/todo-list.js +1 -1
  301. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  302. package/es5/plugins/translate/translate.css +1 -1
  303. package/es5/plugins/translate/translate.js +1 -1
  304. package/es5/plugins/translate/translate.min.js +1 -1
  305. package/es5/plugins/tune-block/tune-block.css +1 -1
  306. package/es5/plugins/tune-block/tune-block.js +1 -1
  307. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  308. package/es5/polyfills.fat.min.js +1 -1
  309. package/es5/polyfills.js +1 -1
  310. package/es5/polyfills.min.js +1 -1
  311. package/esm/config.d.ts +6 -0
  312. package/esm/plugins/all.js +1 -1
  313. package/esm/plugins/finder/langs/de.d.ts +22 -0
  314. package/esm/plugins/finder/langs/de.js +1 -0
  315. package/esm/plugins/finder/langs/index.d.ts +2 -1
  316. package/esm/plugins/finder/langs/index.js +1 -1
  317. package/esm/plugins/style/helpers/apply-style.js +1 -1
  318. package/esm/plugins/style/helpers/detect-active-style.js +1 -1
  319. package/esm/plugins/style/interface.d.ts +1 -1
  320. package/esm/plugins/style/ui/style-popup.js +1 -1
  321. package/esm/plugins/templates/config.d.ts +13 -0
  322. package/esm/plugins/templates/config.js +1 -0
  323. package/esm/plugins/templates/icon.svg.js +1 -0
  324. package/esm/plugins/templates/interface.d.ts +11 -0
  325. package/esm/plugins/templates/interface.js +0 -0
  326. package/esm/plugins/templates/templates.d.ts +18 -0
  327. package/esm/plugins/templates/templates.js +1 -0
  328. package/esm/plugins/templates/ui/templates-popup.d.ts +8 -0
  329. package/esm/plugins/templates/ui/templates-popup.js +1 -0
  330. package/package.json +1 -1
  331. package/types/config.d.ts +6 -0
  332. package/types/plugins/finder/langs/de.d.ts +22 -0
  333. package/types/plugins/finder/langs/index.d.ts +2 -1
  334. package/types/plugins/style/interface.d.ts +1 -1
  335. package/types/plugins/templates/config.d.ts +13 -0
  336. package/types/plugins/templates/interface.d.ts +11 -0
  337. package/types/plugins/templates/templates.d.ts +18 -0
  338. package/types/plugins/templates/ui/templates-popup.d.ts +8 -0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -52,6 +52,8 @@ function buildStylePopup(editor, definitions, close) {
52
52
  try {
53
53
  var _loop = function() {
54
54
  var def = _step1.value;
55
+ var _ref;
56
+ var _def_classes;
55
57
  var card = editor.c.element('button');
56
58
  card.type = 'button';
57
59
  var isActive = active === def;
@@ -60,7 +62,7 @@ function buildStylePopup(editor, definitions, close) {
60
62
  var previewEl = editor.c.element(def.element);
61
63
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
62
64
  try {
63
- for(var _iterator = def.classes[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
65
+ for(var _iterator = ((_ref = (_def_classes = def.classes) === null || _def_classes === void 0 ? void 0 : _def_classes.filter(Boolean)) !== null && _ref !== void 0 ? _ref : [])[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
64
66
  var cls = _step.value;
65
67
  previewEl.classList.add(cls);
66
68
  }
@@ -323,7 +325,9 @@ function removeClassesFromElement(el, classes) {
323
325
  }
324
326
  }
325
327
  function cleanupExtraClasses(editor, def) {
326
- if (def.classes.length <= 1) {
328
+ var _def_classes;
329
+ var classes = (_def_classes = def.classes) === null || _def_classes === void 0 ? void 0 : _def_classes.filter(Boolean);
330
+ if (!classes || classes.length <= 1) {
327
331
  return;
328
332
  }
329
333
  var current = editor.s.current();
@@ -333,12 +337,12 @@ function cleanupExtraClasses(editor, def) {
333
337
  if (jodit_esm_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_BLOCK.test(def.element)) {
334
338
  var block = jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(current, jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock, editor.editor);
335
339
  if (block) {
336
- removeClassesFromElement(block, def.classes.slice(1));
340
+ removeClassesFromElement(block, classes.slice(1));
337
341
  }
338
342
  } else {
339
343
  var target = findTarget(editor, def);
340
344
  if (target) {
341
- removeClassesFromElement(target, def.classes.slice(1));
345
+ removeClassesFromElement(target, classes.slice(1));
342
346
  if (target.nodeName.toLowerCase() === 'span' && !target.attributes.length) {
343
347
  jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__.Dom.unwrap(target);
344
348
  }
@@ -346,37 +350,44 @@ function cleanupExtraClasses(editor, def) {
346
350
  }
347
351
  }
348
352
  function addExtraClasses(editor, def) {
349
- if (def.classes.length <= 1) {
353
+ var _def_classes;
354
+ var classes = (_def_classes = def.classes) === null || _def_classes === void 0 ? void 0 : _def_classes.filter(Boolean);
355
+ if (!classes || classes.length <= 1) {
350
356
  return;
351
357
  }
352
358
  var target = findTarget(editor, def);
353
359
  if (!target) {
354
360
  return;
355
361
  }
356
- for(var i = 1; i < def.classes.length; i++){
357
- target.classList.add(def.classes[i]);
362
+ for(var i = 1; i < classes.length; i++){
363
+ target.classList.add(classes[i]);
358
364
  }
359
365
  }
366
+ function buildCommitStyleOptions(def) {
367
+ var _def_classes;
368
+ var firstClass = (_def_classes = def.classes) === null || _def_classes === void 0 ? void 0 : _def_classes.filter(Boolean)[0];
369
+ if (firstClass) {
370
+ return {
371
+ element: def.element,
372
+ attributes: {
373
+ class: firstClass
374
+ }
375
+ };
376
+ }
377
+ return {
378
+ element: def.element
379
+ };
380
+ }
360
381
  function applyStyle(editor, def, definitions) {
361
382
  var active = (0,_detect_active_style__WEBPACK_IMPORTED_MODULE_0__.detectActiveStyle)(editor, definitions);
362
383
  if (active) {
363
- editor.s.commitStyle({
364
- element: active.element,
365
- attributes: {
366
- class: active.classes[0]
367
- }
368
- });
384
+ editor.s.commitStyle(buildCommitStyleOptions(active));
369
385
  cleanupExtraClasses(editor, active);
370
386
  if (active === def) {
371
387
  return;
372
388
  }
373
389
  }
374
- editor.s.commitStyle({
375
- element: def.element,
376
- attributes: {
377
- class: def.classes[0]
378
- }
379
- });
390
+ editor.s.commitStyle(buildCommitStyleOptions(def));
380
391
  addExtraClasses(editor, def);
381
392
  }
382
393
 
@@ -399,10 +410,15 @@ function applyStyle(editor, def, definitions) {
399
410
  */
400
411
 
401
412
  function elementMatchesDefinition(el, def) {
413
+ var _def_classes;
402
414
  if (el.nodeName.toLowerCase() !== def.element) {
403
415
  return false;
404
416
  }
405
- return def.classes.every(function(cls) {
417
+ var classes = (_def_classes = def.classes) === null || _def_classes === void 0 ? void 0 : _def_classes.filter(Boolean);
418
+ if (!(classes === null || classes === void 0 ? void 0 : classes.length)) {
419
+ return true;
420
+ }
421
+ return classes.every(function(cls) {
406
422
  return el.classList.contains(cls);
407
423
  });
408
424
  }
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[850],{5440:function(t,e,n){"use strict";n.d(e,{buildStylePopup:function(){return s}});var r=n(31105),o=n(8060),i=n(69341),l="jodit-style-popup";function s(t,e,n){var s=(0,o.classifyDefinitions)(e),c=(0,i.detectActiveStyle)(t,e),a=t.c.div(l),u=!0,f=!1,d=void 0;try{for(var v,y=s[Symbol.iterator]();!(u=(v=y.next()).done);u=!0){var p=v.value,m=t.c.div("".concat(l,"__group-title"));m.textContent=t.i18n(p.title),a.appendChild(m);var h=t.c.div("".concat(l,"__grid")),x=!0,S=!1,_=void 0;try{for(var g,b=p.definitions[Symbol.iterator]();!(x=(g=b.next()).done);x=!0)!function(){var o=g.value,i=t.c.element("button");i.type="button";var s=c===o;i.className="".concat(l,"__card")+(s?" ".concat(l,"__card_active_true"):"");var a=t.c.div("".concat(l,"__card-preview")),u=t.c.element(o.element),f=!0,d=!1,v=void 0;try{for(var y,p=o.classes[Symbol.iterator]();!(f=(y=p.next()).done);f=!0){var m=y.value;u.classList.add(m)}}catch(t){d=!0,v=t}finally{try{f||null==p.return||p.return()}finally{if(d)throw v}}u.textContent=o.name,a.appendChild(u),i.appendChild(a);var x=t.c.div("".concat(l,"__card-label"));x.textContent=o.name,i.appendChild(x),t.e.on(i,"click",function(){t.s.focus(),(0,r.applyStyle)(t,o,e),t.synchronizeValues(),n()}),h.appendChild(i)}()}catch(t){S=!0,_=t}finally{try{x||null==b.return||b.return()}finally{if(S)throw _}}a.appendChild(h)}}catch(t){f=!0,d=t}finally{try{u||null==y.return||y.return()}finally{if(f)throw d}}return a}},8060:function(t,e,n){"use strict";n.d(e,{classifyDefinitions:function(){return o}});var r=n(82758);function o(t){var e=[],n=[],o=!0,i=!1,l=void 0;try{for(var s,c=t[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var a=s.value;r.IS_BLOCK.test(a.element)?e.push(a):n.push(a)}}catch(t){i=!0,l=t}finally{try{o||null==c.return||c.return()}finally{if(i)throw l}}var u=[];return e.length&&u.push({title:"Block styles",definitions:e}),n.length&&u.push({title:"Text styles",definitions:n}),u}},28609:function(t,e,n){"use strict";var r=n(69341),o=n(5440),i=n(78955),l=n.n(i),s=n(6441);s.Config.prototype.customStyles={definitions:[]},s.Config.prototype.controls.style={tooltip:"Styles",icon:l(),isDisabled:function(t){return!t.o.customStyles.definitions.length},isActive:function(t){var e=t.o.customStyles.definitions;return!!e.length&&null!=(0,r.detectActiveStyle)(t,e)},update:function(t,e){var n,o=t.o.customStyles.definitions;if(o.length){var i=(0,r.detectActiveStyle)(t,o),l=(null==(n=e.control)?void 0:n.component)==="select";(t.o.textIcons||l)&&(i?e.state.text=i.name:e.state.text=l?t.i18n("Styles"):"")}},exec:function(){return!1},popup:function(t,e,n){var r=t.o.customStyles.definitions;if(!r.length)return!1;t.s.current()||t.s.focus(),t.s.save();var i=(0,o.buildStylePopup)(t,r,function(){t.s.restore(),n()});return t.e.one("beforePopupClose",function(){t.s.restore()}),i}}},31105:function(t,e,n){"use strict";n.d(e,{applyStyle:function(){return c}});var r=n(69341),o=n(82758),i=n(2748);function l(t,e){var n=t.s.current();if(!n)return null;if(o.IS_BLOCK.test(e.element))return i.Dom.closest(n,i.Dom.isBlock,t.editor);for(var r=i.Dom.isElement(n)?n:n.parentNode;r&&r!==t.editor;){if(i.Dom.isElement(r)&&r.nodeName.toLowerCase()===e.element)return r;r=r.parentNode}return null}function s(t,e){var n=!0,r=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done);n=!0){var s=i.value;t.classList.remove(s)}}catch(t){r=!0,o=t}finally{try{n||null==l.return||l.return()}finally{if(r)throw o}}""===t.className&&t.removeAttribute("class")}function c(t,e,n){var c=(0,r.detectActiveStyle)(t,n);c&&(t.s.commitStyle({element:c.element,attributes:{class:c.classes[0]}}),!function(t,e){if(!(e.classes.length<=1)){var n=t.s.current();if(n)if(o.IS_BLOCK.test(e.element)){var r=i.Dom.closest(n,i.Dom.isBlock,t.editor);r&&s(r,e.classes.slice(1))}else{var c=l(t,e);c&&(s(c,e.classes.slice(1)),"span"!==c.nodeName.toLowerCase()||c.attributes.length||i.Dom.unwrap(c))}}}(t,c),c===e)||(t.s.commitStyle({element:e.element,attributes:{class:e.classes[0]}}),function(t,e){if(!(e.classes.length<=1)){var n=l(t,e);if(n)for(var r=1;r<e.classes.length;r++)n.classList.add(e.classes[r])}}(t,e))}},69341:function(t,e,n){"use strict";n.d(e,{detectActiveStyle:function(){return l}});var r=n(82758),o=n(2748);function i(t,e){return t.nodeName.toLowerCase()===e.element&&e.classes.every(function(e){return t.classList.contains(e)})}function l(t,e){var n=t.s.current();if(!n)return null;var l=!0,s=!1,c=void 0;try{for(var a,u=e[Symbol.iterator]();!(l=(a=u.next()).done);l=!0){var f=a.value;if(r.IS_BLOCK.test(f.element)){var d=o.Dom.closest(n,o.Dom.isBlock,t.editor);if(d&&i(d,f))return f}else for(var v=o.Dom.isElement(n)?n:n.parentNode;v&&v!==t.editor;){if(o.Dom.isElement(v)&&i(v,f))return f;v=v.parentNode}}}catch(t){s=!0,c=t}finally{try{l||null==u.return||u.return()}finally{if(s)throw c}}return null}},75554:function(t,e,n){"use strict";n.r(e),n.d(e,{style:function(){return f}});var r=n(80294),o=n(20616),i=n(67709),l=n(82749),s=n(18766),c=n(23078);n(28609);var a=n(50911),u=n(2692),f=function(t){function e(){var t;return(0,o._)(this,e),t=(0,r._)(this,e,arguments),(0,l._)(t,"buttons",[{name:"style",group:"font"}]),t}return(0,s._)(e,t),(0,i._)(e,[{key:"afterInit",value:function(t){}},{key:"beforeDestruct",value:function(t){}}]),e}((0,c._)(a.Plugin));(0,l._)(f,"requires",["license"]),u.JoditPro.plugins.add("style",f)},78955:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="1.5"> <rect x="2" y="3.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="2" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="3.5" width="9" height="9" rx="1.5" fill="currentColor" transform="rotate(45 17.5 8)"/> </svg>'}},function(t){return t(t.s=75554)}])});
8
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[850],{5440:function(t,e,n){"use strict";n.d(e,{buildStylePopup:function(){return s}});var r=n(31105),o=n(8060),i=n(69341),l="jodit-style-popup";function s(t,e,n){var s=(0,o.classifyDefinitions)(e),a=(0,i.detectActiveStyle)(t,e),u=t.c.div(l),c=!0,f=!1,d=void 0;try{for(var v,y=s[Symbol.iterator]();!(c=(v=y.next()).done);c=!0){var p=v.value,m=t.c.div("".concat(l,"__group-title"));m.textContent=t.i18n(p.title),u.appendChild(m);var h=t.c.div("".concat(l,"__grid")),x=!0,S=!1,g=void 0;try{for(var _,w=p.definitions[Symbol.iterator]();!(x=(_=w.next()).done);x=!0)!function(){var o=_.value,i=t.c.element("button");i.type="button";var s=a===o;i.className="".concat(l,"__card")+(s?" ".concat(l,"__card_active_true"):"");var u=t.c.div("".concat(l,"__card-preview")),c=t.c.element(o.element),f=!0,d=!1,v=void 0;try{for(var y,p,m,x=(null!=(y=null==(p=o.classes)?void 0:p.filter(Boolean))?y:[])[Symbol.iterator]();!(f=(m=x.next()).done);f=!0){var S=m.value;c.classList.add(S)}}catch(t){d=!0,v=t}finally{try{f||null==x.return||x.return()}finally{if(d)throw v}}c.textContent=o.name,u.appendChild(c),i.appendChild(u);var g=t.c.div("".concat(l,"__card-label"));g.textContent=o.name,i.appendChild(g),t.e.on(i,"click",function(){t.s.focus(),(0,r.applyStyle)(t,o,e),t.synchronizeValues(),n()}),h.appendChild(i)}()}catch(t){S=!0,g=t}finally{try{x||null==w.return||w.return()}finally{if(S)throw g}}u.appendChild(h)}}catch(t){f=!0,d=t}finally{try{c||null==y.return||y.return()}finally{if(f)throw d}}return u}},8060:function(t,e,n){"use strict";n.d(e,{classifyDefinitions:function(){return o}});var r=n(82758);function o(t){var e=[],n=[],o=!0,i=!1,l=void 0;try{for(var s,a=t[Symbol.iterator]();!(o=(s=a.next()).done);o=!0){var u=s.value;r.IS_BLOCK.test(u.element)?e.push(u):n.push(u)}}catch(t){i=!0,l=t}finally{try{o||null==a.return||a.return()}finally{if(i)throw l}}var c=[];return e.length&&c.push({title:"Block styles",definitions:e}),n.length&&c.push({title:"Text styles",definitions:n}),c}},28609:function(t,e,n){"use strict";var r=n(69341),o=n(5440),i=n(78955),l=n.n(i),s=n(6441);s.Config.prototype.customStyles={definitions:[]},s.Config.prototype.controls.style={tooltip:"Styles",icon:l(),isDisabled:function(t){return!t.o.customStyles.definitions.length},isActive:function(t){var e=t.o.customStyles.definitions;return!!e.length&&null!=(0,r.detectActiveStyle)(t,e)},update:function(t,e){var n,o=t.o.customStyles.definitions;if(o.length){var i=(0,r.detectActiveStyle)(t,o),l=(null==(n=e.control)?void 0:n.component)==="select";(t.o.textIcons||l)&&(i?e.state.text=i.name:e.state.text=l?t.i18n("Styles"):"")}},exec:function(){return!1},popup:function(t,e,n){var r=t.o.customStyles.definitions;if(!r.length)return!1;t.s.current()||t.s.focus(),t.s.save();var i=(0,o.buildStylePopup)(t,r,function(){t.s.restore(),n()});return t.e.one("beforePopupClose",function(){t.s.restore()}),i}}},31105:function(t,e,n){"use strict";n.d(e,{applyStyle:function(){return u}});var r=n(69341),o=n(82758),i=n(2748);function l(t,e){var n=t.s.current();if(!n)return null;if(o.IS_BLOCK.test(e.element))return i.Dom.closest(n,i.Dom.isBlock,t.editor);for(var r=i.Dom.isElement(n)?n:n.parentNode;r&&r!==t.editor;){if(i.Dom.isElement(r)&&r.nodeName.toLowerCase()===e.element)return r;r=r.parentNode}return null}function s(t,e){var n=!0,r=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done);n=!0){var s=i.value;t.classList.remove(s)}}catch(t){r=!0,o=t}finally{try{n||null==l.return||l.return()}finally{if(r)throw o}}""===t.className&&t.removeAttribute("class")}function a(t){var e,n=null==(e=t.classes)?void 0:e.filter(Boolean)[0];return n?{element:t.element,attributes:{class:n}}:{element:t.element}}function u(t,e,n){var u=(0,r.detectActiveStyle)(t,n);u&&(t.s.commitStyle(a(u)),!function(t,e){var n,r=null==(n=e.classes)?void 0:n.filter(Boolean);if(r&&!(r.length<=1)){var a=t.s.current();if(a)if(o.IS_BLOCK.test(e.element)){var u=i.Dom.closest(a,i.Dom.isBlock,t.editor);u&&s(u,r.slice(1))}else{var c=l(t,e);c&&(s(c,r.slice(1)),"span"!==c.nodeName.toLowerCase()||c.attributes.length||i.Dom.unwrap(c))}}}(t,u),u===e)||(t.s.commitStyle(a(e)),function(t,e){var n,r=null==(n=e.classes)?void 0:n.filter(Boolean);if(r&&!(r.length<=1)){var o=l(t,e);if(o)for(var i=1;i<r.length;i++)o.classList.add(r[i])}}(t,e))}},69341:function(t,e,n){"use strict";n.d(e,{detectActiveStyle:function(){return l}});var r=n(82758),o=n(2748);function i(t,e){if(t.nodeName.toLowerCase()!==e.element)return!1;var n,r=null==(n=e.classes)?void 0:n.filter(Boolean);return null==r||!r.length||r.every(function(e){return t.classList.contains(e)})}function l(t,e){var n=t.s.current();if(!n)return null;var l=!0,s=!1,a=void 0;try{for(var u,c=e[Symbol.iterator]();!(l=(u=c.next()).done);l=!0){var f=u.value;if(r.IS_BLOCK.test(f.element)){var d=o.Dom.closest(n,o.Dom.isBlock,t.editor);if(d&&i(d,f))return f}else for(var v=o.Dom.isElement(n)?n:n.parentNode;v&&v!==t.editor;){if(o.Dom.isElement(v)&&i(v,f))return f;v=v.parentNode}}}catch(t){s=!0,a=t}finally{try{l||null==c.return||c.return()}finally{if(s)throw a}}return null}},75554:function(t,e,n){"use strict";n.r(e),n.d(e,{style:function(){return f}});var r=n(80294),o=n(20616),i=n(67709),l=n(82749),s=n(18766),a=n(23078);n(28609);var u=n(50911),c=n(2692),f=function(t){function e(){var t;return(0,o._)(this,e),t=(0,r._)(this,e,arguments),(0,l._)(t,"buttons",[{name:"style",group:"font"}]),t}return(0,s._)(e,t),(0,i._)(e,[{key:"afterInit",value:function(t){}},{key:"beforeDestruct",value:function(t){}}]),e}((0,a._)(u.Plugin));(0,l._)(f,"requires",["license"]),c.JoditPro.plugins.add("style",f)},78955:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="1.5"> <rect x="2" y="3.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="2" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="3.5" width="9" height="9" rx="1.5" fill="currentColor" transform="rotate(45 17.5 8)"/> </svg>'}},function(t){return t(t.s=75554)}])});
@@ -0,0 +1,82 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
+ * Version: v4.9.33
5
+ * Url: https://xdsoft.net/jodit/pro/
6
+ * License(s): SEE LICENSE IN LICENSE.md
7
+ */
8
+
9
+ .jodit-templates-popup {
10
+ min-width: 300px;
11
+ max-height: 470px;
12
+ padding: 8px;
13
+ overflow-y: auto;
14
+ }
15
+ .jodit-templates-popup__card {
16
+ display: flex;
17
+ overflow: hidden;
18
+ width: 100%;
19
+ flex-direction: row;
20
+ align-items: stretch;
21
+ padding: 0;
22
+ border: 1px solid #ddd;
23
+ border-radius: 6px;
24
+ margin-bottom: 8px;
25
+ background: none;
26
+ color: inherit;
27
+ cursor: pointer;
28
+ text-align: left;
29
+ }
30
+ .jodit-templates-popup__card:last-child {
31
+ margin-bottom: 0;
32
+ }
33
+ .jodit-templates-popup__card:hover {
34
+ border-color: var(--jd-color-border-active, #4a6cf6);
35
+ }
36
+ .jodit-templates-popup__card-preview {
37
+ position: relative;
38
+ overflow: hidden;
39
+ width: 140px;
40
+ height: 96px;
41
+ flex-shrink: 0;
42
+ background: #f8f8f8;
43
+ pointer-events: none;
44
+ }
45
+ .jodit-templates-popup__card-preview img {
46
+ display: block;
47
+ width: 100%;
48
+ height: 100%;
49
+ object-fit: cover;
50
+ }
51
+ .jodit-templates-popup__card-preview-inner {
52
+ position: absolute;
53
+ top: 0;
54
+ left: 0;
55
+ width: 500px;
56
+ transform: scale(0.28);
57
+ transform-origin: top left;
58
+ }
59
+ .jodit-templates-popup__card-info {
60
+ display: flex;
61
+ min-width: 0;
62
+ flex: 1;
63
+ flex-direction: column;
64
+ justify-content: center;
65
+ padding: 8px 12px;
66
+ }
67
+ .jodit-templates-popup__card-title {
68
+ overflow: hidden;
69
+ font-size: 13px;
70
+ font-weight: 600;
71
+ line-height: 1.3;
72
+ text-overflow: ellipsis;
73
+ white-space: nowrap;
74
+ }
75
+ .jodit-templates-popup__card-description {
76
+ overflow: hidden;
77
+ margin-top: 4px;
78
+ color: #888;
79
+ font-size: 11px;
80
+ line-height: 1.4;
81
+ }
82
+
@@ -0,0 +1,220 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
+ * Version: v4.9.33
5
+ * Url: https://xdsoft.net/jodit/pro/
6
+ * License(s): SEE LICENSE IN LICENSE.md
7
+ */
8
+
9
+ (function webpackUniversalModuleDefinition(root, factory) {
10
+ if(typeof exports === 'object' && typeof module === 'object')
11
+ module.exports = factory();
12
+ else if(typeof define === 'function' && define.amd)
13
+ define([], factory);
14
+ else {
15
+ var a = factory();
16
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
17
+ }
18
+ })(self, function() {
19
+ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).push([[945],{
20
+
21
+ /***/ 18993:
22
+ /***/ (function(module) {
23
+
24
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" stroke=\"currentColor\" stroke-width=\"1.5\"> <rect x=\"2\" y=\"2\" width=\"20\" height=\"9\" rx=\"1.5\" fill=\"none\"/> <rect x=\"2\" y=\"14\" width=\"9\" height=\"8\" rx=\"1.5\" fill=\"none\"/> <rect x=\"13\" y=\"14\" width=\"9\" height=\"8\" rx=\"1.5\" fill=\"currentColor\"/> </svg>"
25
+
26
+ /***/ }),
27
+
28
+ /***/ 54296:
29
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
30
+
31
+ "use strict";
32
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
33
+ /* harmony export */ buildTemplatesPopup: function() { return /* binding */ buildTemplatesPopup; }
34
+ /* harmony export */ });
35
+ /*!
36
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
37
+ * See LICENSE.md in the project root for license information.
38
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
39
+ */ var CLASS_NAME = 'jodit-templates-popup';
40
+ function buildTemplatesPopup(editor, definitions, close) {
41
+ var container = editor.c.div(CLASS_NAME);
42
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
43
+ try {
44
+ var _loop = function() {
45
+ var def = _step.value;
46
+ var card = editor.c.element('button');
47
+ card.type = 'button';
48
+ card.className = "".concat(CLASS_NAME, "__card");
49
+ var preview = editor.c.div("".concat(CLASS_NAME, "__card-preview"));
50
+ if (def.image) {
51
+ var img = editor.c.element('img');
52
+ img.src = def.image;
53
+ img.alt = def.title;
54
+ preview.appendChild(img);
55
+ } else {
56
+ var inner = editor.c.div("".concat(CLASS_NAME, "__card-preview-inner"));
57
+ inner.innerHTML = def.html;
58
+ preview.appendChild(inner);
59
+ }
60
+ card.appendChild(preview);
61
+ var info = editor.c.div("".concat(CLASS_NAME, "__card-info"));
62
+ var title = editor.c.div("".concat(CLASS_NAME, "__card-title"));
63
+ title.textContent = def.title;
64
+ info.appendChild(title);
65
+ var description = editor.c.div("".concat(CLASS_NAME, "__card-description"));
66
+ description.textContent = def.description;
67
+ info.appendChild(description);
68
+ card.appendChild(info);
69
+ editor.e.on(card, 'click', function() {
70
+ editor.s.focus();
71
+ editor.s.insertHTML(def.html);
72
+ editor.synchronizeValues();
73
+ close();
74
+ });
75
+ container.appendChild(card);
76
+ };
77
+ for(var _iterator = definitions[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true)_loop();
78
+ } catch (err) {
79
+ _didIteratorError = true;
80
+ _iteratorError = err;
81
+ } finally{
82
+ try {
83
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
84
+ _iterator.return();
85
+ }
86
+ } finally{
87
+ if (_didIteratorError) {
88
+ throw _iteratorError;
89
+ }
90
+ }
91
+ }
92
+ return container;
93
+ }
94
+
95
+
96
+ /***/ }),
97
+
98
+ /***/ 58475:
99
+ /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
100
+
101
+ "use strict";
102
+ /* harmony import */ var _ui_templates_popup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54296);
103
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18993);
104
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_1__);
105
+ /* harmony import */ var jodit_esm_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6441);
106
+ /*!
107
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
108
+ * See LICENSE.md in the project root for license information.
109
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
110
+ */
111
+
112
+
113
+ jodit_esm_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.contentTemplates = {
114
+ definitions: []
115
+ };
116
+ jodit_esm_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.templates = {
117
+ tooltip: 'Templates',
118
+ icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_1___default()),
119
+ isDisabled: function isDisabled(editor) {
120
+ return !editor.o.contentTemplates.definitions.length;
121
+ },
122
+ exec: function exec() {
123
+ return false;
124
+ },
125
+ popup: function popup(editor, _current, close) {
126
+ var definitions = editor.o.contentTemplates.definitions;
127
+ if (!definitions.length) {
128
+ return false;
129
+ }
130
+ if (!editor.s.current()) {
131
+ editor.s.focus();
132
+ }
133
+ editor.s.save();
134
+ var popup = (0,_ui_templates_popup__WEBPACK_IMPORTED_MODULE_0__.buildTemplatesPopup)(editor, definitions, function() {
135
+ editor.s.restore();
136
+ close();
137
+ });
138
+ editor.e.one('beforePopupClose', function() {
139
+ editor.s.restore();
140
+ });
141
+ return popup;
142
+ }
143
+ };
144
+
145
+
146
+ /***/ }),
147
+
148
+ /***/ 61886:
149
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
150
+
151
+ "use strict";
152
+ __webpack_require__.r(__webpack_exports__);
153
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
154
+ /* harmony export */ templates: function() { return /* binding */ templates; }
155
+ /* harmony export */ });
156
+ /* harmony import */ var _swc_helpers_call_super__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80294);
157
+ /* harmony import */ var _swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(20616);
158
+ /* harmony import */ var _swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67709);
159
+ /* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82749);
160
+ /* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(18766);
161
+ /* harmony import */ var _swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(23078);
162
+ /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(58475);
163
+ /* harmony import */ var jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(50911);
164
+ /* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2692);
165
+ /*!
166
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
167
+ * See LICENSE.md in the project root for license information.
168
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
169
+ */
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+ var templates = /*#__PURE__*/ function(Plugin) {
180
+ "use strict";
181
+ (0,_swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__._)(templates, Plugin);
182
+ function templates() {
183
+ (0,_swc_helpers_class_call_check__WEBPACK_IMPORTED_MODULE_1__._)(this, templates);
184
+ var _this;
185
+ _this = (0,_swc_helpers_call_super__WEBPACK_IMPORTED_MODULE_0__._)(this, templates, arguments), /** @override */ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "buttons", [
186
+ {
187
+ name: 'templates',
188
+ group: 'insert'
189
+ }
190
+ ]);
191
+ return _this;
192
+ }
193
+ (0,_swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__._)(templates, [
194
+ {
195
+ key: "afterInit",
196
+ value: /** @override */ function afterInit(_jodit) {}
197
+ },
198
+ {
199
+ key: "beforeDestruct",
200
+ value: /** @override */ function beforeDestruct(_jodit) {}
201
+ }
202
+ ]);
203
+ return templates;
204
+ }((0,_swc_helpers_wrap_native_super__WEBPACK_IMPORTED_MODULE_5__._)(jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_7__.Plugin));
205
+ /** @override */ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(templates, "requires", [
206
+ 'license'
207
+ ]);
208
+ jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_8__.JoditPro.plugins.add('templates', templates);
209
+
210
+
211
+ /***/ })
212
+
213
+ },
214
+ /******/ function(__webpack_require__) { // webpackRuntimeModules
215
+ /******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
216
+ /******/ var __webpack_exports__ = (__webpack_exec__(61886));
217
+ /******/ return __webpack_exports__;
218
+ /******/ }
219
+ ]);
220
+ });
@@ -0,0 +1 @@
1
+ .jodit-templates-popup{max-height:470px;min-width:300px;overflow-y:auto;padding:8px}.jodit-templates-popup__card{align-items:stretch;background:none;border:1px solid #ddd;border-radius:6px;color:inherit;cursor:pointer;display:flex;flex-direction:row;margin-bottom:8px;overflow:hidden;padding:0;text-align:left;width:100%}.jodit-templates-popup__card:last-child{margin-bottom:0}.jodit-templates-popup__card:hover{border-color:var(--jd-color-border-active,#4a6cf6)}.jodit-templates-popup__card-preview{background:#f8f8f8;flex-shrink:0;height:96px;overflow:hidden;pointer-events:none;position:relative;width:140px}.jodit-templates-popup__card-preview img{display:block;height:100%;object-fit:cover;width:100%}.jodit-templates-popup__card-preview-inner{left:0;position:absolute;top:0;transform:scale(.28);transform-origin:top left;width:500px}.jodit-templates-popup__card-info{display:flex;flex:1;flex-direction:column;justify-content:center;min-width:0;padding:8px 12px}.jodit-templates-popup__card-title{font-size:13px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jodit-templates-popup__card-description{color:#888;font-size:11px;line-height:1.4;margin-top:4px;overflow:hidden}
@@ -0,0 +1,8 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
+ * Version: v4.9.33
5
+ * Url: https://xdsoft.net/jodit/pro/
6
+ * License(s): SEE LICENSE IN LICENSE.md
7
+ */
8
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var i in n)("object"==typeof exports?exports:e)[i]=n[i]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[945],{18993:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="1.5"> <rect x="2" y="2" width="20" height="9" rx="1.5" fill="none"/> <rect x="2" y="14" width="9" height="8" rx="1.5" fill="none"/> <rect x="13" y="14" width="9" height="8" rx="1.5" fill="currentColor"/> </svg>'},54296:function(e,t,n){"use strict";n.d(t,{buildTemplatesPopup:function(){return r}});var i="jodit-templates-popup";function r(e,t,n){var r=e.c.div(i),o=!0,c=!1,s=void 0;try{for(var a,u=t[Symbol.iterator]();!(o=(a=u.next()).done);o=!0)!function(){var t=a.value,o=e.c.element("button");o.type="button",o.className="".concat(i,"__card");var c=e.c.div("".concat(i,"__card-preview"));if(t.image){var s=e.c.element("img");s.src=t.image,s.alt=t.title,c.appendChild(s)}else{var u=e.c.div("".concat(i,"__card-preview-inner"));u.innerHTML=t.html,c.appendChild(u)}o.appendChild(c);var l=e.c.div("".concat(i,"__card-info")),p=e.c.div("".concat(i,"__card-title"));p.textContent=t.title,l.appendChild(p);var d=e.c.div("".concat(i,"__card-description"));d.textContent=t.description,l.appendChild(d),o.appendChild(l),e.e.on(o,"click",function(){e.s.focus(),e.s.insertHTML(t.html),e.synchronizeValues(),n()}),r.appendChild(o)}()}catch(e){c=!0,s=e}finally{try{o||null==u.return||u.return()}finally{if(c)throw s}}return r}},58475:function(e,t,n){"use strict";var i=n(54296),r=n(18993),o=n.n(r),c=n(6441);c.Config.prototype.contentTemplates={definitions:[]},c.Config.prototype.controls.templates={tooltip:"Templates",icon:o(),isDisabled:function(e){return!e.o.contentTemplates.definitions.length},exec:function(){return!1},popup:function(e,t,n){var r=e.o.contentTemplates.definitions;if(!r.length)return!1;e.s.current()||e.s.focus(),e.s.save();var o=(0,i.buildTemplatesPopup)(e,r,function(){e.s.restore(),n()});return e.e.one("beforePopupClose",function(){e.s.restore()}),o}}},61886:function(e,t,n){"use strict";n.r(t),n.d(t,{templates:function(){return p}});var i=n(80294),r=n(20616),o=n(67709),c=n(82749),s=n(18766),a=n(23078);n(58475);var u=n(50911),l=n(2692),p=function(e){function t(){var e;return(0,r._)(this,t),e=(0,i._)(this,t,arguments),(0,c._)(e,"buttons",[{name:"templates",group:"insert"}]),e}return(0,s._)(t,e),(0,o._)(t,[{key:"afterInit",value:function(e){}},{key:"beforeDestruct",value:function(e){}}]),t}((0,a._)(u.Plugin));(0,c._)(p,"requires",["license"]),l.JoditPro.plugins.add("templates",p)}},function(e){return e(e.s=61886)}])});
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
package/es5/polyfills.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
package/esm/config.d.ts CHANGED
@@ -20,6 +20,7 @@ import type { ILayoutKeys } from "./plugins/keyboard/interface";
20
20
  import type { CanPromise } from "jodit/esm/types/index";
21
21
  import type { IUIOption } from "jodit/esm/types/index";
22
22
  import type { IStyleDefinition } from "./plugins/style/interface";
23
+ import type { ITemplateDefinition } from "./plugins/templates/interface";
23
24
  import type { ITranslateProviderFactory } from "./plugins/translate/interface";
24
25
  import type { IGoogleTranslateProviderOptions } from "./plugins/translate/interface";
25
26
  import type { IControlType } from "jodit/esm/types/index";
@@ -198,6 +199,11 @@ interface Config {
198
199
  definitions: IStyleDefinition[];
199
200
  };
200
201
  }
202
+ interface Config {
203
+ contentTemplates: {
204
+ definitions: ITemplateDefinition[];
205
+ };
206
+ }
201
207
  interface Config {
202
208
  todoList: {
203
209
  className: string;
@@ -1 +1 @@
1
- import"jodit/esm/plugins/all.js";import"./paste-from-word/paste-from-word.js";import"./license/license.js";import"./autocomplete/autocomplete.js";import"jodit/esm/plugins/speech-recognize/speech-recognize.js";import"./ai-assistant-pro/ai-assistant-pro.js";import"./backup/backup.js";import"./button-generator/button-generator.js";import"./change-case/change-case.js";import"./color-picker/color-picker.js";import"./emoji/emoji.js";import"./export-docs/export-docs.js";import"./finder/finder.js";import"./google-maps/google-maps.js";import"./google-search/google-search.js";import"./highlight-signature/highlight-signature.js";import"./iframe-editor/iframe-editor.js";import"./keyboard/keyboard.js";import"./mobile-view/mobile-view.js";import"./page-break/page-break.js";import"./paste-code/paste-code.js";import"./show-blocks/show-blocks.js";import"./style/style.js";import"./todo-list/todo-list.js";import"./translate/translate.js";import"./tune-block/tune-block.js";
1
+ import"jodit/esm/plugins/all.js";import"./paste-from-word/paste-from-word.js";import"./license/license.js";import"./autocomplete/autocomplete.js";import"jodit/esm/plugins/speech-recognize/speech-recognize.js";import"./ai-assistant-pro/ai-assistant-pro.js";import"./backup/backup.js";import"./button-generator/button-generator.js";import"./change-case/change-case.js";import"./color-picker/color-picker.js";import"./emoji/emoji.js";import"./export-docs/export-docs.js";import"./finder/finder.js";import"./google-maps/google-maps.js";import"./google-search/google-search.js";import"./highlight-signature/highlight-signature.js";import"./iframe-editor/iframe-editor.js";import"./keyboard/keyboard.js";import"./mobile-view/mobile-view.js";import"./page-break/page-break.js";import"./paste-code/paste-code.js";import"./show-blocks/show-blocks.js";import"./style/style.js";import"./templates/templates.js";import"./todo-list/todo-list.js";import"./translate/translate.js";import"./tune-block/tune-block.js";