wysiwyg-rails 4.5.2 → 4.6.0

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 (154) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/froala_editor.min.js +2 -2
  3. data/app/assets/javascripts/froala_editor.pkgd.min.js +2 -2
  4. data/app/assets/javascripts/languages/ar.js +1 -1
  5. data/app/assets/javascripts/languages/bs.js +1 -1
  6. data/app/assets/javascripts/languages/cs.js +1 -1
  7. data/app/assets/javascripts/languages/da.js +1 -1
  8. data/app/assets/javascripts/languages/de.js +1 -1
  9. data/app/assets/javascripts/languages/el.js +1 -1
  10. data/app/assets/javascripts/languages/en_ca.js +1 -1
  11. data/app/assets/javascripts/languages/en_gb.js +1 -1
  12. data/app/assets/javascripts/languages/es.js +1 -1
  13. data/app/assets/javascripts/languages/et.js +1 -1
  14. data/app/assets/javascripts/languages/fa.js +1 -1
  15. data/app/assets/javascripts/languages/fi.js +1 -1
  16. data/app/assets/javascripts/languages/fr.js +1 -1
  17. data/app/assets/javascripts/languages/he.js +1 -1
  18. data/app/assets/javascripts/languages/hr.js +1 -1
  19. data/app/assets/javascripts/languages/hu.js +1 -1
  20. data/app/assets/javascripts/languages/id.js +1 -1
  21. data/app/assets/javascripts/languages/it.js +1 -1
  22. data/app/assets/javascripts/languages/ja.js +1 -1
  23. data/app/assets/javascripts/languages/ko.js +1 -1
  24. data/app/assets/javascripts/languages/ku.js +1 -1
  25. data/app/assets/javascripts/languages/me.js +1 -1
  26. data/app/assets/javascripts/languages/nb.js +1 -1
  27. data/app/assets/javascripts/languages/nl.js +1 -1
  28. data/app/assets/javascripts/languages/pl.js +1 -1
  29. data/app/assets/javascripts/languages/pt_br.js +1 -1
  30. data/app/assets/javascripts/languages/pt_pt.js +1 -1
  31. data/app/assets/javascripts/languages/ro.js +1 -1
  32. data/app/assets/javascripts/languages/ru.js +1 -1
  33. data/app/assets/javascripts/languages/sk.js +1 -1
  34. data/app/assets/javascripts/languages/sl.js +1 -1
  35. data/app/assets/javascripts/languages/sr.js +1 -1
  36. data/app/assets/javascripts/languages/sv.js +1 -1
  37. data/app/assets/javascripts/languages/th.js +1 -1
  38. data/app/assets/javascripts/languages/tr.js +1 -1
  39. data/app/assets/javascripts/languages/uk.js +1 -1
  40. data/app/assets/javascripts/languages/vi.js +1 -1
  41. data/app/assets/javascripts/languages/zh_cn.js +1 -1
  42. data/app/assets/javascripts/languages/zh_tw.js +1 -1
  43. data/app/assets/javascripts/plugins/align.min.js +1 -1
  44. data/app/assets/javascripts/plugins/char_counter.min.js +2 -2
  45. data/app/assets/javascripts/plugins/code_beautifier.min.js +1 -1
  46. data/app/assets/javascripts/plugins/code_view.min.js +1 -1
  47. data/app/assets/javascripts/plugins/colors.min.js +2 -2
  48. data/app/assets/javascripts/plugins/cryptojs.min.js +1 -1
  49. data/app/assets/javascripts/plugins/draggable.min.js +1 -1
  50. data/app/assets/javascripts/plugins/edit_in_popup.min.js +1 -1
  51. data/app/assets/javascripts/plugins/emoticons.min.js +2 -2
  52. data/app/assets/javascripts/plugins/entities.min.js +1 -1
  53. data/app/assets/javascripts/plugins/file.min.js +1 -1
  54. data/app/assets/javascripts/plugins/files_manager.min.js +1 -1
  55. data/app/assets/javascripts/plugins/filestack.min.js +2 -2
  56. data/app/assets/javascripts/plugins/find_and_replace.min.js +2 -2
  57. data/app/assets/javascripts/plugins/font_family.min.js +1 -1
  58. data/app/assets/javascripts/plugins/font_size.min.js +1 -1
  59. data/app/assets/javascripts/plugins/forms.min.js +1 -1
  60. data/app/assets/javascripts/plugins/fullscreen.min.js +1 -1
  61. data/app/assets/javascripts/plugins/help.min.js +1 -1
  62. data/app/assets/javascripts/plugins/image.min.js +2 -2
  63. data/app/assets/javascripts/plugins/image_manager.min.js +1 -1
  64. data/app/assets/javascripts/plugins/inline_class.min.js +1 -1
  65. data/app/assets/javascripts/plugins/inline_style.min.js +1 -1
  66. data/app/assets/javascripts/plugins/line_breaker.min.js +2 -2
  67. data/app/assets/javascripts/plugins/line_height.min.js +1 -1
  68. data/app/assets/javascripts/plugins/link.min.js +2 -2
  69. data/app/assets/javascripts/plugins/lists.min.js +1 -1
  70. data/app/assets/javascripts/plugins/markdown.min.js +1 -1
  71. data/app/assets/javascripts/plugins/paragraph_format.min.js +1 -1
  72. data/app/assets/javascripts/plugins/paragraph_style.min.js +1 -1
  73. data/app/assets/javascripts/plugins/print.min.js +1 -1
  74. data/app/assets/javascripts/plugins/quick_insert.min.js +1 -1
  75. data/app/assets/javascripts/plugins/quote.min.js +1 -1
  76. data/app/assets/javascripts/plugins/save.min.js +1 -1
  77. data/app/assets/javascripts/plugins/special_characters.min.js +2 -2
  78. data/app/assets/javascripts/plugins/table.min.js +2 -2
  79. data/app/assets/javascripts/plugins/track_changes.min.js +2 -2
  80. data/app/assets/javascripts/plugins/trim_video.min.js +1 -1
  81. data/app/assets/javascripts/plugins/url.min.js +2 -2
  82. data/app/assets/javascripts/plugins/video.min.js +2 -2
  83. data/app/assets/javascripts/plugins/word_counter.min.js +1 -1
  84. data/app/assets/javascripts/plugins/word_paste.min.js +1 -1
  85. data/app/assets/javascripts/plugins.pkgd.min.js +2 -2
  86. data/app/assets/javascripts/third_party/embedly.min.js +1 -1
  87. data/app/assets/javascripts/third_party/font_awesome.min.js +2 -2
  88. data/app/assets/javascripts/third_party/image_tui.min.js +1 -1
  89. data/app/assets/javascripts/third_party/showdown.min.js +1 -1
  90. data/app/assets/javascripts/third_party/spell_checker.min.js +1 -1
  91. data/app/assets/stylesheets/froala_editor.css +15 -1
  92. data/app/assets/stylesheets/froala_editor.min.css +2 -2
  93. data/app/assets/stylesheets/froala_editor.pkgd.css +341 -61
  94. data/app/assets/stylesheets/froala_editor.pkgd.min.css +2 -2
  95. data/app/assets/stylesheets/froala_style.css +3 -2
  96. data/app/assets/stylesheets/froala_style.min.css +2 -2
  97. data/app/assets/stylesheets/plugins/char_counter.css +1 -1
  98. data/app/assets/stylesheets/plugins/char_counter.min.css +1 -1
  99. data/app/assets/stylesheets/plugins/code_view.css +1 -1
  100. data/app/assets/stylesheets/plugins/code_view.min.css +1 -1
  101. data/app/assets/stylesheets/plugins/colors.css +2 -2
  102. data/app/assets/stylesheets/plugins/colors.min.css +2 -2
  103. data/app/assets/stylesheets/plugins/draggable.css +1 -1
  104. data/app/assets/stylesheets/plugins/draggable.min.css +1 -1
  105. data/app/assets/stylesheets/plugins/emoticons.css +1 -1
  106. data/app/assets/stylesheets/plugins/emoticons.min.css +1 -1
  107. data/app/assets/stylesheets/plugins/file.css +1 -1
  108. data/app/assets/stylesheets/plugins/file.min.css +1 -1
  109. data/app/assets/stylesheets/plugins/files_manager.css +1 -1
  110. data/app/assets/stylesheets/plugins/files_manager.min.css +1 -1
  111. data/app/assets/stylesheets/plugins/filestack.css +1 -1
  112. data/app/assets/stylesheets/plugins/filestack.min.css +1 -1
  113. data/app/assets/stylesheets/plugins/find_and_replace.css +36 -40
  114. data/app/assets/stylesheets/plugins/find_and_replace.min.css +2 -2
  115. data/app/assets/stylesheets/plugins/fullscreen.css +1 -1
  116. data/app/assets/stylesheets/plugins/fullscreen.min.css +1 -1
  117. data/app/assets/stylesheets/plugins/help.css +1 -1
  118. data/app/assets/stylesheets/plugins/help.min.css +1 -1
  119. data/app/assets/stylesheets/plugins/image.css +3 -3
  120. data/app/assets/stylesheets/plugins/image.min.css +2 -2
  121. data/app/assets/stylesheets/plugins/image_manager.css +1 -1
  122. data/app/assets/stylesheets/plugins/image_manager.min.css +1 -1
  123. data/app/assets/stylesheets/plugins/line_breaker.css +1 -1
  124. data/app/assets/stylesheets/plugins/line_breaker.min.css +1 -1
  125. data/app/assets/stylesheets/plugins/markdown.css +1 -1
  126. data/app/assets/stylesheets/plugins/markdown.min.css +1 -1
  127. data/app/assets/stylesheets/plugins/quick_insert.css +1 -1
  128. data/app/assets/stylesheets/plugins/quick_insert.min.css +1 -1
  129. data/app/assets/stylesheets/plugins/special_characters.css +1 -1
  130. data/app/assets/stylesheets/plugins/special_characters.min.css +1 -1
  131. data/app/assets/stylesheets/plugins/table.css +287 -18
  132. data/app/assets/stylesheets/plugins/table.min.css +2 -2
  133. data/app/assets/stylesheets/plugins/trim_video.css +1 -1
  134. data/app/assets/stylesheets/plugins/trim_video.min.css +1 -1
  135. data/app/assets/stylesheets/plugins/video.css +1 -1
  136. data/app/assets/stylesheets/plugins/video.min.css +1 -1
  137. data/app/assets/stylesheets/plugins.pkgd.css +325 -60
  138. data/app/assets/stylesheets/plugins.pkgd.min.css +2 -2
  139. data/app/assets/stylesheets/themes/dark.css +162 -21
  140. data/app/assets/stylesheets/themes/dark.min.css +2 -2
  141. data/app/assets/stylesheets/themes/gray.css +162 -21
  142. data/app/assets/stylesheets/themes/gray.min.css +2 -2
  143. data/app/assets/stylesheets/themes/royal.css +162 -21
  144. data/app/assets/stylesheets/themes/royal.min.css +2 -2
  145. data/app/assets/stylesheets/third_party/embedly.css +1 -1
  146. data/app/assets/stylesheets/third_party/embedly.min.css +1 -1
  147. data/app/assets/stylesheets/third_party/font_awesome.css +1 -1
  148. data/app/assets/stylesheets/third_party/font_awesome.min.css +1 -1
  149. data/app/assets/stylesheets/third_party/image_tui.css +1 -1
  150. data/app/assets/stylesheets/third_party/image_tui.min.css +1 -1
  151. data/app/assets/stylesheets/third_party/spell_checker.css +1 -1
  152. data/app/assets/stylesheets/third_party/spell_checker.min.css +1 -1
  153. data/lib/wysiwyg-rails/version.rb +1 -1
  154. metadata +2 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],e):e(t.FroalaEditor)}(this,function(i){"use strict";i=i&&i.hasOwnProperty("default")?i["default"]:i,Object.assign(i.DEFAULTS,{charCounterMax:-1,charCounterCount:!0}),i.PLUGINS.charCounter=function(r){var n,o=r.$,a=function a(){return(r.opts.iframe&&r.markdown&&r.markdown.isEnabled()?r.$el.text()||"":r.el.textContent||"").replace(/\u200B/g,"").length};function t(t){if(r.opts.charCounterMax<0)return!0;if(a()<r.opts.charCounterMax)return!0;var e=t.which;return!(!r.keys.ctrlKey(t)&&r.keys.isCharacter(e)||e===i.KEYCODE.IME)||(t.preventDefault(),t.stopPropagation(),r.events.trigger("charCounter.exceeded"),!1)}function e(t){return r.opts.charCounterMax<0?t:o("<div>").html(t).text().length+a()<=r.opts.charCounterMax?t:(r.events.trigger("charCounter.exceeded"),"")}function c(t,e,n){return r.opts.charCounterMax<0||(t.includes('<span class="fr-emoticon')||t.includes('<i class="fa ')?!(a()>=r.opts.charCounterMax)||(r.events.trigger("charCounter.exceeded"),!1):o("<div>").html(t).text().length+a()<=r.opts.charCounterMax||(r.events.trigger("charCounter.exceeded"),!1))}function s(){if(r.opts.charCounterCount){var t=a()+(0<r.opts.charCounterMax?"/"+r.opts.charCounterMax:"");n.text("".concat(r.language.translate("Characters")," : ").concat(t)),r.opts.toolbarBottom&&n.css("margin-bottom",r.$tb.outerHeight(!0));var e=r.$wp.get(0).offsetWidth-r.$wp.get(0).clientWidth;0<=e&&("rtl"==r.opts.direction?n.css("margin-left",e):n.css("margin-right",e))}}return{_init:function u(){return!!r.$wp&&!!r.opts.charCounterCount&&((n=o(document.createElement("span")).attr("class","fr-counter")).css("bottom",r.$wp.css("border-bottom-width")),r.$second_tb?r.$second_tb.append(n):r.$wp.append(n),r.events.on("keydown",t,!0),r.events.on("paste.afterCleanup",e),r.events.on("keyup contentChanged input",function(){r.events.trigger("charCounter.update")}),r.events.on("html.beforeInsert",c),r.events.on("charCounter.update",s),r.events.trigger("charCounter.update"),void r.events.on("destroy",function(){o(r.o_win).off("resize.char".concat(r.id)),n.removeData().remove(),n=null}))},count:a}}});
7
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(e.FroalaEditor)}(this,function(d){"use strict";d=d&&d.hasOwnProperty("default")?d["default"]:d,Object.assign(d.DEFAULTS,{charCounterMax:-1,charCounterCount:!0}),d.PLUGINS.charCounter=function(s){var n,r=s.$,u=function u(){return(s.opts.iframe&&s.markdown&&s.markdown.isEnabled()?s.$el.text()||"":s.el.textContent||"").replace(/\u200B/g,"").length};function e(e){var t=s.opts.charCounterMax;if(t<0)return!0;var n=u();if("keydown"===e.type){if(n<t)return!0;var r=e.which;if(!s.keys.ctrlKey(e)&&s.keys.isCharacter(r)||r===d.KEYCODE.IME)return e.preventDefault(),e.stopPropagation(),s.events.trigger("charCounter.exceeded"),!1}var o=e.originalEvent&&e.originalEvent.inputType||"";if(/delete|historyUndo|historyRedo/.test(o))return!0;if("beforeinput"===e.type){var a=e.data||e.originalEvent&&e.originalEvent.data||e.originalEvent&&e.originalEvent.dataTransfer&&e.originalEvent.dataTransfer.getData("text")||"",i=n-s.win.getSelection().toString().length+a.length;if(t-n<=0||t<i)return e.preventDefault(),e.stopPropagation(),s.events.trigger("charCounter.exceeded"),!1}return"input"===e.type&&t<n&&(s.selection.save(),function c(e,t){var n,r="",o=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null,!1),a=!0;for(;(n=o.nextNode())&&r.length<t;){var i=t-r.length;if(n.textContent.length>i){n.textContent=n.textContent.slice(0,i),a=!1;break}r+=n.textContent}a&&(n=o.previousNode());for(;n=o.nextNode();)n.textContent=""}(s.el,t),s.selection.restore()),!0}function t(e){return s.opts.charCounterMax<0?e:r("<div>").html(e).text().length+u()<=s.opts.charCounterMax?e:(s.events.trigger("charCounter.exceeded"),"")}function o(e,t,n){return s.opts.charCounterMax<0||(e.includes('<span class="fr-emoticon')||e.includes('<i class="fa ')?!(u()>=s.opts.charCounterMax)||(s.events.trigger("charCounter.exceeded"),!1):r("<div>").html(e).text().length+u()<=s.opts.charCounterMax||(s.events.trigger("charCounter.exceeded"),!1))}function a(){if(s.opts.charCounterCount){var e=u()+(0<s.opts.charCounterMax?"/"+s.opts.charCounterMax:"");n.text("".concat(s.language.translate("Characters")," : ").concat(e)),s.opts.toolbarBottom&&n.css("margin-bottom",s.$tb.outerHeight(!0));var t=s.$wp.get(0).offsetWidth-s.$wp.get(0).clientWidth;0<=t&&("rtl"==s.opts.direction?n.css("margin-left",t):n.css("margin-right",t))}}return{_init:function i(){return!!s.$wp&&!!s.opts.charCounterCount&&((n=r(document.createElement("span")).attr("class","fr-counter")).css("bottom",s.$wp.css("border-bottom-width")),s.$second_tb?s.$second_tb.append(n):s.$wp.append(n),s.events.on("keydown beforeinput input",e,!0),s.events.on("paste.afterCleanup",t),s.events.on("keyup contentChanged input",function(){s.events.trigger("charCounter.update")}),s.events.on("html.beforeInsert",o),s.events.on("charCounter.update",a),s.events.trigger("charCounter.update"),void s.events.on("destroy",function(){r(s.o_win).off("resize.char".concat(s.id)),n.removeData().remove(),n=null}))},count:u}}});
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
- !function(o,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(o.FroalaEditor)}(this,function(k){"use strict";k=k&&k.hasOwnProperty("default")?k["default"]:k,Object.assign(k.POPUP_TEMPLATES,{"textColor.picker":"[_BUTTONS_][_TEXT_COLORS_][_CUSTOM_COLOR_]","backgroundColor.picker":"[_BUTTONS_][_BACKGROUND_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(k.DEFAULTS,{colorsText:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsBackground:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsStep:7,colorsHEXInput:!0,colorsButtons:["colorsBack","|","-"]}),k.PLUGINS.colors=function(g){var E=g.$,l='<div class="fr-color-hex-layer fr-active fr-layer" id="fr-color-hex-layer- \n '.concat(g.id,'"><div class="fr-input-line"><input maxlength="9" id="[ID]"\n type="text" placeholder="').concat(g.language.translate("HEX Color"),'" \n tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button \n type="button" class="fr-command fr-submit" data-cmd="[COMMAND]" tabIndex="2" role="button">\n ').concat(g.language.translate("OK"),"</button></div></div>");function s(o){for(var t="text"===o?g.opts.colorsText:g.opts.colorsBackground,r='<div class="fr-color-set fr-'.concat(o,'-color fr-selected-set">'),e=0;e<t.length;e++)0!==e&&e%g.opts.colorsStep==0&&(r+="<br>"),"REMOVE"!==t[e]?r+='<span class="fr-command fr-select-color" style="background:'.concat(t[e].toUpperCase(),';" \n tabIndex="-1" aria-selected="false" role="button" data-cmd="apply').concat(o,'Color" \n data-param1="').concat(t[e].toUpperCase(),'"><span class="fr-sr-only"> ').concat(g.language.translate("Color")).concat(t[e]," \n &nbsp;&nbsp;&nbsp;</span></span>"):r+='<span class="fr-command fr-select-color" data-cmd="apply'.concat(o,'Color"\n tabIndex="-1" role="button" data-param1="REMOVE" \n title="').concat(g.language.translate("Clear Formatting"),'">').concat(g.icon.create("remove"),' \n <span class="fr-sr-only"> ').concat(g.language.translate("Clear Formatting")," </span></span>");return"".concat(r,"</div>")}function i(o){var t,r=g.popups.get("".concat(o,"Color.picker")),e=E(g.selection.element());t="background"===o?"background-color":"color";var a=r.find(".fr-".concat(o,"-color .fr-select-color"));for(a.find(".fr-selected-color").remove(),a.removeClass("fr-active-item"),a.not('[data-param1="REMOVE"]').attr("aria-selected",!1);e.get(0)!==g.el;){if("transparent"!==e.css(t)&&"rgba(0, 0, 0, 0)"!==e.css(t)){var c=r.find(".fr-".concat(o,'-color .fr-select-color[data-param1="').concat(g.helpers.RGBToHex(e.css(t)),'"]'));c.append('<span class="fr-selected-color" aria-hidden="true">\uf00c</span>'),c.addClass("fr-active-item").attr("aria-selected",!0);break}e=e.parent()}!function n(o){var t=g.popups.get("".concat(o,"Color.picker")),r=t.find(".fr-".concat(o,"-color .fr-active-item")).attr("data-param1"),e=t.find(".fr-color-hex-layer input");r||(r="");e.length&&E(e.val(r).input).trigger("change")}(o)}function e(o){"REMOVE"!==o?g.format.applyStyle("background-color",g.helpers.HEXtoRGB(o)):g.format.removeStyle("background-color"),g.popups.hide("backgroundColor.picker")}function a(o){"REMOVE"!==o?g.format.applyStyle("color",g.helpers.HEXtoRGB(o)):g.format.removeStyle("color"),g.popups.hide("textColor.picker")}return{showColorsPopup:function p(o){var t=g.$tb.find('.fr-command[data-cmd="'.concat(o,'"]')),r=g.popups.get("".concat(o,".picker"));if(r||(r=function n(o){var t="";g.opts.toolbarInline&&0<g.opts.colorsButtons.length&&(t+='<div class="fr-buttons fr-colors-buttons fr-tabs">\n '.concat(g.button.buildList(g.opts.colorsButtons),"\n </div>"));var r,e="";r="textColor"===o?(g.opts.colorsHEXInput&&(e=l.replace(/\[ID\]/g,"fr-color-hex-layer-text-".concat(g.id)).replace(/\[COMMAND\]/g,"customTextColor")),{buttons:t,text_colors:s("text"),custom_color:e}):(g.opts.colorsHEXInput&&(e=l.replace(/\[ID\]/g,"fr-color-hex-layer-background-".concat(g.id)).replace(/\[COMMAND\]/g,"customBackgroundColor")),{buttons:t,background_colors:s("background"),custom_color:e});var a=g.popups.create("".concat(o,".picker"),r);return function c(C,b){g.events.on("popup.tab",function(o){var t=E(o.currentTarget);if(!g.popups.isVisible(b)||!t.is("span"))return!0;var r=o.which,e=!0;if(k.KEYCODE.TAB===r){var a=C.find(".fr-buttons");e=!g.accessibility.focusToolbar(a,!!o.shiftKey)}else if(k.KEYCODE.ARROW_UP===r||k.KEYCODE.ARROW_DOWN===r||k.KEYCODE.ARROW_LEFT===r||k.KEYCODE.ARROW_RIGHT===r){if(t.is("span.fr-select-color")){var c=t.parent().find("span.fr-select-color"),n=c.index(t),l=g.opts.colorsStep,s=Math.floor(c.length/l),i=n%l,p=Math.floor(n/l),u=p*l+i,d=s*l;k.KEYCODE.ARROW_UP===r?u=((u-l)%d+d)%d:k.KEYCODE.ARROW_DOWN===r?u=(u+l)%d:k.KEYCODE.ARROW_LEFT===r?u=((u-1)%d+d)%d:k.KEYCODE.ARROW_RIGHT===r&&(u=(u+1)%d);var f=E(c.get(u));g.events.disableBlur(),f.focus(),e=!1}}else k.KEYCODE.ENTER===r&&(g.button.exec(t),e=!1);return!1===e&&(o.preventDefault(),o.stopPropagation()),e},!0)}(a,"".concat(o,".picker")),a}(o)),!r.hasClass("fr-active"))if(g.popups.setContainer("".concat(o,".picker"),g.$tb),i("textColor"===o?"text":"background"),t.isVisible()){var e=g.button.getPosition(t),a=e.left,c=e.top;g.popups.show("".concat(o,".picker"),a,c,t.outerHeight())}else g.position.forSelection(r),g.popups.show("".concat(o,".picker"))},background:e,customColor:function c(o){var t=g.popups.get("".concat(o,"Color.picker")).find(".fr-color-hex-layer input");if(t.length){var r=t.val();"background"===o?e(r):a(r)}},text:a,back:function o(){g.popups.hide("textColor.picker"),g.popups.hide("backgroundColor.picker"),g.toolbar.showInline()}}},k.DefineIcon("textColor",{NAME:"tint",SVG_KEY:"textColor"}),k.RegisterCommand("textColor",{title:"Text Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("textColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("textColor.picker")):this.colors.showColorsPopup("textColor")}}),k.RegisterCommand("applytextColor",{undo:!0,callback:function(o,t){this.colors.text(t)}}),k.RegisterCommand("customTextColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("text")}}),k.DefineIcon("backgroundColor",{NAME:"paint-brush",SVG_KEY:"backgroundColor"}),k.RegisterCommand("backgroundColor",{title:"Background Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("backgroundColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("backgroundColor.picker")):this.colors.showColorsPopup("backgroundColor")}}),k.RegisterCommand("applybackgroundColor",{undo:!0,callback:function(o,t){this.colors.background(t)}}),k.RegisterCommand("customBackgroundColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("background")}}),k.DefineIcon("colorsBack",{NAME:"arrow-left",SVG_KEY:"back"}),k.RegisterCommand("colorsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.colors.back()}}),k.DefineIcon("remove",{NAME:"eraser",SVG_KEY:"remove"})});
7
+ !function(o,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(o.FroalaEditor)}(this,function(v){"use strict";v=v&&v.hasOwnProperty("default")?v["default"]:v,Object.assign(v.POPUP_TEMPLATES,{"textColor.picker":"[_BUTTONS_][_TEXT_COLORS_][_CUSTOM_COLOR_]","backgroundColor.picker":"[_BUTTONS_][_BACKGROUND_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(v.DEFAULTS,{colorsText:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsBackground:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsStep:7,colorsHEXInput:!0,colorsButtons:["colorsBack","|","-"]}),v.PLUGINS.colors=function(m){var O=m.$,s='<div class="fr-color-hex-layer fr-active fr-layer" id="fr-color-hex-layer- \n '.concat(m.id,'"><div class="fr-input-line"><input maxlength="9" id="[ID]"\n type="text" placeholder="').concat(m.language.translate("HEX Color"),'" \n tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button \n type="button" class="fr-command fr-submit" data-cmd="[COMMAND]" tabIndex="2" role="button">\n ').concat(m.language.translate("OK"),"</button></div></div>");function l(o){for(var t="text"===o?m.opts.colorsText:m.opts.colorsBackground,r='<div class="fr-color-set fr-'.concat(o,'-color fr-selected-set">'),e=0;e<t.length;e++)0!==e&&e%m.opts.colorsStep==0&&(r+="<br>"),"REMOVE"!==t[e]?r+='<span class="fr-command fr-select-color" style="background:'.concat(t[e].toUpperCase(),';" \n tabIndex="-1" aria-selected="false" role="button" data-cmd="apply').concat(o,'Color" \n data-param1="').concat(t[e].toUpperCase(),'"><span class="fr-sr-only"> ').concat(m.language.translate("Color")).concat(t[e]," \n &nbsp;&nbsp;&nbsp;</span></span>"):r+='<span class="fr-command fr-select-color" data-cmd="apply'.concat(o,'Color"\n tabIndex="-1" role="button" data-param1="REMOVE" \n title="').concat(m.language.translate("Clear Formatting"),'">').concat(m.icon.create("remove"),' \n <span class="fr-sr-only"> ').concat(m.language.translate("Clear Formatting")," </span></span>");return"".concat(r,"</div>")}function i(o){var t,r=m.popups.get("".concat(o,"Color.picker")),e=O(m.selection.element());t="background"===o?"background-color":"color";var a=r.find(".fr-".concat(o,"-color .fr-select-color"));for(a.find(".fr-selected-color").remove(),a.removeClass("fr-active-item"),a.not('[data-param1="REMOVE"]').attr("aria-selected",!1);e.get(0)!==m.el;){if("transparent"!==e.css(t)&&"rgba(0, 0, 0, 0)"!==e.css(t)){var c=r.find(".fr-".concat(o,'-color .fr-select-color[data-param1="').concat(m.helpers.RGBToHex(e.css(t)),'"]'));c.append('<span class="fr-selected-color" aria-hidden="true">\uf00c</span>'),c.addClass("fr-active-item").attr("aria-selected",!0);break}e=e.parent()}!function n(o){var t=m.popups.get("".concat(o,"Color.picker")),r=t.find(".fr-".concat(o,"-color .fr-active-item")).attr("data-param1"),e=t.find(".fr-color-hex-layer input");r||(r="");e.length&&O(e.val(r).input).trigger("change")}(o)}function e(o){"REMOVE"!==o?m.format.applyStyle("background-color",m.helpers.HEXtoRGB(o)):m.format.removeStyle("background-color"),m.popups.hide("backgroundColor.picker")}function a(o){"REMOVE"!==o?m.format.applyStyle("color",m.helpers.HEXtoRGB(o)):m.format.removeStyle("color"),m.popups.hide("textColor.picker")}return{showColorsPopup:function p(o){var t=m.$tb.find('.fr-command[data-cmd="'.concat(o,'"]')),r=m.popups.get("".concat(o,".picker"));if(r||(r=function n(o){var t="";m.opts.toolbarInline&&0<m.opts.colorsButtons.length&&(t+='<div class="fr-buttons fr-colors-buttons fr-tabs">\n '.concat(m.button.buildList(m.opts.colorsButtons),"\n </div>"));var r,e="";r="textColor"===o?(m.opts.colorsHEXInput&&(e=s.replace(/\[ID\]/g,"fr-color-hex-layer-text-".concat(m.id)).replace(/\[COMMAND\]/g,"customTextColor")),{buttons:t,text_colors:l("text"),custom_color:e}):(m.opts.colorsHEXInput&&(e=s.replace(/\[ID\]/g,"fr-color-hex-layer-background-".concat(m.id)).replace(/\[COMMAND\]/g,"customBackgroundColor")),{buttons:t,background_colors:l("background"),custom_color:e});var a=m.popups.create("".concat(o,".picker"),r);return function c(h,k){m.events.on("popup.tab",function(o){var t=O(o.currentTarget);if(!m.popups.isVisible(k)||!t.is("span, input, button"))return!0;var r,e,a=o.which,c=!0;if(v.KEYCODE.TAB===a){var n=h.find("span.fr-select-color");if(t.is(n.first())&&o.shiftKey||t.is(h.find("span.fr-submit"))&&!o.shiftKey){var s=h.find(".fr-buttons");c=!m.accessibility.focusToolbar(s,!!o.shiftKey)}if(!1!==c){var l=h.find("span.fr-select-color");l.add(h.find("input")),l.add(h.find("button.fr-submit")),r=l.index(t),r=o.shiftKey?((r-1)%l.length+l.length)%l.length:(r+1)%l.length,e=l.get(r),m.events.disableBlur(),e.focus(),c=!1}}else if(v.KEYCODE.ARROW_UP===a||v.KEYCODE.ARROW_DOWN===a||v.KEYCODE.ARROW_LEFT===a||v.KEYCODE.ARROW_RIGHT===a){if(t.is("span.fr-select-color")){var i=t.parent().find("span.fr-select-color"),p=i.index(t),u=m.opts.colorsStep,d=Math.floor(i.length/u),f=p%u,C=Math.floor(p/u),b=C*u+f,g=d*u;v.KEYCODE.ARROW_UP===a?b=((b-u)%g+g)%g:v.KEYCODE.ARROW_DOWN===a?b=(b+u)%g:v.KEYCODE.ARROW_LEFT===a?b=((b-1)%g+g)%g:v.KEYCODE.ARROW_RIGHT===a&&(b=(b+1)%g);var E=O(i.get(b));m.events.disableBlur(),E.focus(),c=!1}}else v.KEYCODE.ENTER===a&&(m.button.exec(t),c=!1);return!1===c&&(o.preventDefault(),o.stopPropagation()),c},!0)}(a,"".concat(o,".picker")),a}(o)),!r.hasClass("fr-active"))if(m.popups.setContainer("".concat(o,".picker"),m.$tb),i("textColor"===o?"text":"background"),t.isVisible()){var e=m.button.getPosition(t),a=e.left,c=e.top;m.popups.show("".concat(o,".picker"),a,c,t.outerHeight())}else m.position.forSelection(r),m.popups.show("".concat(o,".picker"))},background:e,customColor:function c(o){var t=m.popups.get("".concat(o,"Color.picker")).find(".fr-color-hex-layer input");if(t.length){var r=t.val();"background"===o?e(r):a(r)}},text:a,back:function o(){m.popups.hide("textColor.picker"),m.popups.hide("backgroundColor.picker"),m.toolbar.showInline()}}},v.DefineIcon("textColor",{NAME:"tint",SVG_KEY:"textColor"}),v.RegisterCommand("textColor",{title:"Text Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("textColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("textColor.picker")):this.colors.showColorsPopup("textColor")}}),v.RegisterCommand("applytextColor",{undo:!0,callback:function(o,t){this.colors.text(t)}}),v.RegisterCommand("customTextColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("text")}}),v.DefineIcon("backgroundColor",{NAME:"paint-brush",SVG_KEY:"backgroundColor"}),v.RegisterCommand("backgroundColor",{title:"Background Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("backgroundColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("backgroundColor.picker")):this.colors.showColorsPopup("backgroundColor")}}),v.RegisterCommand("applybackgroundColor",{undo:!0,callback:function(o,t){this.colors.background(t)}}),v.RegisterCommand("customBackgroundColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("background")}}),v.DefineIcon("colorsBack",{NAME:"arrow-left",SVG_KEY:"back"}),v.RegisterCommand("colorsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.colors.back()}}),v.DefineIcon("remove",{NAME:"eraser",SVG_KEY:"remove"})});
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.5.2 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.6.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2025 Froala Labs
5
5
  */