jodit-pro 1.3.39 → 2.0.0-beta.10

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 (455) hide show
  1. package/.nvmrc +1 -0
  2. package/CHANGELOG.md +982 -0
  3. package/LICENSE.txt +1 -0
  4. package/README.md +27 -27
  5. package/SECURITY.md +10 -0
  6. package/es2015/jodit.css +4945 -0
  7. package/es2015/jodit.fat.min.css +1 -0
  8. package/es2015/jodit.fat.min.js +10 -0
  9. package/es2015/jodit.js +42706 -0
  10. package/es2015/jodit.min.css +1 -0
  11. package/es2015/jodit.min.js +10 -0
  12. package/es2015/plugins/autocomplete/autocomplete.css +26 -0
  13. package/es2015/plugins/autocomplete/autocomplete.js +473 -0
  14. package/es2015/plugins/autocomplete/autocomplete.min.js +10 -0
  15. package/es2015/plugins/backup/backup.css +48 -0
  16. package/es2015/plugins/backup/backup.js +567 -0
  17. package/{build/plugins/backup/backup.css → es2015/plugins/backup/backup.min.css} +1 -1
  18. package/es2015/plugins/backup/backup.min.js +10 -0
  19. package/es2015/plugins/button-generator/button-generator.css +316 -0
  20. package/es2015/plugins/button-generator/button-generator.js +1363 -0
  21. package/es2015/plugins/button-generator/button-generator.min.css +1 -0
  22. package/es2015/plugins/button-generator/button-generator.min.js +10 -0
  23. package/es2015/plugins/change-case/change-case.js +171 -0
  24. package/es2015/plugins/change-case/change-case.min.js +10 -0
  25. package/es2015/plugins/color-picker/color-picker.css +133 -0
  26. package/es2015/plugins/color-picker/color-picker.js +519 -0
  27. package/es2015/plugins/color-picker/color-picker.min.css +1 -0
  28. package/es2015/plugins/color-picker/color-picker.min.js +10 -0
  29. package/es2015/plugins/emoji/emoji.css +108 -0
  30. package/es2015/plugins/emoji/emoji.js +421 -0
  31. package/es2015/plugins/emoji/emoji.min.css +1 -0
  32. package/es2015/plugins/emoji/emoji.min.js +10 -0
  33. package/es2015/plugins/export-docs/export-docs.js +153 -0
  34. package/es2015/plugins/export-docs/export-docs.min.js +10 -0
  35. package/es2015/plugins/finder/finder.css +1342 -0
  36. package/es2015/plugins/finder/finder.js +3175 -0
  37. package/es2015/plugins/finder/finder.min.css +1 -0
  38. package/es2015/plugins/finder/finder.min.js +10 -0
  39. package/es2015/plugins/google-maps/google-maps.css +397 -0
  40. package/es2015/plugins/google-maps/google-maps.js +2492 -0
  41. package/es2015/plugins/google-maps/google-maps.min.css +1 -0
  42. package/es2015/plugins/google-maps/google-maps.min.js +10 -0
  43. package/es2015/plugins/google-search/google-search.js +108 -0
  44. package/es2015/plugins/google-search/google-search.min.js +10 -0
  45. package/es2015/plugins/highlight-signature/highlight-signature.js +233 -0
  46. package/es2015/plugins/highlight-signature/highlight-signature.min.js +10 -0
  47. package/es2015/plugins/iframe-editor/iframe-editor.css +16 -0
  48. package/es2015/plugins/iframe-editor/iframe-editor.js +310 -0
  49. package/es2015/plugins/iframe-editor/iframe-editor.min.js +10 -0
  50. package/es2015/plugins/keyboard/keyboard.css +48 -0
  51. package/es2015/plugins/keyboard/keyboard.js +539 -0
  52. package/es2015/plugins/keyboard/keyboard.min.js +10 -0
  53. package/es2015/plugins/mobile-view/mobile-view.js +170 -0
  54. package/es2015/plugins/mobile-view/mobile-view.min.js +10 -0
  55. package/es2015/plugins/page-break/page-break.js +181 -0
  56. package/es2015/plugins/page-break/page-break.min.js +10 -0
  57. package/es2015/plugins/paste-code/paste-code.css +21 -0
  58. package/es2015/plugins/paste-code/paste-code.js +320 -0
  59. package/es2015/plugins/paste-code/paste-code.min.js +10 -0
  60. package/es2015/plugins/paste-from-word/paste-from-word.js +1541 -0
  61. package/es2015/plugins/paste-from-word/paste-from-word.min.js +10 -0
  62. package/es2015/plugins/show-blocks/show-blocks.js +645 -0
  63. package/es2015/plugins/show-blocks/show-blocks.min.js +10 -0
  64. package/es2015/plugins/todo-list/todo-list.css +77 -0
  65. package/es2015/plugins/todo-list/todo-list.js +314 -0
  66. package/es2015/plugins/todo-list/todo-list.min.css +1 -0
  67. package/es2015/plugins/todo-list/todo-list.min.js +10 -0
  68. package/es2015/plugins/translate/translate.css +91 -0
  69. package/es2015/plugins/translate/translate.js +630 -0
  70. package/es2015/plugins/translate/translate.min.js +10 -0
  71. package/es2015/plugins/tune-block/tune-block.css +37 -0
  72. package/es2015/plugins/tune-block/tune-block.js +387 -0
  73. package/{build/plugins/tune-block/tune-block.css → es2015/plugins/tune-block/tune-block.min.css} +1 -1
  74. package/es2015/plugins/tune-block/tune-block.min.js +10 -0
  75. package/es2018/jodit.css +4945 -0
  76. package/es2018/jodit.fat.min.css +1 -0
  77. package/es2018/jodit.fat.min.js +10 -0
  78. package/es2018/jodit.js +42762 -0
  79. package/es2018/jodit.min.css +1 -0
  80. package/es2018/jodit.min.js +10 -0
  81. package/es2018/plugins/autocomplete/autocomplete.css +26 -0
  82. package/es2018/plugins/autocomplete/autocomplete.js +471 -0
  83. package/es2018/plugins/autocomplete/autocomplete.min.js +10 -0
  84. package/es2018/plugins/backup/backup.css +48 -0
  85. package/es2018/plugins/backup/backup.js +561 -0
  86. package/{build/plugins/backup/backup.es5.css → es2018/plugins/backup/backup.min.css} +1 -1
  87. package/es2018/plugins/backup/backup.min.js +10 -0
  88. package/es2018/plugins/button-generator/button-generator.css +316 -0
  89. package/es2018/plugins/button-generator/button-generator.js +1387 -0
  90. package/es2018/plugins/button-generator/button-generator.min.css +1 -0
  91. package/es2018/plugins/button-generator/button-generator.min.js +10 -0
  92. package/es2018/plugins/change-case/change-case.js +171 -0
  93. package/es2018/plugins/change-case/change-case.min.js +10 -0
  94. package/es2018/plugins/color-picker/color-picker.css +133 -0
  95. package/es2018/plugins/color-picker/color-picker.js +519 -0
  96. package/es2018/plugins/color-picker/color-picker.min.css +1 -0
  97. package/es2018/plugins/color-picker/color-picker.min.js +10 -0
  98. package/es2018/plugins/emoji/emoji.css +108 -0
  99. package/es2018/plugins/emoji/emoji.js +425 -0
  100. package/es2018/plugins/emoji/emoji.min.css +1 -0
  101. package/es2018/plugins/emoji/emoji.min.js +10 -0
  102. package/es2018/plugins/export-docs/export-docs.js +157 -0
  103. package/es2018/plugins/export-docs/export-docs.min.js +10 -0
  104. package/es2018/plugins/finder/finder.css +1342 -0
  105. package/es2018/plugins/finder/finder.js +3160 -0
  106. package/es2018/plugins/finder/finder.min.css +1 -0
  107. package/es2018/plugins/finder/finder.min.js +10 -0
  108. package/es2018/plugins/google-maps/google-maps.css +397 -0
  109. package/es2018/plugins/google-maps/google-maps.js +2556 -0
  110. package/es2018/plugins/google-maps/google-maps.min.css +1 -0
  111. package/es2018/plugins/google-maps/google-maps.min.js +10 -0
  112. package/es2018/plugins/google-search/google-search.js +108 -0
  113. package/es2018/plugins/google-search/google-search.min.js +10 -0
  114. package/es2018/plugins/highlight-signature/highlight-signature.js +233 -0
  115. package/es2018/plugins/highlight-signature/highlight-signature.min.js +10 -0
  116. package/es2018/plugins/iframe-editor/iframe-editor.css +16 -0
  117. package/es2018/plugins/iframe-editor/iframe-editor.js +310 -0
  118. package/es2018/plugins/iframe-editor/iframe-editor.min.js +10 -0
  119. package/es2018/plugins/keyboard/keyboard.css +48 -0
  120. package/es2018/plugins/keyboard/keyboard.js +539 -0
  121. package/es2018/plugins/keyboard/keyboard.min.js +10 -0
  122. package/es2018/plugins/mobile-view/mobile-view.js +170 -0
  123. package/es2018/plugins/mobile-view/mobile-view.min.js +10 -0
  124. package/es2018/plugins/page-break/page-break.js +181 -0
  125. package/es2018/plugins/page-break/page-break.min.js +10 -0
  126. package/es2018/plugins/paste-code/paste-code.css +21 -0
  127. package/es2018/plugins/paste-code/paste-code.js +318 -0
  128. package/es2018/plugins/paste-code/paste-code.min.js +10 -0
  129. package/es2018/plugins/paste-from-word/paste-from-word.js +1541 -0
  130. package/es2018/plugins/paste-from-word/paste-from-word.min.js +10 -0
  131. package/es2018/plugins/show-blocks/show-blocks.js +645 -0
  132. package/es2018/plugins/show-blocks/show-blocks.min.js +10 -0
  133. package/es2018/plugins/todo-list/todo-list.css +77 -0
  134. package/es2018/plugins/todo-list/todo-list.js +314 -0
  135. package/es2018/plugins/todo-list/todo-list.min.css +1 -0
  136. package/es2018/plugins/todo-list/todo-list.min.js +10 -0
  137. package/es2018/plugins/translate/translate.css +91 -0
  138. package/es2018/plugins/translate/translate.js +639 -0
  139. package/es2018/plugins/translate/translate.min.js +10 -0
  140. package/es2018/plugins/tune-block/tune-block.css +37 -0
  141. package/es2018/plugins/tune-block/tune-block.js +387 -0
  142. package/{build/plugins/tune-block/tune-block.es5.css → es2018/plugins/tune-block/tune-block.min.css} +1 -1
  143. package/es2018/plugins/tune-block/tune-block.min.js +10 -0
  144. package/es2021/jodit.css +4945 -0
  145. package/es2021/jodit.fat.min.css +1 -0
  146. package/es2021/jodit.fat.min.js +10 -0
  147. package/es2021/jodit.js +42643 -0
  148. package/es2021/jodit.min.css +1 -0
  149. package/es2021/jodit.min.js +10 -0
  150. package/es2021/plugins/autocomplete/autocomplete.css +26 -0
  151. package/es2021/plugins/autocomplete/autocomplete.js +463 -0
  152. package/es2021/plugins/autocomplete/autocomplete.min.css +1 -0
  153. package/es2021/plugins/autocomplete/autocomplete.min.js +10 -0
  154. package/es2021/plugins/backup/backup.css +48 -0
  155. package/es2021/plugins/backup/backup.js +554 -0
  156. package/es2021/plugins/backup/backup.min.css +1 -0
  157. package/es2021/plugins/backup/backup.min.js +10 -0
  158. package/es2021/plugins/button-generator/button-generator.css +316 -0
  159. package/es2021/plugins/button-generator/button-generator.js +1382 -0
  160. package/es2021/plugins/button-generator/button-generator.min.css +1 -0
  161. package/es2021/plugins/button-generator/button-generator.min.js +10 -0
  162. package/es2021/plugins/change-case/change-case.js +171 -0
  163. package/es2021/plugins/change-case/change-case.min.js +10 -0
  164. package/es2021/plugins/color-picker/color-picker.css +133 -0
  165. package/es2021/plugins/color-picker/color-picker.js +517 -0
  166. package/es2021/plugins/color-picker/color-picker.min.css +1 -0
  167. package/es2021/plugins/color-picker/color-picker.min.js +10 -0
  168. package/es2021/plugins/emoji/emoji.css +108 -0
  169. package/es2021/plugins/emoji/emoji.js +425 -0
  170. package/es2021/plugins/emoji/emoji.min.css +1 -0
  171. package/es2021/plugins/emoji/emoji.min.js +10 -0
  172. package/es2021/plugins/export-docs/export-docs.js +156 -0
  173. package/es2021/plugins/export-docs/export-docs.min.js +10 -0
  174. package/es2021/plugins/finder/finder.css +1342 -0
  175. package/es2021/plugins/finder/finder.js +3152 -0
  176. package/es2021/plugins/finder/finder.min.css +1 -0
  177. package/es2021/plugins/finder/finder.min.js +10 -0
  178. package/es2021/plugins/google-maps/google-maps.css +397 -0
  179. package/es2021/plugins/google-maps/google-maps.js +2540 -0
  180. package/es2021/plugins/google-maps/google-maps.min.css +1 -0
  181. package/es2021/plugins/google-maps/google-maps.min.js +10 -0
  182. package/es2021/plugins/google-search/google-search.js +107 -0
  183. package/es2021/plugins/google-search/google-search.min.js +10 -0
  184. package/es2021/plugins/highlight-signature/highlight-signature.js +231 -0
  185. package/es2021/plugins/highlight-signature/highlight-signature.min.js +10 -0
  186. package/es2021/plugins/iframe-editor/iframe-editor.css +16 -0
  187. package/es2021/plugins/iframe-editor/iframe-editor.js +308 -0
  188. package/es2021/plugins/iframe-editor/iframe-editor.min.css +1 -0
  189. package/es2021/plugins/iframe-editor/iframe-editor.min.js +10 -0
  190. package/es2021/plugins/keyboard/keyboard.css +48 -0
  191. package/es2021/plugins/keyboard/keyboard.js +537 -0
  192. package/es2021/plugins/keyboard/keyboard.min.css +1 -0
  193. package/es2021/plugins/keyboard/keyboard.min.js +10 -0
  194. package/es2021/plugins/mobile-view/mobile-view.js +168 -0
  195. package/es2021/plugins/mobile-view/mobile-view.min.js +10 -0
  196. package/es2021/plugins/page-break/page-break.js +181 -0
  197. package/es2021/plugins/page-break/page-break.min.js +10 -0
  198. package/es2021/plugins/paste-code/paste-code.css +21 -0
  199. package/es2021/plugins/paste-code/paste-code.js +318 -0
  200. package/es2021/plugins/paste-code/paste-code.min.css +1 -0
  201. package/es2021/plugins/paste-code/paste-code.min.js +10 -0
  202. package/es2021/plugins/paste-from-word/paste-from-word.js +1528 -0
  203. package/es2021/plugins/paste-from-word/paste-from-word.min.js +10 -0
  204. package/es2021/plugins/show-blocks/show-blocks.js +645 -0
  205. package/es2021/plugins/show-blocks/show-blocks.min.js +10 -0
  206. package/es2021/plugins/todo-list/todo-list.css +77 -0
  207. package/es2021/plugins/todo-list/todo-list.js +313 -0
  208. package/es2021/plugins/todo-list/todo-list.min.css +1 -0
  209. package/es2021/plugins/todo-list/todo-list.min.js +10 -0
  210. package/es2021/plugins/translate/translate.css +91 -0
  211. package/es2021/plugins/translate/translate.js +636 -0
  212. package/es2021/plugins/translate/translate.min.css +1 -0
  213. package/es2021/plugins/translate/translate.min.js +10 -0
  214. package/es2021/plugins/tune-block/tune-block.css +37 -0
  215. package/es2021/plugins/tune-block/tune-block.js +385 -0
  216. package/es2021/plugins/tune-block/tune-block.min.css +1 -0
  217. package/es2021/plugins/tune-block/tune-block.min.js +10 -0
  218. package/es2021.en/jodit.css +4945 -0
  219. package/es2021.en/jodit.fat.min.css +1 -0
  220. package/es2021.en/jodit.fat.min.js +10 -0
  221. package/es2021.en/jodit.js +40989 -0
  222. package/es2021.en/jodit.min.css +1 -0
  223. package/es2021.en/jodit.min.js +10 -0
  224. package/es2021.en/plugins/autocomplete/autocomplete.css +26 -0
  225. package/es2021.en/plugins/autocomplete/autocomplete.js +463 -0
  226. package/es2021.en/plugins/autocomplete/autocomplete.min.css +1 -0
  227. package/es2021.en/plugins/autocomplete/autocomplete.min.js +10 -0
  228. package/es2021.en/plugins/backup/backup.css +48 -0
  229. package/es2021.en/plugins/backup/backup.js +554 -0
  230. package/es2021.en/plugins/backup/backup.min.css +1 -0
  231. package/es2021.en/plugins/backup/backup.min.js +10 -0
  232. package/es2021.en/plugins/button-generator/button-generator.css +316 -0
  233. package/es2021.en/plugins/button-generator/button-generator.js +1382 -0
  234. package/es2021.en/plugins/button-generator/button-generator.min.css +1 -0
  235. package/es2021.en/plugins/button-generator/button-generator.min.js +10 -0
  236. package/es2021.en/plugins/change-case/change-case.js +171 -0
  237. package/es2021.en/plugins/change-case/change-case.min.js +10 -0
  238. package/es2021.en/plugins/color-picker/color-picker.css +133 -0
  239. package/es2021.en/plugins/color-picker/color-picker.js +517 -0
  240. package/es2021.en/plugins/color-picker/color-picker.min.css +1 -0
  241. package/es2021.en/plugins/color-picker/color-picker.min.js +10 -0
  242. package/es2021.en/plugins/emoji/emoji.css +108 -0
  243. package/es2021.en/plugins/emoji/emoji.js +425 -0
  244. package/es2021.en/plugins/emoji/emoji.min.css +1 -0
  245. package/es2021.en/plugins/emoji/emoji.min.js +10 -0
  246. package/es2021.en/plugins/export-docs/export-docs.js +156 -0
  247. package/es2021.en/plugins/export-docs/export-docs.min.js +10 -0
  248. package/es2021.en/plugins/finder/finder.css +1342 -0
  249. package/es2021.en/plugins/finder/finder.js +3117 -0
  250. package/es2021.en/plugins/finder/finder.min.css +1 -0
  251. package/es2021.en/plugins/finder/finder.min.js +10 -0
  252. package/es2021.en/plugins/google-maps/google-maps.css +397 -0
  253. package/es2021.en/plugins/google-maps/google-maps.js +2540 -0
  254. package/es2021.en/plugins/google-maps/google-maps.min.css +1 -0
  255. package/es2021.en/plugins/google-maps/google-maps.min.js +10 -0
  256. package/es2021.en/plugins/google-search/google-search.js +107 -0
  257. package/es2021.en/plugins/google-search/google-search.min.js +10 -0
  258. package/es2021.en/plugins/highlight-signature/highlight-signature.js +231 -0
  259. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +10 -0
  260. package/es2021.en/plugins/iframe-editor/iframe-editor.css +16 -0
  261. package/es2021.en/plugins/iframe-editor/iframe-editor.js +308 -0
  262. package/es2021.en/plugins/iframe-editor/iframe-editor.min.css +1 -0
  263. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +10 -0
  264. package/es2021.en/plugins/keyboard/keyboard.css +48 -0
  265. package/es2021.en/plugins/keyboard/keyboard.js +537 -0
  266. package/es2021.en/plugins/keyboard/keyboard.min.css +1 -0
  267. package/es2021.en/plugins/keyboard/keyboard.min.js +10 -0
  268. package/es2021.en/plugins/mobile-view/mobile-view.js +168 -0
  269. package/es2021.en/plugins/mobile-view/mobile-view.min.js +10 -0
  270. package/es2021.en/plugins/page-break/page-break.js +181 -0
  271. package/es2021.en/plugins/page-break/page-break.min.js +10 -0
  272. package/es2021.en/plugins/paste-code/paste-code.css +21 -0
  273. package/es2021.en/plugins/paste-code/paste-code.js +318 -0
  274. package/es2021.en/plugins/paste-code/paste-code.min.css +1 -0
  275. package/es2021.en/plugins/paste-code/paste-code.min.js +10 -0
  276. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1528 -0
  277. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +10 -0
  278. package/es2021.en/plugins/show-blocks/show-blocks.js +322 -0
  279. package/es2021.en/plugins/show-blocks/show-blocks.min.js +10 -0
  280. package/es2021.en/plugins/todo-list/todo-list.css +77 -0
  281. package/es2021.en/plugins/todo-list/todo-list.js +313 -0
  282. package/es2021.en/plugins/todo-list/todo-list.min.css +1 -0
  283. package/es2021.en/plugins/todo-list/todo-list.min.js +10 -0
  284. package/es2021.en/plugins/translate/translate.css +91 -0
  285. package/es2021.en/plugins/translate/translate.js +636 -0
  286. package/es2021.en/plugins/translate/translate.min.css +1 -0
  287. package/es2021.en/plugins/translate/translate.min.js +10 -0
  288. package/es2021.en/plugins/tune-block/tune-block.css +37 -0
  289. package/es2021.en/plugins/tune-block/tune-block.js +385 -0
  290. package/es2021.en/plugins/tune-block/tune-block.min.css +1 -0
  291. package/es2021.en/plugins/tune-block/tune-block.min.js +10 -0
  292. package/es5/jodit.css +5956 -0
  293. package/es5/jodit.fat.min.css +1 -0
  294. package/es5/jodit.fat.min.js +10 -0
  295. package/es5/jodit.js +49879 -0
  296. package/es5/jodit.min.css +15 -0
  297. package/es5/jodit.min.js +10 -0
  298. package/es5/plugins/autocomplete/autocomplete.css +26 -0
  299. package/es5/plugins/autocomplete/autocomplete.js +536 -0
  300. package/es5/plugins/autocomplete/autocomplete.min.css +1 -0
  301. package/es5/plugins/autocomplete/autocomplete.min.js +10 -0
  302. package/es5/plugins/backup/backup.css +48 -0
  303. package/es5/plugins/backup/backup.js +599 -0
  304. package/es5/plugins/backup/backup.min.css +1 -0
  305. package/es5/plugins/backup/backup.min.js +10 -0
  306. package/es5/plugins/button-generator/button-generator.css +316 -0
  307. package/es5/plugins/button-generator/button-generator.js +1310 -0
  308. package/es5/plugins/button-generator/button-generator.min.css +1 -0
  309. package/es5/plugins/button-generator/button-generator.min.js +10 -0
  310. package/es5/plugins/change-case/change-case.js +179 -0
  311. package/es5/plugins/change-case/change-case.min.js +10 -0
  312. package/es5/plugins/color-picker/color-picker.css +133 -0
  313. package/es5/plugins/color-picker/color-picker.js +525 -0
  314. package/es5/plugins/color-picker/color-picker.min.css +1 -0
  315. package/es5/plugins/color-picker/color-picker.min.js +10 -0
  316. package/es5/plugins/emoji/emoji.css +108 -0
  317. package/es5/plugins/emoji/emoji.js +459 -0
  318. package/es5/plugins/emoji/emoji.min.css +1 -0
  319. package/es5/plugins/emoji/emoji.min.js +10 -0
  320. package/es5/plugins/export-docs/export-docs.js +174 -0
  321. package/es5/plugins/export-docs/export-docs.min.js +10 -0
  322. package/es5/plugins/finder/finder.css +1342 -0
  323. package/es5/plugins/finder/finder.js +3335 -0
  324. package/es5/plugins/finder/finder.min.css +1 -0
  325. package/es5/plugins/finder/finder.min.js +10 -0
  326. package/es5/plugins/google-maps/google-maps.css +397 -0
  327. package/es5/plugins/google-maps/google-maps.js +2463 -0
  328. package/es5/plugins/google-maps/google-maps.min.css +1 -0
  329. package/es5/plugins/google-maps/google-maps.min.js +10 -0
  330. package/es5/plugins/google-search/google-search.js +113 -0
  331. package/es5/plugins/google-search/google-search.min.js +10 -0
  332. package/es5/plugins/highlight-signature/highlight-signature.js +253 -0
  333. package/es5/plugins/highlight-signature/highlight-signature.min.js +10 -0
  334. package/es5/plugins/iframe-editor/iframe-editor.css +16 -0
  335. package/es5/plugins/iframe-editor/iframe-editor.js +319 -0
  336. package/es5/plugins/iframe-editor/iframe-editor.min.css +1 -0
  337. package/es5/plugins/iframe-editor/iframe-editor.min.js +10 -0
  338. package/es5/plugins/keyboard/keyboard.css +48 -0
  339. package/es5/plugins/keyboard/keyboard.js +556 -0
  340. package/es5/plugins/keyboard/keyboard.min.css +1 -0
  341. package/es5/plugins/keyboard/keyboard.min.js +10 -0
  342. package/es5/plugins/mobile-view/mobile-view.js +176 -0
  343. package/es5/plugins/mobile-view/mobile-view.min.js +10 -0
  344. package/es5/plugins/page-break/page-break.js +169 -0
  345. package/es5/plugins/page-break/page-break.min.js +10 -0
  346. package/es5/plugins/paste-code/paste-code.css +21 -0
  347. package/es5/plugins/paste-code/paste-code.js +348 -0
  348. package/es5/plugins/paste-code/paste-code.min.css +1 -0
  349. package/es5/plugins/paste-code/paste-code.min.js +10 -0
  350. package/es5/plugins/paste-from-word/paste-from-word.js +1670 -0
  351. package/es5/plugins/paste-from-word/paste-from-word.min.js +10 -0
  352. package/es5/plugins/show-blocks/show-blocks.js +649 -0
  353. package/es5/plugins/show-blocks/show-blocks.min.js +10 -0
  354. package/es5/plugins/todo-list/todo-list.css +77 -0
  355. package/es5/plugins/todo-list/todo-list.js +324 -0
  356. package/es5/plugins/todo-list/todo-list.min.css +1 -0
  357. package/es5/plugins/todo-list/todo-list.min.js +10 -0
  358. package/es5/plugins/translate/translate.css +91 -0
  359. package/es5/plugins/translate/translate.js +657 -0
  360. package/es5/plugins/translate/translate.min.css +1 -0
  361. package/es5/plugins/translate/translate.min.js +10 -0
  362. package/es5/plugins/tune-block/tune-block.css +37 -0
  363. package/es5/plugins/tune-block/tune-block.js +397 -0
  364. package/es5/plugins/tune-block/tune-block.min.css +1 -0
  365. package/es5/plugins/tune-block/tune-block.min.js +10 -0
  366. package/examples/arabic.lang.html +8 -8
  367. package/examples/color-picker.html +6 -6
  368. package/examples/custom-icons.html +8 -8
  369. package/examples/custom-toolbar.html +8 -8
  370. package/examples/example.default.html +6 -6
  371. package/examples/fullsize.html +8 -8
  372. package/examples/index.html +6 -6
  373. package/examples/inline-mode.html +8 -8
  374. package/examples/oneinstance.html +8 -8
  375. package/examples/theme.html +6 -6
  376. package/package.json +6 -22
  377. package/LICENSE.md +0 -3
  378. package/build/jodit.css +0 -1
  379. package/build/jodit.es5.css +0 -8
  380. package/build/jodit.es5.js +0 -1
  381. package/build/jodit.fat.css +0 -1
  382. package/build/jodit.fat.es5.css +0 -1
  383. package/build/jodit.fat.es5.js +0 -1
  384. package/build/jodit.fat.js +0 -1
  385. package/build/jodit.js +0 -1
  386. package/build/plugins/autocomplete/autocomplete.es5.js +0 -1
  387. package/build/plugins/autocomplete/autocomplete.js +0 -1
  388. package/build/plugins/backup/backup.es5.js +0 -1
  389. package/build/plugins/backup/backup.js +0 -1
  390. package/build/plugins/button-generator/button-generator.css +0 -1
  391. package/build/plugins/button-generator/button-generator.es5.css +0 -1
  392. package/build/plugins/button-generator/button-generator.es5.js +0 -1
  393. package/build/plugins/button-generator/button-generator.js +0 -1
  394. package/build/plugins/change-case/change-case.es5.js +0 -1
  395. package/build/plugins/change-case/change-case.js +0 -1
  396. package/build/plugins/color-picker/color-picker.css +0 -1
  397. package/build/plugins/color-picker/color-picker.es5.css +0 -1
  398. package/build/plugins/color-picker/color-picker.es5.js +0 -1
  399. package/build/plugins/color-picker/color-picker.js +0 -1
  400. package/build/plugins/emoji/emoji.css +0 -1
  401. package/build/plugins/emoji/emoji.es5.css +0 -1
  402. package/build/plugins/emoji/emoji.es5.js +0 -1
  403. package/build/plugins/emoji/emoji.js +0 -1
  404. package/build/plugins/export-docs/export-docs.es5.js +0 -1
  405. package/build/plugins/export-docs/export-docs.js +0 -1
  406. package/build/plugins/finder/finder.css +0 -1
  407. package/build/plugins/finder/finder.es5.css +0 -1
  408. package/build/plugins/finder/finder.es5.js +0 -1
  409. package/build/plugins/finder/finder.js +0 -1
  410. package/build/plugins/google-maps/google-maps.css +0 -1
  411. package/build/plugins/google-maps/google-maps.es5.css +0 -1
  412. package/build/plugins/google-maps/google-maps.es5.js +0 -1
  413. package/build/plugins/google-maps/google-maps.js +0 -1
  414. package/build/plugins/google-search/google-search.es5.js +0 -1
  415. package/build/plugins/google-search/google-search.js +0 -1
  416. package/build/plugins/highlight-signature/highlight-signature.es5.js +0 -1
  417. package/build/plugins/highlight-signature/highlight-signature.js +0 -1
  418. package/build/plugins/iframe-editor/iframe-editor.es5.js +0 -1
  419. package/build/plugins/iframe-editor/iframe-editor.js +0 -1
  420. package/build/plugins/keyboard/keyboard.es5.js +0 -1
  421. package/build/plugins/keyboard/keyboard.js +0 -1
  422. package/build/plugins/mobile-view/mobile-view.css +0 -0
  423. package/build/plugins/mobile-view/mobile-view.es5.css +0 -0
  424. package/build/plugins/mobile-view/mobile-view.es5.js +0 -1
  425. package/build/plugins/mobile-view/mobile-view.js +0 -1
  426. package/build/plugins/page-break/page-break.css +0 -1
  427. package/build/plugins/page-break/page-break.es5.css +0 -1
  428. package/build/plugins/page-break/page-break.es5.js +0 -1
  429. package/build/plugins/page-break/page-break.js +0 -1
  430. package/build/plugins/paste-code/paste-code.es5.js +0 -1
  431. package/build/plugins/paste-code/paste-code.js +0 -1
  432. package/build/plugins/paste-from-word/paste-from-word.es5.js +0 -1
  433. package/build/plugins/paste-from-word/paste-from-word.js +0 -1
  434. package/build/plugins/show-blocks/show-blocks.es5.js +0 -1
  435. package/build/plugins/show-blocks/show-blocks.js +0 -1
  436. package/build/plugins/todo-list/todo-list.css +0 -1
  437. package/build/plugins/todo-list/todo-list.es5.css +0 -1
  438. package/build/plugins/todo-list/todo-list.es5.js +0 -1
  439. package/build/plugins/todo-list/todo-list.js +0 -1
  440. package/build/plugins/translate/translate.es5.js +0 -1
  441. package/build/plugins/translate/translate.js +0 -1
  442. package/build/plugins/tune-block/tune-block.es5.js +0 -1
  443. package/build/plugins/tune-block/tune-block.js +0 -1
  444. package/index.html +0 -268
  445. /package/{build/config.js → config.js} +0 -0
  446. /package/{build/plugins/autocomplete/autocomplete.css → es2015/plugins/autocomplete/autocomplete.min.css} +0 -0
  447. /package/{build/plugins/iframe-editor/iframe-editor.css → es2015/plugins/iframe-editor/iframe-editor.min.css} +0 -0
  448. /package/{build/plugins/keyboard/keyboard.css → es2015/plugins/keyboard/keyboard.min.css} +0 -0
  449. /package/{build/plugins/paste-code/paste-code.css → es2015/plugins/paste-code/paste-code.min.css} +0 -0
  450. /package/{build/plugins/translate/translate.css → es2015/plugins/translate/translate.min.css} +0 -0
  451. /package/{build/plugins/autocomplete/autocomplete.es5.css → es2018/plugins/autocomplete/autocomplete.min.css} +0 -0
  452. /package/{build/plugins/iframe-editor/iframe-editor.es5.css → es2018/plugins/iframe-editor/iframe-editor.min.css} +0 -0
  453. /package/{build/plugins/keyboard/keyboard.es5.css → es2018/plugins/keyboard/keyboard.min.css} +0 -0
  454. /package/{build/plugins/paste-code/paste-code.es5.css → es2018/plugins/paste-code/paste-code.min.css} +0 -0
  455. /package/{build/plugins/translate/translate.es5.css → es2018/plugins/translate/translate.min.css} +0 -0
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v2.0.0-beta.10
5
+ * Url: https://xdsoft.net/jodit/pro/
6
+ * License(s): SEE LICENSE IN LICENSE.md
7
+ */
8
+
9
+
10
+ "use strict";((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[92],{12750(t,e,r){r.d(e,{C(){return s}});const n={"text-justify":["inter-ideograph"]};function s(t){return t.isElement&&t.attributes.style&&Object.keys(n).forEach((e=>{const r=n[e];t.style.has(e)&&r.includes(""+t.style.get(e))&&t.style.set(e,null)})),t}},76995(t,e,r){r.d(e,{i(){return s}});const n=["cellspacing","cellpadding","border","v:shapes","o:spid"];function s(t){if(/^OLE_LINK\d+$/.test(t.attributes.name)&&(t.attributes.name=null,0===t.length))return t.remove(),null;"_GoBack"===t.attributes.name&&(t.attributes.name=null);for(const e of n)t.attributes[e]&&(t.attributes[e]=null);return t}},53614(t,e,r){r.d(e,{a(){return s}});var n=r(73076);const s=t=>(t.attributes.class&&(t.attributes.class=t.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,n.f)(t.attributes.class)||(t.attributes.class=null)),t)},50353(t,e,r){r.d(e,{b(){return s}});var n=r(18352);const s=(t,{jodit:e})=>{if(!e.o.pasteFromWord.convertUnitsToPixel)return t;const{style:r}=t;return r.forEach((t=>{const e=r.get(t);e&&r.set(t,(""+e).replace(/\d+(\.\d+)?(pt|cm)/g,(t=>(0,n.Lp)(t)+"px")))})),t}},45054(t,e,r){r.d(e,{S(){return o}});var n=r(18352),s=r(93310),i=r(11612),a=r(19438);function o(t){if((0,s.Hh)(t)){t.name="li",t.style.set("text-indent",null);const e=l(t),r=/[\da-np-zA-NP-Z].?/.test(e)?"ol":"ul",i=((t,e)=>{for(const e in a.Y1)if(RegExp(e).test(t))return a.Y1[e];return"ol"===e?"decimal":"disc"})(e,r);t.attributes[a.YJ]=r,t.attributes[a.Jf]=i,(0,n.rd)(t),(t=>{for(;t;){const e=t.previousElement;if(!(0,s.Be)(e)&&!(0,s.nq)(e))break;if((0,s.Be)(e)){if(e.attributes[a.Ki]>t.attributes[a.Ki])break;if(t.attributes[a.Ki]===e.attributes[a.Ki]&&t.parent&&(0,s.Y4)(t,t.parent))break;e.append(t);continue}const r=e;if(r.attributes[a.Ki]>t.attributes[a.Ki])break;if(t.attributes[a.Ki]===r.attributes[a.Ki]&&!(0,s.Y4)(t,r))break;r.append(t)}})(t);const{parent:o}=t;if(!(0,s.nq)(o)||!(0,s.Y4)(t,o)){const l=((t,e,r,i)=>{const o=t.wrap(e);return o.attributes.start=(0,n.Sg)(r),o.attributes[a.Ki]=t.attributes[a.Ki],o.attributes[a.Jf]=t.attributes[a.Jf],o.attributes[a.m3]=t.attributes[a.Jf],o.style.set(a.zQ,i),(t=>{!(0,s.nq)(t)||"li"===t.parent?.name||"disc"!==t.style.get(a.zQ)&&"decimal"!==t.style.get(a.zQ)||t.style.set(a.zQ,null)})(o),o})(t,r,e,i);return(0,s.nq)(o)&&(l.remove(),o.lastElement?.append(l)),t}}return t}const l=t=>t.textBetween((t=>t.isComment&&/\[if.*supportLists.*]/.test((0,s.dy)(t))),(t=>t.isComment&&/\[endif]/.test((0,s.dy)(t)))).replace(/&nbsp;/g,"").replace((0,i.SPACE_REG_EXP)(),"")},44669(t,e,r){r.d(e,{c(){return g}});var n=r(45054),s=r(76995),i=r(76148),a=r(38450),o=r(33135),l=r(50353),u=r(53614),c=r(62094),d=r(83432),p=r(38933),f=r(50374),h=r(38535),m=r(12750);const g=[h.F,f.a,i.p,a.G,s.i,n.S,c.z,o.m,l.b,u.a,d.r,p.Y,m.C]},50374(t,e,r){r.d(e,{a(){return n}});const n=t=>((t.isElement&&"always"===t.style.get("page-break-before")||"page"===t.style.get("break-before"))&&(t.attributes["jd-safe"]=!0,t.style.add("page-break-before","always"),t.isSingle&&(t.name="div")),t)},83432(t,e,r){r.d(e,{r(){return n}});const n=t=>t.isElement?("img"===t.name&&(t.attributes.align&&(t.style.add("float",t.attributes.align),t.attributes.align=null),t.attributes.hspace&&(t.style.add("marginLeft",t.attributes.hspace+"px"),t.style.add("marginRight",t.attributes.hspace+"px"),t.attributes.hspace=null)),t):t},38535(t,e,r){r.d(e,{F(){return s}});var n=r(95582);const s=(t,e)=>{if(e.rtf&&"#comment"===t.name&&t.attributes.nodeValue&&-1!==t.attributes.nodeValue.indexOf("<v:shape")){e.shapes||(e.shapes={});const r=e.jodit.create.fromHTML(t.attributes.nodeValue);return(0,n.toArray)(r.getElementsByTagName("v:shape")).forEach((t=>{e.shapes[t.id]=t.getAttribute("o:spid")})),t}if("img"!==t.name)return t;if(e.rtf&&t.attributes["v:shapes"]){const r=e.shapes?.[t.attributes["v:shapes"]];if(r){const n=e.imageMap??{};e.imageMap||(e.imageMap=n,i(e.rtf,"i","\\shppict",e.imageMap),i(e.rtf,"s","\\shp{",e.imageMap));const s=n[r.substring(7)];if(s){const e=[],r=s.hex.match(/[0-9a-f]{2}/gi);if(r){for(let t=0;r.length>t;t++)e.push(String.fromCharCode(parseInt(r[t],16)));t.attributes.src="data:"+s.type+";base64,"+btoa(e.join(""))}}}}return t};function i(t,e,r,n){const s=t.split(r);for(const t of s){const r=t.split("shplid");if(r.length>1){const t=r[1];let s="";for(let e=0;t.length>e&&!/[{ \r\n\\]/.test(t[e]);e++)s+=t[e];const i=t.split("bliptag");if(i&&2>i.length)continue;let a=null;if(i[0].indexOf("pngblip")?a="image/png":-1!==i[0].indexOf("jpegblip")&&(a="image/jpeg"),!a)continue;const o=i[1].split("}");if(o&&2>o.length)continue;let l;if(o.length>2&&o[0].includes("blipuid"))l=o[1].split(" ");else{if(l=o[0].split(" "),l&&2>l.length)continue;l.shift()}n[e+s]={hex:l.join(""),type:a}}}}},62094(t,e,r){r.d(e,{z(){return n}});const n=(t,e)=>{const r=e.links??{};if(t.attributes.href&&t.attributes.href.match(/#.+$/)&&(r[t.attributes.href.match(/#(.+)$/)[1]]=t),t.attributes.name&&r[t.attributes.name]){const e=r[t.attributes.name];e.attributes.href=e.attributes.href.replace(/.*#(.*)$/,"#$1")}return e.links=r,t}},76148(t,e,r){r.d(e,{p(){return s}});const n=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function s(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||n.has(t.name)?(t.remove(),null):t}},33135(t,e,r){r.d(e,{m(){return i}});var n=r(93310);let s=0;function i(t){return t.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,n.dy)(t))&&(s++,t.remove()),t.isComment&&s>0&&(0,n.dy)(t).includes("[endif]")&&(s=s>0?s-1:0,t.remove()),s&&(t.isText||"img"===t.name&&(!t.attributes.src||/^file:/.test(t.attributes.src)))?(t.remove(),null):t}},38450(t,e,r){r.d(e,{G(){return s}});const n={i:"em",b:"strong"};function s(t){const{name:e}=t;return e in n&&(t.name=n[e]),t}},38933(t,e,r){r.d(e,{Y(){return n}});const n=t=>(!t.attributes.width||"th"!==t.name&&"td"!==t.name||(t.attributes.width=null),t)},48077(t,e,r){r(77628).Config.prototype.pasteFromWord={enable:!1,convertUnitsToPixel:!1,allowedStyleProps:["background","background-color","border","border-.*","color","float","font-family","font-size","font-style","font-weight","height","line-height","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","padding","text-align","text-justify","text-decoration","text-indent","vertical-align","width"]}},19438(t,e,r){r.d(e,{Jf(){return i},Ki(){return n},Y1(){return l},YJ(){return s},m3(){return a},zQ(){return o}});const n="jd-list-level",s="jd-list-type",i="jd-list-style-type",a="data-list-style-type",o="list-style-type",l={"·":"disc",o:"circle","§":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},69111(t,e,r){r.d(e,{Be(){return a},Hh(){return o},Y4(){return l},nq(){return i}});var n=r(12787),s=r(19438);function i(t){return!(!t||"ol"!==t.name&&"ul"!==t.name)}function a(t){return!(!t||"li"!==t.name)}function o(t){return"li"!==t.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(t.attributes.style)||/msolistparagraph/i.test(t.attributes.class)&&!!t.find((t=>t.isComment&&(0,n.d)(t).includes("supportLists"))).length}function l(t,e){return!(e.name!==t.attributes[s.YJ]||e.attributes[s.Jf]!==t.attributes[s.Jf]||t.attributes[s.Ki]!==e.attributes[s.Ki])}},84300(t,e,r){r.d(e,{n(){return l}});var n=r(8138),s=r(11612),i=(r(95582),r(12787)),a=r(12481);const o=new Set(s.INSEPARABLE_TAGS);class l{get isText(){return this.type===Node.TEXT_NODE}get isElement(){return this.type===Node.ELEMENT_NODE}get isComment(){return this.type===Node.COMMENT_NODE}get isSingle(){return o.has(this.name)}get length(){return this.children.length}constructor(t,e){this.parent=e,this.name=t.nodeName.toLowerCase(),this.type=t.nodeType,this.attributes=(t=>{const e={};if(n.i.isElement(t))for(let r=0,n=t.attributes;n.length>r;r+=1)e[n[r].name]=n[r].value;else e.nodeValue=t.nodeValue;return e})(t),this.style=new a.b(this.attributes.style),this.children=[],t.childNodes.forEach((t=>this.children.push(l.make(t,this))))}static make(t,e=null){return new l(t,e)}wrap(t){const e=l.make(document.createElement(t),this.parent),r=this.parent.children.indexOf(this)??-1;return-1===r?this.parent.append(e):this.parent.children[r]=e,e.append(this),e}append(t){return t.remove(),this.children.push(t),t.parent=this,this}get previousElement(){if(!this.parent)return null;const{children:t}=this.parent,e=t.indexOf(this);if(-1!==e)for(let r=e-1;r>=0;r-=1)if(t[r].isElement)return t[r];return null}get lastElement(){const{children:t}=this;for(let e=t.length-1;e>=0;e-=1)if(t[e].isElement)return t[e];return null}get previous(){return this.sibling(!1)??this.parent?.previous??null}get next(){return this.sibling(!0)??this.parent?.next??null}sibling(t){if(!this.parent)return null;const{children:e}=this.parent,r=e.indexOf(this);return-1!==r&&e[r+(t?1:-1)]?e[r+(t?1:-1)]:null}forEach(t,e=!1){const r=[...this.children];for(const n of r){if(!1===t(n))return!1;if(e&&!1===n.forEach(t,!0))return!1}}find(t,e=!0){const r=[];return this.forEach((e=>{t(e)&&r.push(e)}),e),r}map(t){return this.children.map(t)}remove(){const t=this.parent?.children.indexOf(this);return null!=t&&-1!==t&&this.parent?.children.splice(t,1),this}textBetween(t,e){let r=!1;const n=[];return this.forEach((s=>{if(!r&&t(s)&&(r=!0),r&&s.isText&&n.push((0,i.d)(s)),r&&e(s))return!1}),!0),n.join("")}}},93310(t,e,r){r.d(e,{Be(){return n.Be},C7(){return i.C},Hh(){return n.Hh},Y4(){return n.Y4},dy(){return i.d},nK(){return s.n},nq(){return n.nq}});var n=r(69111),s=r(84300),i=r(12787)},12787(t,e,r){r.d(e,{C(){return l},d(){return a}});var n=r(11612),s=r(46232),i=r(73076);function a(t,e=(()=>!0),r=!0,s){switch(!0){case t.isComment:case t.isText:{if(!e(t))return"";const{nodeValue:r}=t.attributes;return t.isComment?`\x3c!--${r}--\x3e`:r}case t.isElement:{const{attributes:n}=t,i=l(t,e,r,s);if(!t.attributes["jd-safe"]&&r&&0===i.replace(/[\n\t]/g,"").length&&!t.isSingle)return"";const a=Object.keys(n).map((t=>"style"===t||null==n[t]||/^jd-/.test(t)?"":`${t}="${u(n[t])}"`)).filter(Boolean),{str:c}=t.style,d=u(c((t=>o(t,s))));if(d&&a.push(`style="${d}"`),r&&0===a.length&&["span","a"].includes(t.name))return i;const p=a.length?" "+a.join(" "):"";return e(t)?t.isSingle?`<${t.name}${p}/>`:`<${t.name}${p}>${i}</${t.name}>`:i}default:if(!n.IS_PROD)throw Error("Need implementation for this type")}return""}function o(t,e){if(!e)return!0;if(o.cache.has(e)){const r=o.cache.get(e)?.get(t);if((0,s.j)(r))return r}const r=e.some((e=>RegExp(e).test(t))),n=o.cache.get(e)||new Map;return n.set(t,r),o.cache.set(e,n),r}function l(t,e=(()=>!0),r=!0,n){let s=t.map((t=>a(t,e,r,n))).join("");return"p"===t.name&&0===(0,i.f)(s).length&&(s="&nbsp;"),s}function u(t){return(""+t).replace(/"/g,"&quot;")}o.cache=new WeakMap},12481(t,e,r){r.d(e,{b(){return o}});var n=r(97582),s=r(95582),i=r(50526),a=r(18352);let o=class t{constructor(t){this._data=l(t)}get keys(){return Object.keys(this._data)}forEach(t){this.keys.forEach((e=>t(e)))}clear(){this._data={}}set(t,e){this._data[t]=e}get(t){return this._data[t]??null}has(t){return void 0!==this._data[t]}add(t,e){return this._data=l(this.str()+";"+`${t}:${e}`),this}str(t=(t=>!0)){const e=Object.keys(this._data).filter((e=>e&&!/^mso-/.test(e)&&t(e)&&null!=this.get(e))),r=t=>(0,s.isString)(t)?/^0[a-z]+$/i.test(t)?"0":t:""+t;return["padding","margin"].forEach((t=>{if(this._data[t]){const n=e.indexOf(t),s=(0,a.Wb)(this._data[t]);["top","right","bottom","left"].forEach(((i,a)=>{const o=`${t}-${i}`,l=this._data[o];null==l||e.indexOf(o)>=n&&r(s[a])!==r(l)||-1!==e.indexOf(o)&&e.splice(e.indexOf(o),1)}))}})),e.length?e.map((t=>`${(0,s.kebabCase)(t)}:${this.get(t)}`)).join(";"):""}};function l(t){return(t=>{const e={},r=[];for(let n=t.length-1;n>=0;n-=1){const s=t[n][0];e[s]||(e[s]=!0,r.unshift(t[n]))}return r})((t??"").replace(/&quot;/g,'"').split(";").filter(Boolean).map((t=>(0,s.trim)(t).split(":").map(s.trim)))).reduce(((t,[e,r])=>(e&&r&&(t[e]=r),t)),{})}o=(0,n.gn)([i.autobind],o)},12049(t,e,r){r.d(e,{x(){return o}});var n=r(95582),s=r(44913),i=r(79374),a=r(93310);function o(t,e,r,o=""){const l=document.createElement("iframe");l.style.display="none",document.body.appendChild(l);try{const s=l.contentDocument??l.contentWindow?.document;if(!s)return e;s.open(),s.write(e),s.close();const u="jd-style";for(let t=0;s.styleSheets.length>t;t+=1)try{const e=s.styleSheets[t].cssRules;for(let t=0;e.length>t;t+=1)e[t].selectorText&&(0,n.$$)(e[t].selectorText,s.body).forEach((r=>{(0,n.attr)(r,u)||((0,n.attr)(r,u,(0,n.attr)(r,"style")||""),(0,n.attr)(r,"style","")),(0,n.attr)(r,"style",`${(0,n.attr)(r,"style")};${e[t].style.cssText}`)}))}catch(t){}return(0,n.$$)(`[${u}]`,s.body).forEach((t=>{(0,n.attr)(t,"style",`${(0,n.attr)(t,"style")};${(0,n.attr)(t,u)}`)})),(0,i.W)(t,a.nK.make(s.body),r,o)}finally{s.i.safeRemove(l)}return e}},45394(t,e,r){r.d(e,{r(){return a}});var n=r(93310),s=r(19438),i=r(81723);function a(t){if(void 0!==t.attributes[s.Ki])return;const e=[(0,i.D4)(t)],r=[t];let a=t.next;for(;a;){if(a.isElement&&!a.attributes[s.Ki]&&(0,n.Hh)(a)){const t=(0,i.D4)(a);t&&(e.push(t),r.push(a))}a=a.next}const o=Math.min(...e.filter((t=>t>0)));let l=e.map((t=>Math.ceil(t/10)));-1!==l.indexOf(0)&&(l=l.map((t=>t+1))),r.forEach(((t,e)=>{t.attributes[s.Ki]=l[e],t.style.add("margin-left",Math.max((0,i.D4)(t)-10*l[e]/o*40,0)+"px")}))}},81723(t,e,r){function n(t){if(!t)return[0,0,0,0];const e=t.match(/(0|auto|(-?[.\d]+(?:\w+|%)))/g)||["0px"];switch(e.length){case 2:return[0,1,0,1].map((t=>e[t]));case 3:return[0,1,2,1].map((t=>e[t]));case 4:return[0,1,2,3].map((t=>e[t]));default:return[0,0,0,0].map((t=>e[t]))}}let s;function i(t){if("number"==typeof t)return t;if(/%$/.test(t))return 0;s||(s=document.createElement("div"),Object.assign(s.style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(s),setTimeout((()=>{s?.remove(),s=null})));const e=0>parseFloat(t);e&&(t=t.replace("-","")),s.style.width=t;const r=s.clientWidth;return e?-r:r}function a(t){const{style:e}=t;let r=[0,0,0,0];const s=e.keys.filter((t=>/margin/.test(t))),a=Math.max(s.indexOf("margin-left"),s.indexOf("margin")),o=a>0?s[a]:"margin-left";let l;return"margin"===o?(r=n(e.get("margin")),l=r[3]||0):l=e.get(o)||0,i(l)}function o(t){return/\d.\d/.test(t)?t.split(".").pop()||null:/^\d/.test(t)?""+(parseInt(t,10)||1):null}r.d(e,{D4(){return a},Lp(){return i},Sg(){return o},Wb(){return n}})},18352(t,e,r){r.d(e,{Lp(){return n.Lp},Sg(){return n.Sg},Wb(){return n.Wb},rd(){return i.r},xk(){return s.x}});var n=r(81723),s=r(12049),i=(r(79374),r(45394))},79374(t,e,r){r.d(e,{W(){return a}});var n=r(44669),s=r(73076),i=r(93310);function a(t,e,r,a){const o={jodit:t,rtf:a};return e.forEach((function t(e){if(e){for(const t of n.c)if(null==(e=t(e,o)))break;e?.forEach(t)}})),r&&e.forEach((t=>{t.style.clear()}),!0),(0,s.f)((0,i.C7)(e,(t=>!t.isComment),!0,t.o.pasteFromWord.allowedStyleProps))}},70322(t,e,r){r.r(e),r.d(e,{PasteFromWordPro(){return u}});var n=r(88292),s=r(11612),i=r(4682),a=r(79501),o=r(18352),l=(r(48077),r(54625));class u extends a.L{insertFromWordByType(t,e,r,n){if(!this.j.o.pasteFromWord.enable||r!==s.INSERT_AS_HTML&&r!==s.INSERT_AS_TEXT)return super.insertFromWordByType(t,e,r,n);if(e=(0,o.xk)(this.j,e,r===s.INSERT_AS_TEXT,n.rtf),this.j.o.beautifyHTML){const t=this.j.events?.fire("beautifyHTML",e);(0,i.H)(t)&&(e=t)}(0,l.kU)(t,this.j,e)}}u.requires=["license"],n.y.plugins.remove("pasteFromWord"),n.y.plugins.add("pasteFromWordPro",u)}},t=>t(t.s=70322)])}));
@@ -0,0 +1,645 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v2.0.0-beta.10
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([[876],{
20
+
21
+ /***/ 23530:
22
+ /***/ (function(module) {
23
+
24
+ module.exports = "<svg viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"> <g> <rect rx=\"10\" height=\"1620\" width=\"1620\" y=\"79.646973\" x=\"80\" stroke-width=\"100\" stroke-dasharray=\"8% 10%\" fill=\"none\"/> <path d=\"m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z\"/> </g> </svg>"
25
+
26
+ /***/ }),
27
+
28
+ /***/ 56766:
29
+ /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
30
+
31
+ "use strict";
32
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
33
+ /*!
34
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
35
+ * See LICENSE.md in the project root for license information.
36
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
37
+ */
38
+
39
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.showBlocks = {
40
+ enable: false,
41
+ color: '#ccc',
42
+ tagList: [
43
+ 'html',
44
+ 'body',
45
+ 'div',
46
+ 'span',
47
+ 'applet',
48
+ 'object',
49
+ 'iframe',
50
+ 'h1',
51
+ 'h2',
52
+ 'h3',
53
+ 'h4',
54
+ 'h5',
55
+ 'h6',
56
+ 'p',
57
+ 'blockquote',
58
+ 'pre',
59
+ 'a',
60
+ 'abbr',
61
+ 'acronym',
62
+ 'address',
63
+ 'big',
64
+ 'cite',
65
+ 'code',
66
+ 'del',
67
+ 'dfn',
68
+ 'em',
69
+ 'img',
70
+ 'ins',
71
+ 'kbd',
72
+ 'q',
73
+ 's',
74
+ 'samp',
75
+ 'small',
76
+ 'strike',
77
+ 'strong',
78
+ 'sub',
79
+ 'sup',
80
+ 'tt',
81
+ 'var',
82
+ 'b',
83
+ 'u',
84
+ 'i',
85
+ 'center',
86
+ 'dl',
87
+ 'dt',
88
+ 'dd',
89
+ 'fieldset',
90
+ 'form',
91
+ 'label',
92
+ 'legend',
93
+ 'caption',
94
+ 'th',
95
+ 'td',
96
+ 'li',
97
+ 'ol',
98
+ 'ul',
99
+ 'article',
100
+ 'aside',
101
+ 'canvas',
102
+ 'details',
103
+ 'embed',
104
+ 'figure',
105
+ 'figcaption',
106
+ 'footer',
107
+ 'header',
108
+ 'hgroup',
109
+ 'menu',
110
+ 'nav',
111
+ 'output',
112
+ 'ruby',
113
+ 'section',
114
+ 'summary',
115
+ 'time',
116
+ 'mark',
117
+ 'audio',
118
+ 'video'
119
+ ]
120
+ };
121
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.showBlocks = {
122
+ isActive(editor) {
123
+ return Boolean(editor.e.fire('showBlocksEnabled'));
124
+ },
125
+ tooltip: 'Show Blocks',
126
+ command: 'toggleShowBlocks'
127
+ };
128
+
129
+
130
+ /***/ }),
131
+
132
+ /***/ 33548:
133
+ /***/ (function(module) {
134
+
135
+ "use strict";
136
+
137
+ /*!
138
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
139
+ * See LICENSE.md in the project root for license information.
140
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
141
+ */
142
+ module.exports = {
143
+ 'Show Blocks': 'تظهر كتل'
144
+ };
145
+
146
+
147
+ /***/ }),
148
+
149
+ /***/ 6974:
150
+ /***/ (function(module) {
151
+
152
+ "use strict";
153
+
154
+ /*!
155
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
156
+ * See LICENSE.md in the project root for license information.
157
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
158
+ */
159
+ module.exports = {
160
+ 'Show Blocks': 'Ukázat Bloky'
161
+ };
162
+
163
+
164
+ /***/ }),
165
+
166
+ /***/ 24274:
167
+ /***/ (function(module) {
168
+
169
+ "use strict";
170
+
171
+ /*!
172
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
173
+ * See LICENSE.md in the project root for license information.
174
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
175
+ */
176
+ module.exports = {
177
+ 'Show Blocks': 'Zeigen Blöcke'
178
+ };
179
+
180
+
181
+ /***/ }),
182
+
183
+ /***/ 82725:
184
+ /***/ (function(module) {
185
+
186
+ "use strict";
187
+
188
+ /*!
189
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
190
+ * See LICENSE.md in the project root for license information.
191
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
192
+ */
193
+ module.exports = {
194
+ 'Show Blocks': 'Mostrar Bloques'
195
+ };
196
+
197
+
198
+ /***/ }),
199
+
200
+ /***/ 25702:
201
+ /***/ (function(module) {
202
+
203
+ "use strict";
204
+
205
+ /*!
206
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
207
+ * See LICENSE.md in the project root for license information.
208
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
209
+ */
210
+ module.exports = {
211
+ 'Show Blocks': 'نشان می دهد بلوک'
212
+ };
213
+
214
+
215
+ /***/ }),
216
+
217
+ /***/ 10342:
218
+ /***/ (function(module) {
219
+
220
+ "use strict";
221
+
222
+ /*!
223
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
224
+ * See LICENSE.md in the project root for license information.
225
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
226
+ */
227
+ module.exports = {
228
+ 'Show Blocks': 'Afficher Les Blocs'
229
+ };
230
+
231
+
232
+ /***/ }),
233
+
234
+ /***/ 98455:
235
+ /***/ (function(module) {
236
+
237
+ "use strict";
238
+
239
+ /*!
240
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
241
+ * See LICENSE.md in the project root for license information.
242
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
243
+ */
244
+ module.exports = {
245
+ 'Show Blocks': 'תראה רחובות'
246
+ };
247
+
248
+
249
+ /***/ }),
250
+
251
+ /***/ 6561:
252
+ /***/ (function(module) {
253
+
254
+ "use strict";
255
+
256
+ /*!
257
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
258
+ * See LICENSE.md in the project root for license information.
259
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
260
+ */
261
+ module.exports = {
262
+ 'Show Blocks': 'Mutasd Meg Blokkok'
263
+ };
264
+
265
+
266
+ /***/ }),
267
+
268
+ /***/ 44642:
269
+ /***/ (function(module) {
270
+
271
+ "use strict";
272
+
273
+ /*!
274
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
275
+ * See LICENSE.md in the project root for license information.
276
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
277
+ */
278
+ module.exports = {
279
+ 'Show Blocks': 'Menunjukkan Blok'
280
+ };
281
+
282
+
283
+ /***/ }),
284
+
285
+ /***/ 60841:
286
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
287
+
288
+ "use strict";
289
+ __webpack_require__.r(__webpack_exports__);
290
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
291
+ /* harmony export */ "ar": function() { return /* binding */ ar; },
292
+ /* harmony export */ "cs_cz": function() { return /* binding */ cs_cz; },
293
+ /* harmony export */ "de": function() { return /* binding */ de; },
294
+ /* harmony export */ "es": function() { return /* binding */ es; },
295
+ /* harmony export */ "fa": function() { return /* binding */ fa; },
296
+ /* harmony export */ "fr": function() { return /* binding */ fr; },
297
+ /* harmony export */ "he": function() { return /* binding */ he; },
298
+ /* harmony export */ "hu": function() { return /* binding */ hu; },
299
+ /* harmony export */ "id": function() { return /* binding */ id; },
300
+ /* harmony export */ "it": function() { return /* binding */ it; },
301
+ /* harmony export */ "ja": function() { return /* binding */ ja; },
302
+ /* harmony export */ "ko": function() { return /* binding */ ko; },
303
+ /* harmony export */ "nl": function() { return /* binding */ nl; },
304
+ /* harmony export */ "pl": function() { return /* binding */ pl; },
305
+ /* harmony export */ "pt_br": function() { return /* binding */ pt_br; },
306
+ /* harmony export */ "ru": function() { return /* binding */ ru; },
307
+ /* harmony export */ "tr": function() { return /* binding */ tr; },
308
+ /* harmony export */ "zh_cn": function() { return /* binding */ zh_cn; },
309
+ /* harmony export */ "zh_tw": function() { return /* binding */ zh_tw; }
310
+ /* harmony export */ });
311
+ /*!
312
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
313
+ * See LICENSE.md in the project root for license information.
314
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
315
+ */
316
+ const ar = __webpack_require__(33548);
317
+ const cs_cz = __webpack_require__(6974);
318
+ const de = __webpack_require__(24274);
319
+ const es = __webpack_require__(82725);
320
+ const fa = __webpack_require__(25702);
321
+ const fr = __webpack_require__(10342);
322
+ const he = __webpack_require__(98455);
323
+ const hu = __webpack_require__(6561);
324
+ const id = __webpack_require__(44642);
325
+ const it = __webpack_require__(81483);
326
+ const ja = __webpack_require__(51860);
327
+ const ko = __webpack_require__(90069);
328
+ const nl = __webpack_require__(52044);
329
+ const pl = __webpack_require__(87205);
330
+ const pt_br = __webpack_require__(821);
331
+ const ru = __webpack_require__(76539);
332
+ const tr = __webpack_require__(93793);
333
+ const zh_cn = __webpack_require__(40742);
334
+ const zh_tw = __webpack_require__(70142);
335
+
336
+
337
+
338
+ /***/ }),
339
+
340
+ /***/ 81483:
341
+ /***/ (function(module) {
342
+
343
+ "use strict";
344
+
345
+ /*!
346
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
347
+ * See LICENSE.md in the project root for license information.
348
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
349
+ */
350
+ module.exports = {
351
+ 'Show Blocks': 'Visualizza Blocchi'
352
+ };
353
+
354
+
355
+ /***/ }),
356
+
357
+ /***/ 51860:
358
+ /***/ (function(module) {
359
+
360
+ "use strict";
361
+
362
+ /*!
363
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
364
+ * See LICENSE.md in the project root for license information.
365
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
366
+ */
367
+ module.exports = {
368
+ 'Show Blocks': 'ショーのブロック'
369
+ };
370
+
371
+
372
+ /***/ }),
373
+
374
+ /***/ 90069:
375
+ /***/ (function(module) {
376
+
377
+ "use strict";
378
+
379
+ /*!
380
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
381
+ * See LICENSE.md in the project root for license information.
382
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
383
+ */
384
+ module.exports = {
385
+ 'Show Blocks': '쇼 블록'
386
+ };
387
+
388
+
389
+ /***/ }),
390
+
391
+ /***/ 52044:
392
+ /***/ (function(module) {
393
+
394
+ "use strict";
395
+
396
+ /*!
397
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
398
+ * See LICENSE.md in the project root for license information.
399
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
400
+ */
401
+ module.exports = {
402
+ 'Show Blocks': 'Toon Blokken'
403
+ };
404
+
405
+
406
+ /***/ }),
407
+
408
+ /***/ 87205:
409
+ /***/ (function(module) {
410
+
411
+ "use strict";
412
+
413
+ /*!
414
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
415
+ * See LICENSE.md in the project root for license information.
416
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
417
+ */
418
+ module.exports = {
419
+ 'Show Blocks': 'Pokaż Bloki'
420
+ };
421
+
422
+
423
+ /***/ }),
424
+
425
+ /***/ 821:
426
+ /***/ (function(module) {
427
+
428
+ "use strict";
429
+
430
+ /*!
431
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
432
+ * See LICENSE.md in the project root for license information.
433
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
434
+ */
435
+ module.exports = {
436
+ 'Show Blocks': 'Mostrar Blocos'
437
+ };
438
+
439
+
440
+ /***/ }),
441
+
442
+ /***/ 76539:
443
+ /***/ (function(module) {
444
+
445
+ "use strict";
446
+
447
+ /*!
448
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
449
+ * See LICENSE.md in the project root for license information.
450
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
451
+ */
452
+ module.exports = {
453
+ 'Show Blocks': 'Показать Блоки'
454
+ };
455
+
456
+
457
+ /***/ }),
458
+
459
+ /***/ 93793:
460
+ /***/ (function(module) {
461
+
462
+ "use strict";
463
+
464
+ /*!
465
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
466
+ * See LICENSE.md in the project root for license information.
467
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
468
+ */
469
+ module.exports = {
470
+ 'Show Blocks': 'Haritayı Blokları'
471
+ };
472
+
473
+
474
+ /***/ }),
475
+
476
+ /***/ 40742:
477
+ /***/ (function(module) {
478
+
479
+ "use strict";
480
+
481
+ /*!
482
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
483
+ * See LICENSE.md in the project root for license information.
484
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
485
+ */
486
+ module.exports = {
487
+ 'Show Blocks': '显示块'
488
+ };
489
+
490
+
491
+ /***/ }),
492
+
493
+ /***/ 70142:
494
+ /***/ (function(module) {
495
+
496
+ "use strict";
497
+
498
+ /*!
499
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
500
+ * See LICENSE.md in the project root for license information.
501
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
502
+ */
503
+ module.exports = {
504
+ 'Show Blocks': 'แสดงช่วงตึก'
505
+ };
506
+
507
+
508
+ /***/ }),
509
+
510
+ /***/ 87998:
511
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
512
+
513
+ "use strict";
514
+ __webpack_require__.r(__webpack_exports__);
515
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
516
+ /* harmony export */ "showBlocks": function() { return /* binding */ showBlocks; }
517
+ /* harmony export */ });
518
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(97582);
519
+ /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56766);
520
+ /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7324);
521
+ /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44913);
522
+ /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10503);
523
+ /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(81160);
524
+ /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50526);
525
+ /* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(88292);
526
+ /*!
527
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
528
+ * See LICENSE.md in the project root for license information.
529
+ * Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
530
+ */
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+ function svgToUrl(svg) {
540
+ return `data:image/svg+xml;utf8,${escape(svg)}`;
541
+ }
542
+ /**
543
+ * Plugin for showing special markers inside every blocks
544
+ */
545
+ class showBlocks extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */ .S {
546
+ get style() {
547
+ return (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .getContainer */ .ZO)(this.jodit, showBlocks, 'style', true);
548
+ }
549
+ /**
550
+ * Enable showing block
551
+ */
552
+ enable() {
553
+ this.isEnabled = true;
554
+ const root = this.j.o.iframe ? 'body' : '.jodit-wysiwyg';
555
+ const { tagList, color } = this.j.o.showBlocks;
556
+ this.style.innerHTML = tagList
557
+ .map((tag) => `${root} ${tag}{
558
+ outline: 1px dashed ${color};
559
+ background-image: url("${svgToUrl('<svg xmlns="http://www.w3.org/2000/svg" width="50px">' +
560
+ '<text dominant-baseline="hanging" text-anchor="end" style="fill: ' +
561
+ color +
562
+ ';font: 10px sans-serif" x="50px" y="0">' +
563
+ tag +
564
+ '</text>' +
565
+ '</svg>')}");
566
+ background-position: top 2px ${this.j.o.direction === 'rtl' ? 'left' : 'right'} 4px;
567
+ background-repeat: no-repeat;
568
+ position: relative;
569
+ }`)
570
+ .join('');
571
+ }
572
+ /**
573
+ * Disable showing block
574
+ */
575
+ disable() {
576
+ this.isEnabled = false;
577
+ this.style.innerHTML = '';
578
+ }
579
+ /**
580
+ * Toggle showing block
581
+ */
582
+ toggle() {
583
+ this.isEnabled ? this.disable() : this.enable();
584
+ this.j.e.fire('updateToolbar');
585
+ }
586
+ constructor(jodit) {
587
+ super(jodit);
588
+ /** @override */
589
+ this.buttons = [
590
+ {
591
+ name: 'showBlocks',
592
+ group: 'state'
593
+ }
594
+ ];
595
+ /**
596
+ * Show block is enabled
597
+ */
598
+ this.isEnabled = false;
599
+ (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .extendLang */ .xl)(__webpack_require__(60841));
600
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon.set */ .J.set('showBlocks', __webpack_require__(23530));
601
+ }
602
+ /** @override */
603
+ afterInit(jodit) {
604
+ jodit.e.on('showBlocksEnabled', () => this.isEnabled);
605
+ jodit
606
+ .registerCommand('enableShowBlocks', this.enable)
607
+ .registerCommand('disableShowBlocks', this.disable)
608
+ .registerCommand('toggleShowBlocks', this.toggle);
609
+ if (this.j.o.showBlocks.enable) {
610
+ this.enable();
611
+ }
612
+ }
613
+ /** @override */
614
+ beforeDestruct(jodit) {
615
+ this.disable();
616
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom.safeRemove */ .i.safeRemove(this.style);
617
+ }
618
+ }
619
+ /** @override */
620
+ showBlocks.requires = ['license'];
621
+ (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
622
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.cache
623
+ ], showBlocks.prototype, "style", null);
624
+ (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
625
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
626
+ ], showBlocks.prototype, "enable", null);
627
+ (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
628
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
629
+ ], showBlocks.prototype, "disable", null);
630
+ (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
631
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
632
+ ], showBlocks.prototype, "toggle", null);
633
+ _JoditPro__WEBPACK_IMPORTED_MODULE_6__/* .JoditPro.plugins.add */ .y.plugins.add('show-blocks', showBlocks);
634
+
635
+
636
+ /***/ })
637
+
638
+ },
639
+ /******/ function(__webpack_require__) { // webpackRuntimeModules
640
+ /******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
641
+ /******/ var __webpack_exports__ = (__webpack_exec__(87998));
642
+ /******/ return __webpack_exports__;
643
+ /******/ }
644
+ ]);
645
+ });