wysiwyg-rails 4.1.3 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/froala_editor.min.js +3 -3
  3. data/app/assets/javascripts/froala_editor.pkgd.min.js +3 -3
  4. data/app/assets/javascripts/languages/ar.js +2 -2
  5. data/app/assets/javascripts/languages/bs.js +2 -2
  6. data/app/assets/javascripts/languages/cs.js +2 -2
  7. data/app/assets/javascripts/languages/da.js +2 -2
  8. data/app/assets/javascripts/languages/de.js +2 -2
  9. data/app/assets/javascripts/languages/el.js +2 -2
  10. data/app/assets/javascripts/languages/en_ca.js +2 -2
  11. data/app/assets/javascripts/languages/en_gb.js +2 -2
  12. data/app/assets/javascripts/languages/es.js +2 -2
  13. data/app/assets/javascripts/languages/et.js +2 -2
  14. data/app/assets/javascripts/languages/fa.js +2 -2
  15. data/app/assets/javascripts/languages/fi.js +2 -2
  16. data/app/assets/javascripts/languages/fr.js +2 -2
  17. data/app/assets/javascripts/languages/he.js +2 -2
  18. data/app/assets/javascripts/languages/hr.js +2 -2
  19. data/app/assets/javascripts/languages/hu.js +2 -2
  20. data/app/assets/javascripts/languages/id.js +2 -2
  21. data/app/assets/javascripts/languages/it.js +2 -2
  22. data/app/assets/javascripts/languages/ja.js +2 -2
  23. data/app/assets/javascripts/languages/ko.js +19 -6
  24. data/app/assets/javascripts/languages/ku.js +2 -2
  25. data/app/assets/javascripts/languages/me.js +2 -2
  26. data/app/assets/javascripts/languages/nb.js +2 -2
  27. data/app/assets/javascripts/languages/nl.js +2 -2
  28. data/app/assets/javascripts/languages/pl.js +2 -2
  29. data/app/assets/javascripts/languages/pt_br.js +2 -2
  30. data/app/assets/javascripts/languages/pt_pt.js +2 -2
  31. data/app/assets/javascripts/languages/ro.js +2 -2
  32. data/app/assets/javascripts/languages/ru.js +2 -2
  33. data/app/assets/javascripts/languages/sk.js +2 -2
  34. data/app/assets/javascripts/languages/sl.js +2 -2
  35. data/app/assets/javascripts/languages/sr.js +2 -2
  36. data/app/assets/javascripts/languages/sv.js +2 -2
  37. data/app/assets/javascripts/languages/th.js +2 -2
  38. data/app/assets/javascripts/languages/tr.js +2 -2
  39. data/app/assets/javascripts/languages/uk.js +2 -2
  40. data/app/assets/javascripts/languages/vi.js +2 -2
  41. data/app/assets/javascripts/languages/zh_cn.js +2 -2
  42. data/app/assets/javascripts/languages/zh_tw.js +2 -2
  43. data/app/assets/javascripts/plugins/align.min.js +2 -2
  44. data/app/assets/javascripts/plugins/char_counter.min.js +2 -2
  45. data/app/assets/javascripts/plugins/code_beautifier.min.js +2 -2
  46. data/app/assets/javascripts/plugins/code_view.min.js +2 -2
  47. data/app/assets/javascripts/plugins/colors.min.js +2 -2
  48. data/app/assets/javascripts/plugins/cryptojs.min.js +2 -2
  49. data/app/assets/javascripts/plugins/draggable.min.js +2 -2
  50. data/app/assets/javascripts/plugins/edit_in_popup.min.js +2 -2
  51. data/app/assets/javascripts/plugins/emoticons.min.js +2 -2
  52. data/app/assets/javascripts/plugins/entities.min.js +2 -2
  53. data/app/assets/javascripts/plugins/file.min.js +2 -2
  54. data/app/assets/javascripts/plugins/files_manager.min.js +2 -2
  55. data/app/assets/javascripts/plugins/font_family.min.js +2 -2
  56. data/app/assets/javascripts/plugins/font_size.min.js +2 -2
  57. data/app/assets/javascripts/plugins/forms.min.js +2 -2
  58. data/app/assets/javascripts/plugins/fullscreen.min.js +2 -2
  59. data/app/assets/javascripts/plugins/help.min.js +2 -2
  60. data/app/assets/javascripts/plugins/image.min.js +3 -3
  61. data/app/assets/javascripts/plugins/image_manager.min.js +2 -2
  62. data/app/assets/javascripts/plugins/inline_class.min.js +2 -2
  63. data/app/assets/javascripts/plugins/inline_style.min.js +2 -2
  64. data/app/assets/javascripts/plugins/line_breaker.min.js +2 -2
  65. data/app/assets/javascripts/plugins/line_height.min.js +2 -2
  66. data/app/assets/javascripts/plugins/link.min.js +2 -2
  67. data/app/assets/javascripts/plugins/lists.min.js +3 -3
  68. data/app/assets/javascripts/plugins/markdown.min.js +3 -3
  69. data/app/assets/javascripts/plugins/paragraph_format.min.js +2 -2
  70. data/app/assets/javascripts/plugins/paragraph_style.min.js +2 -2
  71. data/app/assets/javascripts/plugins/print.min.js +2 -2
  72. data/app/assets/javascripts/plugins/quick_insert.min.js +3 -3
  73. data/app/assets/javascripts/plugins/quote.min.js +2 -2
  74. data/app/assets/javascripts/plugins/save.min.js +2 -2
  75. data/app/assets/javascripts/plugins/special_characters.min.js +2 -2
  76. data/app/assets/javascripts/plugins/table.min.js +3 -3
  77. data/app/assets/javascripts/plugins/track_changes.min.js +3 -3
  78. data/app/assets/javascripts/plugins/trim_video.min.js +2 -2
  79. data/app/assets/javascripts/plugins/url.min.js +2 -2
  80. data/app/assets/javascripts/plugins/video.min.js +2 -2
  81. data/app/assets/javascripts/plugins/word_counter.min.js +7 -0
  82. data/app/assets/javascripts/plugins/word_paste.min.js +3 -3
  83. data/app/assets/javascripts/plugins.pkgd.min.js +3 -3
  84. data/app/assets/javascripts/third_party/embedly.min.js +2 -2
  85. data/app/assets/javascripts/third_party/font_awesome.min.js +2 -2
  86. data/app/assets/javascripts/third_party/image_tui.min.js +2 -2
  87. data/app/assets/javascripts/third_party/showdown.min.js +2 -2
  88. data/app/assets/javascripts/third_party/spell_checker.min.js +2 -2
  89. data/app/assets/stylesheets/froala_editor.css +6 -4
  90. data/app/assets/stylesheets/froala_editor.min.css +3 -3
  91. data/app/assets/stylesheets/froala_editor.pkgd.css +30 -16
  92. data/app/assets/stylesheets/froala_editor.pkgd.min.css +3 -3
  93. data/app/assets/stylesheets/froala_style.css +26 -14
  94. data/app/assets/stylesheets/froala_style.min.css +3 -3
  95. data/app/assets/stylesheets/plugins/char_counter.css +2 -2
  96. data/app/assets/stylesheets/plugins/char_counter.min.css +2 -2
  97. data/app/assets/stylesheets/plugins/code_view.css +2 -2
  98. data/app/assets/stylesheets/plugins/code_view.min.css +2 -2
  99. data/app/assets/stylesheets/plugins/colors.css +2 -2
  100. data/app/assets/stylesheets/plugins/colors.min.css +2 -2
  101. data/app/assets/stylesheets/plugins/draggable.css +2 -2
  102. data/app/assets/stylesheets/plugins/draggable.min.css +2 -2
  103. data/app/assets/stylesheets/plugins/emoticons.css +2 -2
  104. data/app/assets/stylesheets/plugins/emoticons.min.css +2 -2
  105. data/app/assets/stylesheets/plugins/file.css +2 -2
  106. data/app/assets/stylesheets/plugins/file.min.css +2 -2
  107. data/app/assets/stylesheets/plugins/files_manager.css +2 -2
  108. data/app/assets/stylesheets/plugins/files_manager.min.css +2 -2
  109. data/app/assets/stylesheets/plugins/fullscreen.css +2 -2
  110. data/app/assets/stylesheets/plugins/fullscreen.min.css +2 -2
  111. data/app/assets/stylesheets/plugins/help.css +2 -2
  112. data/app/assets/stylesheets/plugins/help.min.css +2 -2
  113. data/app/assets/stylesheets/plugins/image.css +2 -2
  114. data/app/assets/stylesheets/plugins/image.min.css +2 -2
  115. data/app/assets/stylesheets/plugins/image_manager.css +2 -2
  116. data/app/assets/stylesheets/plugins/image_manager.min.css +2 -2
  117. data/app/assets/stylesheets/plugins/line_breaker.css +2 -2
  118. data/app/assets/stylesheets/plugins/line_breaker.min.css +2 -2
  119. data/app/assets/stylesheets/plugins/markdown.css +2 -2
  120. data/app/assets/stylesheets/plugins/markdown.min.css +2 -2
  121. data/app/assets/stylesheets/plugins/quick_insert.css +2 -2
  122. data/app/assets/stylesheets/plugins/quick_insert.min.css +2 -2
  123. data/app/assets/stylesheets/plugins/special_characters.css +2 -2
  124. data/app/assets/stylesheets/plugins/special_characters.min.css +2 -2
  125. data/app/assets/stylesheets/plugins/table.css +2 -2
  126. data/app/assets/stylesheets/plugins/table.min.css +2 -2
  127. data/app/assets/stylesheets/plugins/trim_video.css +2 -2
  128. data/app/assets/stylesheets/plugins/trim_video.min.css +2 -2
  129. data/app/assets/stylesheets/plugins/video.css +2 -2
  130. data/app/assets/stylesheets/plugins/video.min.css +2 -2
  131. data/app/assets/stylesheets/plugins.pkgd.css +2 -2
  132. data/app/assets/stylesheets/plugins.pkgd.min.css +2 -2
  133. data/app/assets/stylesheets/themes/dark.css +26 -14
  134. data/app/assets/stylesheets/themes/dark.min.css +3 -3
  135. data/app/assets/stylesheets/themes/gray.css +26 -14
  136. data/app/assets/stylesheets/themes/gray.min.css +3 -3
  137. data/app/assets/stylesheets/themes/royal.css +26 -14
  138. data/app/assets/stylesheets/themes/royal.min.css +3 -3
  139. data/app/assets/stylesheets/third_party/embedly.css +2 -2
  140. data/app/assets/stylesheets/third_party/embedly.min.css +2 -2
  141. data/app/assets/stylesheets/third_party/font_awesome.css +2 -2
  142. data/app/assets/stylesheets/third_party/font_awesome.min.css +2 -2
  143. data/app/assets/stylesheets/third_party/image_tui.css +2 -2
  144. data/app/assets/stylesheets/third_party/image_tui.min.css +2 -2
  145. data/app/assets/stylesheets/third_party/spell_checker.css +2 -2
  146. data/app/assets/stylesheets/third_party/spell_checker.min.css +2 -2
  147. data/lib/wysiwyg-rails/version.rb +1 -1
  148. metadata +5 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -13,6 +13,7 @@
13
13
  FE = FE && FE.hasOwnProperty('default') ? FE['default'] : FE;
14
14
 
15
15
  function _defineProperty(obj, key, value) {
16
+ key = _toPropertyKey(key);
16
17
  if (key in obj) {
17
18
  Object.defineProperty(obj, key, {
18
19
  value: value,
@@ -23,13 +24,25 @@
23
24
  } else {
24
25
  obj[key] = value;
25
26
  }
26
-
27
27
  return obj;
28
28
  }
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;
35
+ throw new TypeError("@@toPrimitive must return a primitive value.");
36
+ }
37
+ return (hint === "string" ? String : Number)(input);
38
+ }
39
+ function _toPropertyKey(arg) {
40
+ var key = _toPrimitive(arg, "string");
41
+ return typeof key === "symbol" ? key : String(key);
42
+ }
29
43
 
30
- var _translation;
31
44
  FE.LANGUAGE['ko'] = {
32
- translation: (_translation = {
45
+ translation: _defineProperty(_defineProperty(_defineProperty(_defineProperty({
33
46
  // Place holder
34
47
  'Type something': "\uB0B4\uC6A9\uC744 \uC785\uB825\uD558\uC138\uC694",
35
48
  // Missing translations
@@ -298,7 +311,7 @@
298
311
  'Word Paste Detected': "\uC6CC\uB4DC \uBD99\uC5EC \uB123\uAE30\uAC00 \uAC80\uCD9C \uB418\uC5C8\uC2B5\uB2C8\uB2E4.",
299
312
  // Character Counter
300
313
  'Characters': '문자'
301
- }, _defineProperty(_translation, "More Text", '더 본문'), _defineProperty(_translation, 'More Paragraph', '더 절'), _defineProperty(_translation, "More Rich", '더 풍부한'), _defineProperty(_translation, "More Misc", '더 기타'), _translation),
314
+ }, "More Text", '더 본문'), 'More Paragraph', '더 절'), "More Rich", '더 풍부한'), "More Misc", '더 기타'),
302
315
  direction: 'ltr'
303
316
  };
304
317
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
7
  (function (global, factory) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
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"})});
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * froala_editor v4.1.3 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v4.2.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2023 Froala Labs
4
+ * Copyright 2014-2024 Froala Labs
5
5
  */
6
6
 
7
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}}});