activeadmin_froala_editor 1.1.0 → 1.2.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 (153) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -6
  3. data/Rakefile +11 -0
  4. data/app/assets/javascripts/activeadmin/froala_editor/froala_editor.min.js +3 -3
  5. data/app/assets/javascripts/activeadmin/froala_editor/froala_editor.pkgd.min.js +3 -3
  6. data/app/assets/javascripts/activeadmin/froala_editor/languages/ar.js +2 -2
  7. data/app/assets/javascripts/activeadmin/froala_editor/languages/bs.js +2 -2
  8. data/app/assets/javascripts/activeadmin/froala_editor/languages/cs.js +2 -2
  9. data/app/assets/javascripts/activeadmin/froala_editor/languages/da.js +2 -2
  10. data/app/assets/javascripts/activeadmin/froala_editor/languages/de.js +2 -2
  11. data/app/assets/javascripts/activeadmin/froala_editor/languages/el.js +2 -2
  12. data/app/assets/javascripts/activeadmin/froala_editor/languages/en_ca.js +2 -2
  13. data/app/assets/javascripts/activeadmin/froala_editor/languages/en_gb.js +2 -2
  14. data/app/assets/javascripts/activeadmin/froala_editor/languages/es.js +2 -2
  15. data/app/assets/javascripts/activeadmin/froala_editor/languages/et.js +2 -2
  16. data/app/assets/javascripts/activeadmin/froala_editor/languages/fa.js +2 -2
  17. data/app/assets/javascripts/activeadmin/froala_editor/languages/fi.js +2 -2
  18. data/app/assets/javascripts/activeadmin/froala_editor/languages/fr.js +4 -4
  19. data/app/assets/javascripts/activeadmin/froala_editor/languages/he.js +2 -2
  20. data/app/assets/javascripts/activeadmin/froala_editor/languages/hr.js +2 -2
  21. data/app/assets/javascripts/activeadmin/froala_editor/languages/hu.js +2 -2
  22. data/app/assets/javascripts/activeadmin/froala_editor/languages/id.js +2 -2
  23. data/app/assets/javascripts/activeadmin/froala_editor/languages/it.js +2 -2
  24. data/app/assets/javascripts/activeadmin/froala_editor/languages/ja.js +6 -3
  25. data/app/assets/javascripts/activeadmin/froala_editor/languages/ko.js +24 -17
  26. data/app/assets/javascripts/activeadmin/froala_editor/languages/ku.js +2 -2
  27. data/app/assets/javascripts/activeadmin/froala_editor/languages/me.js +2 -2
  28. data/app/assets/javascripts/activeadmin/froala_editor/languages/nb.js +2 -2
  29. data/app/assets/javascripts/activeadmin/froala_editor/languages/nl.js +5 -4
  30. data/app/assets/javascripts/activeadmin/froala_editor/languages/pl.js +2 -2
  31. data/app/assets/javascripts/activeadmin/froala_editor/languages/pt_br.js +19 -2
  32. data/app/assets/javascripts/activeadmin/froala_editor/languages/pt_pt.js +2 -2
  33. data/app/assets/javascripts/activeadmin/froala_editor/languages/ro.js +2 -2
  34. data/app/assets/javascripts/activeadmin/froala_editor/languages/ru.js +2 -2
  35. data/app/assets/javascripts/activeadmin/froala_editor/languages/sk.js +2 -2
  36. data/app/assets/javascripts/activeadmin/froala_editor/languages/sl.js +2 -2
  37. data/app/assets/javascripts/activeadmin/froala_editor/languages/sr.js +2 -2
  38. data/app/assets/javascripts/activeadmin/froala_editor/languages/sv.js +2 -2
  39. data/app/assets/javascripts/activeadmin/froala_editor/languages/th.js +2 -2
  40. data/app/assets/javascripts/activeadmin/froala_editor/languages/tr.js +2 -2
  41. data/app/assets/javascripts/activeadmin/froala_editor/languages/uk.js +2 -2
  42. data/app/assets/javascripts/activeadmin/froala_editor/languages/vi.js +2 -2
  43. data/app/assets/javascripts/activeadmin/froala_editor/languages/zh_cn.js +2 -2
  44. data/app/assets/javascripts/activeadmin/froala_editor/languages/zh_tw.js +2 -2
  45. data/app/assets/javascripts/activeadmin/froala_editor/plugins/align.min.js +3 -3
  46. data/app/assets/javascripts/activeadmin/froala_editor/plugins/char_counter.min.js +3 -3
  47. data/app/assets/javascripts/activeadmin/froala_editor/plugins/code_beautifier.min.js +3 -3
  48. data/app/assets/javascripts/activeadmin/froala_editor/plugins/code_view.min.js +2 -2
  49. data/app/assets/javascripts/activeadmin/froala_editor/plugins/colors.min.js +2 -2
  50. data/app/assets/javascripts/activeadmin/froala_editor/plugins/cryptojs.min.js +2 -2
  51. data/app/assets/javascripts/activeadmin/froala_editor/plugins/draggable.min.js +3 -3
  52. data/app/assets/javascripts/activeadmin/froala_editor/plugins/edit_in_popup.min.js +2 -2
  53. data/app/assets/javascripts/activeadmin/froala_editor/plugins/emoticons.min.js +3 -3
  54. data/app/assets/javascripts/activeadmin/froala_editor/plugins/entities.min.js +2 -2
  55. data/app/assets/javascripts/activeadmin/froala_editor/plugins/file.min.js +3 -3
  56. data/app/assets/javascripts/activeadmin/froala_editor/plugins/files_manager.min.js +3 -3
  57. data/app/assets/javascripts/activeadmin/froala_editor/plugins/filestack.min.js +7 -0
  58. data/app/assets/javascripts/activeadmin/froala_editor/plugins/font_family.min.js +2 -2
  59. data/app/assets/javascripts/activeadmin/froala_editor/plugins/font_size.min.js +3 -3
  60. data/app/assets/javascripts/activeadmin/froala_editor/plugins/forms.min.js +2 -2
  61. data/app/assets/javascripts/activeadmin/froala_editor/plugins/fullscreen.min.js +3 -3
  62. data/app/assets/javascripts/activeadmin/froala_editor/plugins/help.min.js +2 -2
  63. data/app/assets/javascripts/activeadmin/froala_editor/plugins/image.min.js +3 -3
  64. data/app/assets/javascripts/activeadmin/froala_editor/plugins/image_manager.min.js +2 -2
  65. data/app/assets/javascripts/activeadmin/froala_editor/plugins/inline_class.min.js +2 -2
  66. data/app/assets/javascripts/activeadmin/froala_editor/plugins/inline_style.min.js +2 -2
  67. data/app/assets/javascripts/activeadmin/froala_editor/plugins/line_breaker.min.js +3 -3
  68. data/app/assets/javascripts/activeadmin/froala_editor/plugins/line_height.min.js +3 -3
  69. data/app/assets/javascripts/activeadmin/froala_editor/plugins/link.min.js +3 -3
  70. data/app/assets/javascripts/activeadmin/froala_editor/plugins/lists.min.js +3 -3
  71. data/app/assets/javascripts/activeadmin/froala_editor/plugins/markdown.min.js +3 -3
  72. data/app/assets/javascripts/activeadmin/froala_editor/plugins/paragraph_format.min.js +2 -2
  73. data/app/assets/javascripts/activeadmin/froala_editor/plugins/paragraph_style.min.js +2 -2
  74. data/app/assets/javascripts/activeadmin/froala_editor/plugins/print.min.js +3 -3
  75. data/app/assets/javascripts/activeadmin/froala_editor/plugins/quick_insert.min.js +3 -3
  76. data/app/assets/javascripts/activeadmin/froala_editor/plugins/quote.min.js +2 -2
  77. data/app/assets/javascripts/activeadmin/froala_editor/plugins/save.min.js +2 -2
  78. data/app/assets/javascripts/activeadmin/froala_editor/plugins/special_characters.min.js +3 -3
  79. data/app/assets/javascripts/activeadmin/froala_editor/plugins/table.min.js +3 -3
  80. data/app/assets/javascripts/activeadmin/froala_editor/plugins/track_changes.min.js +3 -3
  81. data/app/assets/javascripts/activeadmin/froala_editor/plugins/trim_video.min.js +2 -2
  82. data/app/assets/javascripts/activeadmin/froala_editor/plugins/url.min.js +3 -3
  83. data/app/assets/javascripts/activeadmin/froala_editor/plugins/video.min.js +3 -3
  84. data/app/assets/javascripts/activeadmin/froala_editor/plugins/word_counter.min.js +7 -0
  85. data/app/assets/javascripts/activeadmin/froala_editor/plugins/word_paste.min.js +3 -3
  86. data/app/assets/javascripts/activeadmin/froala_editor/plugins.pkgd.min.js +3 -3
  87. data/app/assets/javascripts/activeadmin/froala_editor/third_party/embedly.min.js +2 -2
  88. data/app/assets/javascripts/activeadmin/froala_editor/third_party/font_awesome.min.js +2 -2
  89. data/app/assets/javascripts/activeadmin/froala_editor/third_party/image_tui.min.js +2 -2
  90. data/app/assets/javascripts/activeadmin/froala_editor/third_party/showdown.min.js +2 -2
  91. data/app/assets/javascripts/activeadmin/froala_editor/third_party/spell_checker.min.js +2 -2
  92. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.css +17 -6
  93. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.min.css +3 -3
  94. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.pkgd.css +158 -45
  95. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.pkgd.min.css +3 -3
  96. data/app/assets/stylesheets/activeadmin/froala_editor/froala_style.css +37 -14
  97. data/app/assets/stylesheets/activeadmin/froala_editor/froala_style.min.css +3 -3
  98. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/char_counter.css +2 -2
  99. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/char_counter.min.css +2 -2
  100. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/code_view.css +2 -2
  101. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/code_view.min.css +2 -2
  102. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/colors.css +2 -2
  103. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/colors.min.css +2 -2
  104. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/draggable.css +2 -2
  105. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/draggable.min.css +2 -2
  106. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/emoticons.css +2 -2
  107. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/emoticons.min.css +2 -2
  108. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/file.css +2 -2
  109. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/file.min.css +2 -2
  110. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/files_manager.css +21 -21
  111. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/files_manager.min.css +3 -3
  112. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/filestack.css +41 -0
  113. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/filestack.min.css +7 -0
  114. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/fullscreen.css +2 -2
  115. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/fullscreen.min.css +2 -2
  116. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/help.css +2 -2
  117. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/help.min.css +2 -2
  118. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image.css +2 -2
  119. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image.min.css +2 -2
  120. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image_manager.css +2 -2
  121. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image_manager.min.css +2 -2
  122. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/line_breaker.css +2 -2
  123. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/line_breaker.min.css +2 -2
  124. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/markdown.css +2 -2
  125. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/markdown.min.css +2 -2
  126. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/quick_insert.css +2 -2
  127. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/quick_insert.min.css +2 -2
  128. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/special_characters.css +2 -2
  129. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/special_characters.min.css +2 -2
  130. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/table.css +53 -10
  131. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/table.min.css +3 -3
  132. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/trim_video.css +2 -2
  133. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/trim_video.min.css +2 -2
  134. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/video.css +2 -2
  135. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/video.min.css +2 -2
  136. data/app/assets/stylesheets/activeadmin/froala_editor/plugins.pkgd.css +108 -29
  137. data/app/assets/stylesheets/activeadmin/froala_editor/plugins.pkgd.min.css +3 -3
  138. data/app/assets/stylesheets/activeadmin/froala_editor/themes/dark.css +64 -26
  139. data/app/assets/stylesheets/activeadmin/froala_editor/themes/dark.min.css +3 -3
  140. data/app/assets/stylesheets/activeadmin/froala_editor/themes/gray.css +64 -26
  141. data/app/assets/stylesheets/activeadmin/froala_editor/themes/gray.min.css +3 -3
  142. data/app/assets/stylesheets/activeadmin/froala_editor/themes/royal.css +64 -26
  143. data/app/assets/stylesheets/activeadmin/froala_editor/themes/royal.min.css +3 -3
  144. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/embedly.css +2 -2
  145. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/embedly.min.css +2 -2
  146. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/font_awesome.css +2 -2
  147. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/font_awesome.min.css +2 -2
  148. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/image_tui.css +2 -2
  149. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/image_tui.min.css +2 -2
  150. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/spell_checker.css +2 -2
  151. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/spell_checker.min.css +2 -2
  152. data/lib/activeadmin/froala_editor/version.rb +2 -2
  153. metadata +8 -18
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -37,8 +37,9 @@
37
37
  // Font
38
38
  'Font Family': "Polices de caract\xE8res",
39
39
  'Font Size': 'Taille de police',
40
- 'Text Color': 'Couleur de police',
40
+ 'Text Color': 'Couleur du texte',
41
41
  'Background Color': 'Couleur d\'arri\xE8re plan',
42
+ 'Line Height': 'Hauteur de la ligne',
42
43
  // Colors
43
44
  'Colors': 'Couleurs',
44
45
  'Background': "Arri\xE8re-plan",
@@ -52,7 +53,6 @@
52
53
  'Heading 2': 'Titre 2',
53
54
  'Heading 3': 'Titre 3',
54
55
  'Heading 4': 'Titre 4',
55
- 'Line Height': 'Interligne',
56
56
  'Single': 'Célibataire',
57
57
  // Style
58
58
  'Paragraph Style': 'Style de paragraphe',
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -269,7 +269,10 @@
269
269
  'More Text': 'より多くのテキスト',
270
270
  'More Paragraph': 'もっと段落',
271
271
  'More Rich': 'もっとリッチ',
272
- 'More Misc': 'その他'
272
+ 'More Misc': 'その他',
273
+ 'Text Color': 'テキストの色',
274
+ 'Background Color': '背景色',
275
+ 'Line Height': '行の高さ'
273
276
  },
274
277
  direction: 'ltr'
275
278
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -12,24 +12,31 @@
12
12
 
13
13
  FE = FE && FE.hasOwnProperty('default') ? FE['default'] : FE;
14
14
 
15
- function _defineProperty(obj, key, value) {
16
- if (key in obj) {
17
- Object.defineProperty(obj, key, {
18
- value: value,
19
- enumerable: true,
20
- configurable: true,
21
- writable: true
22
- });
23
- } else {
24
- obj[key] = value;
15
+ function _defineProperty(e, r, t) {
16
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
17
+ value: t,
18
+ enumerable: !0,
19
+ configurable: !0,
20
+ writable: !0
21
+ }) : e[r] = t, e;
22
+ }
23
+ function _toPrimitive(t, r) {
24
+ if ("object" != typeof t || !t) return t;
25
+ var e = t[Symbol.toPrimitive];
26
+ if (void 0 !== e) {
27
+ var i = e.call(t, r || "default");
28
+ if ("object" != typeof i) return i;
29
+ throw new TypeError("@@toPrimitive must return a primitive value.");
25
30
  }
26
-
27
- return obj;
31
+ return ("string" === r ? String : Number)(t);
32
+ }
33
+ function _toPropertyKey(t) {
34
+ var i = _toPrimitive(t, "string");
35
+ return "symbol" == typeof i ? i : i + "";
28
36
  }
29
37
 
30
- var _translation;
31
38
  FE.LANGUAGE['ko'] = {
32
- translation: (_translation = {
39
+ translation: _defineProperty(_defineProperty(_defineProperty(_defineProperty({
33
40
  // Place holder
34
41
  'Type something': "\uB0B4\uC6A9\uC744 \uC785\uB825\uD558\uC138\uC694",
35
42
  // Missing translations
@@ -298,7 +305,7 @@
298
305
  'Word Paste Detected': "\uC6CC\uB4DC \uBD99\uC5EC \uB123\uAE30\uAC00 \uAC80\uCD9C \uB418\uC5C8\uC2B5\uB2C8\uB2E4.",
299
306
  // Character Counter
300
307
  'Characters': '문자'
301
- }, _defineProperty(_translation, "More Text", '더 본문'), _defineProperty(_translation, 'More Paragraph', '더 절'), _defineProperty(_translation, "More Rich", '더 풍부한'), _defineProperty(_translation, "More Misc", '더 기타'), _translation),
308
+ }, "More Text", '더 본문'), 'More Paragraph', '더 절'), "More Rich", '더 풍부한'), "More Misc", '더 기타'),
302
309
  direction: 'ltr'
303
310
  };
304
311
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -37,8 +37,9 @@
37
37
  // Font
38
38
  'Font Family': 'Lettertype',
39
39
  'Font Size': 'Lettergrootte',
40
- 'Text color': 'Tekstkleur',
41
- 'Background color': 'Achtergrondkleur',
40
+ 'Text Color': 'Tekstkleur',
41
+ 'Background Color': 'Achtergrondkleur',
42
+ 'Line Height': 'Lijnhoogte',
42
43
  // Colors
43
44
  'Colors': 'Kleuren',
44
45
  'Background': 'Achtergrond',
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -34,6 +34,23 @@
34
34
  'More': 'Mais',
35
35
  'Update': 'Atualizar',
36
36
  'Style': 'Estilo',
37
+ // Basic formatting
38
+ 'Text Color': 'Cor do texto',
39
+ 'Background Color': 'Cor de fundo',
40
+ 'Inline Class': 'Classe Inline',
41
+ 'Default': 'Padrão',
42
+ 'Lower Alpha': 'Alfa minúsculo',
43
+ 'Lower Greek': 'Grego minúsculo',
44
+ 'Lower Roman': 'Roman minúsculo',
45
+ 'Upper Alpha': 'Alfa maiúsculo',
46
+ 'Upper Roman': 'Roman maiúscula',
47
+ 'Circle': 'Círculo',
48
+ 'Disc': 'Disco',
49
+ 'Square': 'Quadrado',
50
+ 'Single': 'Único',
51
+ 'Double': 'Duplo',
52
+ 'Insert Files': 'Inserir arquivos',
53
+ 'Download PDF': 'Baixar PDF',
37
54
  // Font
38
55
  'Font Family': 'Fonte',
39
56
  'Font Size': 'Tamanho',
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
4
+ * Copyright 2014-2025 Froala Labs
5
5
  */
6
6
 
7
- !function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("froala-editor")):"function"==typeof define&&define.amd?define(["froala-editor"],t):t(n.FroalaEditor)}(this,function(i){"use strict";(i=i&&i.hasOwnProperty("default")?i["default"]:i).PLUGINS.align=function(a){var l=a.$;return{apply:function r(n){var t=a.selection.element();if(l(t).parents(".fr-img-caption").length)l(t).css("text-align",n);else{a.selection.save(),a.html.wrap(!0,!0,!0,!0),a.selection.restore();for(var e=a.selection.blocks(),i=0;i<e.length;i++)l(e[i]).css("text-align",n).removeClass("fr-temp-div"),""===l(e[i]).attr("class")&&l(e[i]).removeAttr("class"),""===l(e[i]).attr("style")&&l(e[i]).removeAttr("style");a.selection.save(),a.html.unwrap(),a.selection.restore()}},refresh:function i(n){var t=a.selection.blocks();if(t.length){var e=a.helpers.getAlignment(l(t[0]));n.find("> *").first().replaceWith(a.icon.create("align-".concat(e)))}},refreshOnShow:function o(n,t){var e=a.selection.blocks();if(e.length){var i=a.helpers.getAlignment(l(e[0]));t.find('a.fr-command[data-param1="'.concat(i,'"]')).addClass("fr-active").attr("aria-selected",!0)}},refreshForToolbar:function s(n){var t=a.selection.blocks();if(t.length){var e=a.helpers.getAlignment(l(t[0]));e=e.charAt(0).toUpperCase()+e.slice(1),"align".concat(e)===n.attr("data-cmd")&&n.addClass("fr-active")}}}},i.DefineIcon("align",{NAME:"align-left",SVG_KEY:"alignLeft"}),i.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),i.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),i.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),i.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),i.RegisterCommand("align",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var n='<ul class="fr-dropdown-list" role="presentation">',t=i.COMMANDS.align.options;for(var e in t)t.hasOwnProperty(e)&&(n+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="align"data-param1="\n '.concat(e,'" title="').concat(this.language.translate(t[e]),'">').concat(this.icon.create("align-".concat(e)),'<span class="fr-sr-only">\n ').concat(this.language.translate(t[e]),"</span></a></li>"));return n+="</ul>"},callback:function(n,t){this.align.apply(t)},refresh:function(n){this.align.refresh(n)},refreshOnShow:function(n,t){this.align.refreshOnShow(n,t)},plugin:"align"}),i.RegisterCommand("alignLeft",{type:"button",icon:"align-left",title:"Align Left",callback:function(){this.align.apply("left")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:"align"}),i.RegisterCommand("alignRight",{type:"button",icon:"align-right",title:"Align Right",callback:function(){this.align.apply("right")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:"align"}),i.RegisterCommand("alignCenter",{type:"button",icon:"align-center",title:"Align Center",callback:function(){this.align.apply("center")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:"align"}),i.RegisterCommand("alignJustify",{type:"button",icon:"align-justify",title:"Align Justify",callback:function(){this.align.apply("justify")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:"align"})});
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(i){"use strict";(i=i&&i.hasOwnProperty("default")?i["default"]:i).PLUGINS.align=function(o){var s=o.$;return{apply:function c(e){var t=o.selection.element(),n=s(t).closest(".fr-table-selected"),i=s(t).parents("TD"),a="TD"===t.tagName||i.length&&o.el.contains(i.get(0));if(s(t).parents(".fr-img-caption").length)s(t).css("text-align",e);else if(n.length&&o.el.contains(n[0]))n.find("td").css("text-align",e);else if(a)o.node.isBlock(t)?s(t).css("text-align",e):i.css("text-align",e);else{o.selection.save(),o.html.wrap(!0,!0,!0,!0),o.selection.restore();for(var l=o.selection.blocks(),r=0;r<l.length;r++)s(l[r]).css("text-align",e).removeClass("fr-temp-div"),""===s(l[r]).attr("class")&&s(l[r]).removeAttr("class"),""===s(l[r]).attr("style")&&s(l[r]).removeAttr("style");o.selection.save(),o.html.unwrap(),o.selection.restore()}},refresh:function i(e){var t=o.selection.blocks();if(t.length){var n=o.helpers.getAlignment(s(t[0]));e.find("> *").first().replaceWith(o.icon.create("align-".concat(n)))}},refreshOnShow:function a(e,t){var n=o.selection.blocks();if(n.length){var i=o.helpers.getAlignment(s(n[0]));t.find('a.fr-command[data-param1="'.concat(i,'"]')).addClass("fr-active").attr("aria-selected",!0)}},refreshForToolbar:function l(e){var t=o.selection.blocks();if(t.length){var n=o.helpers.getAlignment(s(t[0]));n=n.charAt(0).toUpperCase()+n.slice(1),"align".concat(n)===e.attr("data-cmd")&&e.addClass("fr-active")}}}},i.DefineIcon("align",{NAME:"align-left",SVG_KEY:"alignLeft"}),i.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),i.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),i.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),i.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),i.RegisterCommand("align",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=i.COMMANDS.align.options;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="align"data-param1="\n '.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.icon.create("align-".concat(n)),'<span class="fr-sr-only">\n ').concat(this.language.translate(t[n]),"</span></a></li>"));return e+="</ul>"},callback:function(e,t){this.align.apply(t)},refresh:function(e){this.align.refresh(e)},refreshOnShow:function(e,t){this.align.refreshOnShow(e,t)},plugin:"align"}),i.RegisterCommand("alignLeft",{type:"button",icon:"align-left",title:"Align Left",callback:function(){this.align.apply("left")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),i.RegisterCommand("alignRight",{type:"button",icon:"align-right",title:"Align Right",callback:function(){this.align.apply("right")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),i.RegisterCommand("alignCenter",{type:"button",icon:"align-center",title:"Align Center",callback:function(){this.align.apply("center")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),i.RegisterCommand("alignJustify",{type:"button",icon:"align-justify",title:"Align Justify",callback:function(){this.align.apply("justify")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"})});
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.0.10 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.5.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2022 Froala Labs
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(n){var r,e=n.$,o=function o(){return(n.el.textContent||"").replace(/\u200B/g,"").length};function t(t){if(n.opts.charCounterMax<0)return!0;if(o()<n.opts.charCounterMax)return!0;var e=t.which;return!(!n.keys.ctrlKey(t)&&n.keys.isCharacter(e)||e===i.KEYCODE.IME)||(t.preventDefault(),t.stopPropagation(),n.events.trigger("charCounter.exceeded"),!1)}function a(t){return n.opts.charCounterMax<0?t:e("<div>").html(t).text().length+o()<=n.opts.charCounterMax?t:(n.events.trigger("charCounter.exceeded"),"")}function c(){if(n.opts.charCounterCount){var t=o()+(0<n.opts.charCounterMax?"/"+n.opts.charCounterMax:"");r.text("".concat(n.language.translate("Characters")," : ").concat(t)),n.opts.toolbarBottom&&r.css("margin-bottom",n.$tb.outerHeight(!0));var e=n.$wp.get(0).offsetWidth-n.$wp.get(0).clientWidth;0<=e&&("rtl"==n.opts.direction?r.css("margin-left",e):r.css("margin-right",e))}}return{_init:function u(){return!!n.$wp&&!!n.opts.charCounterCount&&((r=e(document.createElement("span")).attr("class","fr-counter")).css("bottom",n.$wp.css("border-bottom-width")),n.$second_tb?n.$second_tb.append(r):n.$wp.append(r),n.events.on("keydown",t,!0),n.events.on("paste.afterCleanup",a),n.events.on("keyup contentChanged input",function(){n.events.trigger("charCounter.update")}),n.events.on("charCounter.update",c),n.events.trigger("charCounter.update"),void n.events.on("destroy",function(){e(n.o_win).off("resize.char".concat(n.id)),r.removeData().remove(),r=null}))},count:o}}});
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}}});