wysiwyg-rails 4.2.1 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) 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 +18 -24
  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 +1 -1
  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 +2 -2
  55. data/app/assets/javascripts/plugins/filestack.min.js +7 -0
  56. data/app/assets/javascripts/plugins/font_family.min.js +1 -1
  57. data/app/assets/javascripts/plugins/font_size.min.js +1 -1
  58. data/app/assets/javascripts/plugins/forms.min.js +1 -1
  59. data/app/assets/javascripts/plugins/fullscreen.min.js +1 -1
  60. data/app/assets/javascripts/plugins/help.min.js +1 -1
  61. data/app/assets/javascripts/plugins/image.min.js +2 -2
  62. data/app/assets/javascripts/plugins/image_manager.min.js +1 -1
  63. data/app/assets/javascripts/plugins/inline_class.min.js +1 -1
  64. data/app/assets/javascripts/plugins/inline_style.min.js +1 -1
  65. data/app/assets/javascripts/plugins/line_breaker.min.js +1 -1
  66. data/app/assets/javascripts/plugins/line_height.min.js +1 -1
  67. data/app/assets/javascripts/plugins/link.min.js +1 -1
  68. data/app/assets/javascripts/plugins/lists.min.js +1 -1
  69. data/app/assets/javascripts/plugins/markdown.min.js +1 -1
  70. data/app/assets/javascripts/plugins/paragraph_format.min.js +1 -1
  71. data/app/assets/javascripts/plugins/paragraph_style.min.js +1 -1
  72. data/app/assets/javascripts/plugins/print.min.js +1 -1
  73. data/app/assets/javascripts/plugins/quick_insert.min.js +1 -1
  74. data/app/assets/javascripts/plugins/quote.min.js +1 -1
  75. data/app/assets/javascripts/plugins/save.min.js +1 -1
  76. data/app/assets/javascripts/plugins/special_characters.min.js +1 -1
  77. data/app/assets/javascripts/plugins/table.min.js +2 -2
  78. data/app/assets/javascripts/plugins/track_changes.min.js +2 -2
  79. data/app/assets/javascripts/plugins/trim_video.min.js +1 -1
  80. data/app/assets/javascripts/plugins/url.min.js +1 -1
  81. data/app/assets/javascripts/plugins/video.min.js +2 -2
  82. data/app/assets/javascripts/plugins/word_counter.min.js +1 -1
  83. data/app/assets/javascripts/plugins/word_paste.min.js +2 -2
  84. data/app/assets/javascripts/plugins.pkgd.min.js +2 -2
  85. data/app/assets/javascripts/third_party/embedly.min.js +1 -1
  86. data/app/assets/javascripts/third_party/font_awesome.min.js +1 -1
  87. data/app/assets/javascripts/third_party/image_tui.min.js +1 -1
  88. data/app/assets/javascripts/third_party/showdown.min.js +1 -1
  89. data/app/assets/javascripts/third_party/spell_checker.min.js +1 -1
  90. data/app/assets/stylesheets/froala_editor.css +1 -1
  91. data/app/assets/stylesheets/froala_editor.min.css +1 -1
  92. data/app/assets/stylesheets/froala_editor.pkgd.css +37 -1
  93. data/app/assets/stylesheets/froala_editor.pkgd.min.css +2 -2
  94. data/app/assets/stylesheets/froala_style.css +1 -1
  95. data/app/assets/stylesheets/froala_style.min.css +1 -1
  96. data/app/assets/stylesheets/plugins/char_counter.css +1 -1
  97. data/app/assets/stylesheets/plugins/char_counter.min.css +1 -1
  98. data/app/assets/stylesheets/plugins/code_view.css +1 -1
  99. data/app/assets/stylesheets/plugins/code_view.min.css +1 -1
  100. data/app/assets/stylesheets/plugins/colors.css +1 -1
  101. data/app/assets/stylesheets/plugins/colors.min.css +1 -1
  102. data/app/assets/stylesheets/plugins/draggable.css +1 -1
  103. data/app/assets/stylesheets/plugins/draggable.min.css +1 -1
  104. data/app/assets/stylesheets/plugins/emoticons.css +1 -1
  105. data/app/assets/stylesheets/plugins/emoticons.min.css +1 -1
  106. data/app/assets/stylesheets/plugins/file.css +1 -1
  107. data/app/assets/stylesheets/plugins/file.min.css +1 -1
  108. data/app/assets/stylesheets/plugins/files_manager.css +1 -1
  109. data/app/assets/stylesheets/plugins/files_manager.min.css +1 -1
  110. data/app/assets/stylesheets/plugins/filestack.css +41 -0
  111. data/app/assets/stylesheets/plugins/filestack.min.css +7 -0
  112. data/app/assets/stylesheets/plugins/fullscreen.css +1 -1
  113. data/app/assets/stylesheets/plugins/fullscreen.min.css +1 -1
  114. data/app/assets/stylesheets/plugins/help.css +1 -1
  115. data/app/assets/stylesheets/plugins/help.min.css +1 -1
  116. data/app/assets/stylesheets/plugins/image.css +1 -1
  117. data/app/assets/stylesheets/plugins/image.min.css +1 -1
  118. data/app/assets/stylesheets/plugins/image_manager.css +1 -1
  119. data/app/assets/stylesheets/plugins/image_manager.min.css +1 -1
  120. data/app/assets/stylesheets/plugins/line_breaker.css +1 -1
  121. data/app/assets/stylesheets/plugins/line_breaker.min.css +1 -1
  122. data/app/assets/stylesheets/plugins/markdown.css +1 -1
  123. data/app/assets/stylesheets/plugins/markdown.min.css +1 -1
  124. data/app/assets/stylesheets/plugins/quick_insert.css +1 -1
  125. data/app/assets/stylesheets/plugins/quick_insert.min.css +1 -1
  126. data/app/assets/stylesheets/plugins/special_characters.css +1 -1
  127. data/app/assets/stylesheets/plugins/special_characters.min.css +1 -1
  128. data/app/assets/stylesheets/plugins/table.css +1 -1
  129. data/app/assets/stylesheets/plugins/table.min.css +1 -1
  130. data/app/assets/stylesheets/plugins/trim_video.css +1 -1
  131. data/app/assets/stylesheets/plugins/trim_video.min.css +1 -1
  132. data/app/assets/stylesheets/plugins/video.css +1 -1
  133. data/app/assets/stylesheets/plugins/video.min.css +1 -1
  134. data/app/assets/stylesheets/plugins.pkgd.css +37 -1
  135. data/app/assets/stylesheets/plugins.pkgd.min.css +2 -2
  136. data/app/assets/stylesheets/themes/dark.css +3 -1
  137. data/app/assets/stylesheets/themes/dark.min.css +2 -2
  138. data/app/assets/stylesheets/themes/gray.css +3 -1
  139. data/app/assets/stylesheets/themes/gray.min.css +2 -2
  140. data/app/assets/stylesheets/themes/royal.css +3 -1
  141. data/app/assets/stylesheets/themes/royal.min.css +2 -2
  142. data/app/assets/stylesheets/third_party/embedly.css +1 -1
  143. data/app/assets/stylesheets/third_party/embedly.min.css +1 -1
  144. data/app/assets/stylesheets/third_party/font_awesome.css +1 -1
  145. data/app/assets/stylesheets/third_party/font_awesome.min.css +1 -1
  146. data/app/assets/stylesheets/third_party/image_tui.css +1 -1
  147. data/app/assets/stylesheets/third_party/image_tui.min.css +1 -1
  148. data/app/assets/stylesheets/third_party/spell_checker.css +1 -1
  149. data/app/assets/stylesheets/third_party/spell_checker.min.css +1 -1
  150. data/lib/wysiwyg-rails/version.rb +1 -1
  151. metadata +5 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -12,33 +12,27 @@
12
12
 
13
13
  FE = FE && FE.hasOwnProperty('default') ? FE['default'] : FE;
14
14
 
15
- function _defineProperty(obj, key, value) {
16
- key = _toPropertyKey(key);
17
- if (key in obj) {
18
- Object.defineProperty(obj, key, {
19
- value: value,
20
- enumerable: true,
21
- configurable: true,
22
- writable: true
23
- });
24
- } else {
25
- obj[key] = value;
26
- }
27
- return obj;
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;
28
22
  }
29
- function _toPrimitive(input, hint) {
30
- if (typeof input !== "object" || input === null) return input;
31
- var prim = input[Symbol.toPrimitive];
32
- if (prim !== undefined) {
33
- var res = prim.call(input, hint || "default");
34
- if (typeof res !== "object") return res;
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;
35
29
  throw new TypeError("@@toPrimitive must return a primitive value.");
36
30
  }
37
- return (hint === "string" ? String : Number)(input);
31
+ return ("string" === r ? String : Number)(t);
38
32
  }
39
- function _toPropertyKey(arg) {
40
- var key = _toPrimitive(arg, "string");
41
- return typeof key === "symbol" ? key : String(key);
33
+ function _toPropertyKey(t) {
34
+ var i = _toPrimitive(t, "string");
35
+ return "symbol" == typeof i ? i : i + "";
42
36
  }
43
37
 
44
38
  FE.LANGUAGE['ko'] = {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 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.opts.iframe&&n.markdown&&n.markdown.isEnabled()?n.$el.text()||"":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}}});
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v4.2.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.3.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
4
  * Copyright 2014-2024 Froala Labs
5
5
  */