Переглянути джерело

Merge branch 'master' of https://github.com/unaio/una

AntonLV 8 роки тому
батько
коміт
fa939668f9
100 змінених файлів з 398 додано та 23488 видалено
  1. 1 1
      modules/boonex/froala/plugins/froala/css/froala_editor.css
  2. 1 1
      modules/boonex/froala/plugins/froala/css/froala_editor.min.css
  3. 1 1
      modules/boonex/froala/plugins/froala/css/froala_editor.pkgd.css
  4. 1 1
      modules/boonex/froala/plugins/froala/css/froala_editor.pkgd.min.css
  5. 4 1
      modules/boonex/froala/plugins/froala/css/froala_style.css
  6. 1 1
      modules/boonex/froala/plugins/froala/css/froala_style.min.css
  7. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/char_counter.css
  8. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/char_counter.min.css
  9. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/code_view.css
  10. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/code_view.min.css
  11. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/colors.css
  12. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/colors.min.css
  13. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/draggable.css
  14. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/draggable.min.css
  15. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/emoticons.css
  16. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/emoticons.min.css
  17. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/file.css
  18. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/file.min.css
  19. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/fullscreen.css
  20. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/fullscreen.min.css
  21. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/help.css
  22. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/help.min.css
  23. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/image.css
  24. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/image.min.css
  25. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/image_manager.css
  26. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/image_manager.min.css
  27. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/line_breaker.css
  28. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/line_breaker.min.css
  29. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/quick_insert.css
  30. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/quick_insert.min.css
  31. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/special_characters.css
  32. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/special_characters.min.css
  33. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/table.css
  34. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/table.min.css
  35. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/video.css
  36. 1 1
      modules/boonex/froala/plugins/froala/css/plugins/video.min.css
  37. 1 1
      modules/boonex/froala/plugins/froala/css/themes/dark.css
  38. 1 1
      modules/boonex/froala/plugins/froala/css/themes/dark.min.css
  39. 1 1
      modules/boonex/froala/plugins/froala/css/themes/gray.css
  40. 1 1
      modules/boonex/froala/plugins/froala/css/themes/gray.min.css
  41. 1 1
      modules/boonex/froala/plugins/froala/css/themes/red.css
  42. 1 1
      modules/boonex/froala/plugins/froala/css/themes/red.min.css
  43. 1 1
      modules/boonex/froala/plugins/froala/css/themes/royal.css
  44. 1 1
      modules/boonex/froala/plugins/froala/css/themes/royal.min.css
  45. 1 1
      modules/boonex/froala/plugins/froala/css/third_party/embedly.css
  46. 1 1
      modules/boonex/froala/plugins/froala/css/third_party/embedly.min.css
  47. 1 1
      modules/boonex/froala/plugins/froala/css/third_party/spell_checker.css
  48. 1 1
      modules/boonex/froala/plugins/froala/css/third_party/spell_checker.min.css
  49. 0 10921
      modules/boonex/froala/plugins/froala/js/froala_editor.js
  50. 1 1
      modules/boonex/froala/plugins/froala/js/froala_editor.min.js
  51. 0 10921
      modules/boonex/froala/plugins/froala/js/froala_editor.pkgd.js
  52. 1 1
      modules/boonex/froala/plugins/froala/js/froala_editor.pkgd.min.js
  53. 1 1
      modules/boonex/froala/plugins/froala/js/languages/ar.js
  54. 1 1
      modules/boonex/froala/plugins/froala/js/languages/bs.js
  55. 1 1
      modules/boonex/froala/plugins/froala/js/languages/cs.js
  56. 1 1
      modules/boonex/froala/plugins/froala/js/languages/da.js
  57. 1 1
      modules/boonex/froala/plugins/froala/js/languages/de.js
  58. 1 1
      modules/boonex/froala/plugins/froala/js/languages/el.js
  59. 1 1
      modules/boonex/froala/plugins/froala/js/languages/en_ca.js
  60. 1 1
      modules/boonex/froala/plugins/froala/js/languages/en_gb.js
  61. 1 1
      modules/boonex/froala/plugins/froala/js/languages/es.js
  62. 1 1
      modules/boonex/froala/plugins/froala/js/languages/et.js
  63. 6 6
      modules/boonex/froala/plugins/froala/js/languages/fa.js
  64. 1 1
      modules/boonex/froala/plugins/froala/js/languages/fi.js
  65. 1 1
      modules/boonex/froala/plugins/froala/js/languages/fr.js
  66. 1 1
      modules/boonex/froala/plugins/froala/js/languages/he.js
  67. 1 1
      modules/boonex/froala/plugins/froala/js/languages/hr.js
  68. 1 1
      modules/boonex/froala/plugins/froala/js/languages/hu.js
  69. 1 1
      modules/boonex/froala/plugins/froala/js/languages/id.js
  70. 1 1
      modules/boonex/froala/plugins/froala/js/languages/it.js
  71. 1 1
      modules/boonex/froala/plugins/froala/js/languages/ja.js
  72. 1 1
      modules/boonex/froala/plugins/froala/js/languages/ko.js
  73. 1 1
      modules/boonex/froala/plugins/froala/js/languages/ku.js
  74. 1 1
      modules/boonex/froala/plugins/froala/js/languages/me.js
  75. 1 1
      modules/boonex/froala/plugins/froala/js/languages/nb.js
  76. 1 1
      modules/boonex/froala/plugins/froala/js/languages/nl.js
  77. 1 1
      modules/boonex/froala/plugins/froala/js/languages/pl.js
  78. 86 86
      modules/boonex/froala/plugins/froala/js/languages/pt_br.js
  79. 1 1
      modules/boonex/froala/plugins/froala/js/languages/pt_pt.js
  80. 1 1
      modules/boonex/froala/plugins/froala/js/languages/ro.js
  81. 19 19
      modules/boonex/froala/plugins/froala/js/languages/ru.js
  82. 1 1
      modules/boonex/froala/plugins/froala/js/languages/sk.js
  83. 1 1
      modules/boonex/froala/plugins/froala/js/languages/sr.js
  84. 1 1
      modules/boonex/froala/plugins/froala/js/languages/sv.js
  85. 1 1
      modules/boonex/froala/plugins/froala/js/languages/th.js
  86. 1 1
      modules/boonex/froala/plugins/froala/js/languages/tr.js
  87. 1 1
      modules/boonex/froala/plugins/froala/js/languages/uk.js
  88. 1 1
      modules/boonex/froala/plugins/froala/js/languages/vi.js
  89. 195 195
      modules/boonex/froala/plugins/froala/js/languages/zh_cn.js
  90. 1 1
      modules/boonex/froala/plugins/froala/js/languages/zh_tw.js
  91. 0 139
      modules/boonex/froala/plugins/froala/js/plugins/align.js
  92. 1 1
      modules/boonex/froala/plugins/froala/js/plugins/align.min.js
  93. 0 154
      modules/boonex/froala/plugins/froala/js/plugins/char_counter.js
  94. 1 1
      modules/boonex/froala/plugins/froala/js/plugins/char_counter.min.js
  95. 0 73
      modules/boonex/froala/plugins/froala/js/plugins/code_beautifier.js
  96. 1 1
      modules/boonex/froala/plugins/froala/js/plugins/code_beautifier.min.js
  97. 0 393
      modules/boonex/froala/plugins/froala/js/plugins/code_view.js
  98. 1 1
      modules/boonex/froala/plugins/froala/js/plugins/code_view.min.js
  99. 0 492
      modules/boonex/froala/plugins/froala/js/plugins/colors.js
  100. 1 1
      modules/boonex/froala/plugins/froala/js/plugins/colors.min.js

+ 1 - 1
modules/boonex/froala/plugins/froala/css/froala_editor.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/froala_editor.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/froala_editor.pkgd.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/froala_editor.pkgd.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 4 - 1
modules/boonex/froala/plugins/froala/css/froala_style.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */
@@ -49,6 +49,9 @@ img.fr-shadow,
   -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
 }
+.fr-view {
+  word-wrap: break-word;
+}
 .fr-view span[style~="color:"] a {
   color: inherit;
 }

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
modules/boonex/froala/plugins/froala/css/froala_style.min.css


+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/char_counter.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/char_counter.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/code_view.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/code_view.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/colors.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/colors.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/draggable.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/draggable.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/emoticons.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/emoticons.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/file.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/file.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/fullscreen.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/fullscreen.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/help.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/help.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/image.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/image.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/image_manager.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/image_manager.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/line_breaker.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/line_breaker.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/quick_insert.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/quick_insert.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/special_characters.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/special_characters.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/table.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/table.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/video.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/plugins/video.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/themes/dark.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/themes/dark.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/themes/gray.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/themes/gray.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/themes/red.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/themes/red.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/themes/royal.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/themes/royal.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/third_party/embedly.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/third_party/embedly.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/third_party/spell_checker.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/css/third_party/spell_checker.min.css

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

Різницю між файлами не показано, бо вона завелика
+ 0 - 10921
modules/boonex/froala/plugins/froala/js/froala_editor.js


Різницю між файлами не показано, бо вона завелика
+ 1 - 1
modules/boonex/froala/plugins/froala/js/froala_editor.min.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 10921
modules/boonex/froala/plugins/froala/js/froala_editor.pkgd.js


Різницю між файлами не показано, бо вона завелика
+ 1 - 1
modules/boonex/froala/plugins/froala/js/froala_editor.pkgd.min.js


+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/ar.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/bs.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/cs.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/da.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/de.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/el.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/en_ca.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/en_gb.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/es.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/et.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 6 - 6
modules/boonex/froala/plugins/froala/js/languages/fa.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */
@@ -40,9 +40,9 @@ $.FE.LANGUAGE['fa'] = {
     "Type something": "\u0686\u06cc\u0632\u06cc \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f",
 
     // Basic formatting
-    "Bold": "\u0636\u062e\u06cc\u0645",
-    "Italic": "\u062e\u0637 \u06a9\u062c",
-    "Underline": "\u062e\u0637 \u0632\u06cc\u0631",
+    "Bold": "ضخیم",
+    "Italic": "خط کج",
+    "Underline": "خط زیر",
     "Strikethrough": "\u062e\u0637 \u062e\u0648\u0631\u062f\u0647",
 
     // Main buttons
@@ -64,7 +64,7 @@ $.FE.LANGUAGE['fa'] = {
     "Colors": "\u0631\u0646\u06af",
     "Background": "\u0632\u0645\u06cc\u0646\u0647 \u0645\u062a\u0646",
     "Text": "\u0645\u062a\u0646",
-    "HEX Color": "شصت رنگ",
+    "HEX Color": "کد رنگ",
 
     // Paragraphs
     "Paragraph Format": "\u0642\u0627\u0644\u0628",
@@ -125,7 +125,7 @@ $.FE.LANGUAGE['fa'] = {
     "Change Size": "\u062a\u063a\u06cc\u06cc\u0631 \u0627\u0646\u062f\u0627\u0632\u0647",
     "Width": "\u0639\u0631\u0636",
     "Height": "\u0627\u0631\u062a\u0641\u0627\u0639",
-    "Something went wrong. Please try again.": "\u0686\u06cc\u0632\u06cc \u0631\u0627 \u0627\u0634\u062a\u0628\u0627\u0647 \u0631\u0641\u062a\u002e \u0644\u0637\u0641\u0627 \u062f\u0648\u0628\u0627\u0631\u0647 \u062a\u0644\u0627\u0634 \u06a9\u0646\u06cc\u062f\u002e",
+    "Something went wrong. Please try again.": "خطایی رخ داده است ، لطفا مجددا تلاش کنید",
     "Image Caption": "عنوان تصویر",
     "Advanced Edit": "ویرایش پیشرفته",
 

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/fi.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/fr.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/he.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/hr.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/hu.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/id.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/it.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/ja.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/ko.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/ku.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/me.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/nb.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/nl.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/pl.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 86 - 86
modules/boonex/froala/plugins/froala/js/languages/pt_br.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */
@@ -41,9 +41,9 @@ $.FE.LANGUAGE['pt_br'] = {
 
     // Basic formatting
     "Bold": "Negrito",
-    "Italic": "It\u00e1lico",
+    "Italic": "Itálito",
     "Underline": "Sublinhar",
-    "Strikethrough": "Riscar",
+    "Strikethrough": "Tachado",
 
     // Main buttons
     "Insert": "Inserir",
@@ -69,27 +69,27 @@ $.FE.LANGUAGE['pt_br'] = {
     // Paragraphs
     "Paragraph Format": "Formatos",
     "Normal": "Normal",
-    "Code": "C\u00f3digo",
-    "Heading 1": "Cabe\u00e7alho 1",
-    "Heading 2": "Cabe\u00e7alho 2",
-    "Heading 3": "Cabe\u00e7alho 3",
-    "Heading 4": "Cabe\u00e7alho 4",
+    "Code": "Código",
+    "Heading 1": "Cabeçalho 1",
+    "Heading 2": "Cabeçalho 2",
+    "Heading 3": "Cabeçalho 3",
+    "Heading 4": "Cabeçalho 4",
 
     // Style
-    "Paragraph Style": "Estilo de par\u00e1grafo",
+    "Paragraph Style": "Estilo de parágrafo",
     "Inline Style": "Estilo embutido",
 
     // Alignment
     "Align": "Alinhar",
-    "Align Left": "Alinhar \u00e0 esquerda",
+    "Align Left": "Alinhar à esquerda",
     "Align Center": "Centralizar",
-    "Align Right": "Alinhar \u00e0 direita",
+    "Align Right": "Alinhar à direita",
     "Align Justify": "Justificar",
     "None": "Nenhum",
 
     // Lists
     "Ordered List": "Lista ordenada",
-    "Unordered List": "Lista n\u00e3o ordenada",
+    "Unordered List": "Lista não ordenada",
 
     // Indent
     "Decrease Indent": "Diminuir recuo",
@@ -106,7 +106,7 @@ $.FE.LANGUAGE['pt_br'] = {
     // Images
     "Insert Image": "Inserir imagem",
     "Upload Image": "Carregar imagem",
-    "By URL": "Por URL",
+    "By URL": "Por um endereço URL",
     "Browse": "Procurar",
     "Drop image": "Arraste sua imagem aqui",
     "or click": "ou clique aqui",
@@ -114,14 +114,14 @@ $.FE.LANGUAGE['pt_br'] = {
     "Loading": "Carregando",
     "Deleting": "Excluindo",
     "Tags": "Etiquetas",
-    "Are you sure? Image will be deleted.": "Voc\u00ea tem certeza? Imagem ser\u00e1 apagada.",
+    "Are you sure? Image will be deleted.": "Você tem certeza? A imagem será apagada.",
     "Replace": "Substituir",
     "Uploading": "Carregando imagem",
     "Loading image": "Carregando imagem",
     "Display": "Exibir",
     "Inline": "Em linha",
     "Break Text": "Texto de quebra",
-    "Alternative Text": "Texto alternativo",
+    "Alternate Text": "Texto alternativo",
     "Change Size": "Alterar tamanho",
     "Width": "Largura",
     "Height": "Altura",
@@ -130,18 +130,18 @@ $.FE.LANGUAGE['pt_br'] = {
     "Advanced Edit": "Edição avançada",
 
     // Video
-    "Insert Video": "Inserir v\u00eddeo",
-    "Embedded Code": "C\u00f3digo embutido",
-    "Paste in a video URL": "Colar em um URL de vídeo",
-    "Drop video": "Solte o video",
-    "Your browser does not support HTML5 video.": "Seu navegador não suporta o vídeo html5.",
-    "Upload Video": "Envio vídeo",
+    "Insert Video": "Inserir vídeo",
+    "Embedded Code": "Código embutido",
+    "Paste in a video URL": "Colar um endereço de vídeo",
+    "Drop video": "Solte o vídeo",
+    "Your browser does not support HTML5 vídeo.": "Seu navegador não suporta vídeo em HTML5.",
+    "Upload Video": "Carregar vídeo",
 
     // Tables
     "Insert Table": "Inserir tabela",
-    "Table Header": "Cabe\u00e7alho da tabela",
+    "Table Header": "Cabeçalho da tabela",
     "Remove Table": "Remover tabela",
-    "Table Style": "estilo de tabela",
+    "Table Style": "Estilo de tabela",
     "Horizontal Align": "Alinhamento horizontal",
     "Row": "Linha",
     "Insert row above": "Inserir linha antes",
@@ -151,11 +151,11 @@ $.FE.LANGUAGE['pt_br'] = {
     "Insert column before": "Inserir coluna antes",
     "Insert column after": "Inserir coluna depois",
     "Delete column": "Excluir coluna",
-    "Cell": "C\u00e9lula",
-    "Merge cells": "Agrupar c\u00e9lulas",
-    "Horizontal split": "Divis\u00e3o horizontal",
-    "Vertical split": "Divis\u00e3o vertical",
-    "Cell Background": "Fundo da c\u00e9lula",
+    "Cell": "Célula",
+    "Merge cells": "Agrupar células",
+    "Horizontal split": "Divisão horizontal",
+    "Vertical split": "Divisão vertical",
+    "Cell Background": "Fundo da célula",
     "Vertical Align": "Alinhamento vertical",
     "Top": "Topo",
     "Middle": "Meio",
@@ -163,73 +163,73 @@ $.FE.LANGUAGE['pt_br'] = {
     "Align Top": "Alinhar topo",
     "Align Middle": "Alinhar meio",
     "Align Bottom": "Alinhar fundo",
-    "Cell Style": "Estilo de c\u00e9lula",
+    "Cell Style": "Estilo de célula",
 
     // Files
-    "Upload File": "Upload de arquivo",
+    "Upload File": "Carregar arquivo",
     "Drop file": "Arraste seu arquivo aqui",
 
     // Emoticons
     "Emoticons": "Emoticons",
-    "Grinning face": "Sorrindo a cara",
-    "Grinning face with smiling eyes": "Sorrindo rosto com olhos sorridentes",
-    "Face with tears of joy": "Rosto com l\u00e1grimas de alegria",
-    "Smiling face with open mouth": "Rosto de sorriso com a boca aberta",
-    "Smiling face with open mouth and smiling eyes": "Rosto de sorriso com a boca aberta e olhos sorridentes",
-    "Smiling face with open mouth and cold sweat": "Rosto de sorriso com a boca aberta e suor frio",
-    "Smiling face with open mouth and tightly-closed eyes": "Rosto de sorriso com a boca aberta e os olhos bem fechados",
-    "Smiling face with halo": "Rosto de sorriso com halo",
-    "Smiling face with horns": "Rosto de sorriso com chifres",
-    "Winking face": "Pisc a rosto",
-    "Smiling face with smiling eyes": "Rosto de sorriso com olhos sorridentes",
+    "Grinning face": "Rosto sorrindo",
+    "Grinning face with smiling eyes": "Rosto sorrindo rosto com olhos sorridentes",
+    "Face with tears of joy": "Rosto com lágrimas de alegria",
+    "Smiling face with open mouth": "Rosto sorrindo com a boca aberta",
+    "Smiling face with open mouth and smiling eyes": "Rosto sorrindo com a boca aberta e olhos sorridentes",
+    "Smiling face with open mouth and cold sweat": "Rosto sorrindo com a boca aberta e suor frio",
+    "Smiling face with open mouth and tightly-closed eyes": "Rosto sorrindo com a boca aberta e os olhos bem fechados",
+    "Smiling face with halo": "Rosto sorrindo com aréola",
+    "Smiling face with horns": "Rosto sorrindo com chifres",
+    "Winking face": "Rosto piscando",
+    "Smiling face with smiling eyes": "Rosto sorrindo com olhos sorridentes",
     "Face savoring delicious food": "Rosto saboreando uma deliciosa comida",
     "Relieved face": "Rosto aliviado",
-    "Smiling face with heart-shaped eyes": "Rosto de sorriso com os olhos em forma de cora\u00e7\u00e3o",
-    "Smiling face with sunglasses": "Rosto de sorriso com \u00f3culos de sol",
+    "Smiling face with heart-shaped eyes": "Rosto sorrindo com os olhos em forma de coração",
+    "Smiling face with sunglasses": "Rosto sorrindo com óculos de sol",
     "Smirking face": "Rosto sorridente",
-    "Neutral face": "Rosto neutra",
+    "Neutral face": "Rosto neutro",
     "Expressionless face": "Rosto inexpressivo",
-    "Unamused face": "O rosto n\u00e3o divertido",
+    "Unamused face": "Rosto sem expressão",
     "Face with cold sweat": "Rosto com suor frio",
-    "Pensive face": "O rosto pensativo",
-    "Confused face": "Cara confusa",
-    "Confounded face": "Rosto at\u00f4nito",
-    "Kissing face": "Beijar Rosto",
+    "Pensive face": "Rosto pensativo",
+    "Confused face": "Rosto confuso",
+    "Confounded face": "Rosto atônito",
+    "Kissing face": "Rosto beijando",
     "Face throwing a kiss": "Rosto jogando um beijo",
-    "Kissing face with smiling eyes": "Beijar rosto com olhos sorridentes",
-    "Kissing face with closed eyes": "Beijando a cara com os olhos fechados",
-    "Face with stuck out tongue": "Preso de cara com a l\u00edngua para fora",
-    "Face with stuck out tongue and winking eye": "Rosto com estendeu a l\u00edngua e olho piscando",
-    "Face with stuck out tongue and tightly-closed eyes": "Rosto com estendeu a língua e os olhos bem fechados",
+    "Kissing face with smiling eyes": "Rosto beijando com olhos sorridentes",
+    "Kissing face with closed eyes": "Rosto beijando com os olhos fechados",
+    "Face with stuck out tongue": "Rosto com a língua para fora",
+    "Face with stuck out tongue and winking eye": "Rosto com a língua para fora e um olho piscando",
+    "Face with stuck out tongue and tightly-closed eyes": "Rosto com a língua para fora e os olhos bem fechados",
     "Disappointed face": "Rosto decepcionado",
-    "Worried face": "O rosto preocupado",
+    "Worried face": "Rosto preocupado",
     "Angry face": "Rosto irritado",
-    "Pouting face": "Beicinho Rosto",
-    "Crying face": "Cara de choro",
-    "Persevering face": "Perseverar Rosto",
+    "Pouting face": "Rosto com beicinho",
+    "Crying face": "Rosto chorando",
+    "Persevering face": "Rosto perseverante",
     "Face with look of triumph": "Rosto com olhar de triunfo",
-    "Disappointed but relieved face": "Fiquei Desapontado mas aliviado Rosto",
-    "Frowning face with open mouth": "Sobrancelhas franzidas rosto com a boca aberta",
-    "Anguished face": "O rosto angustiado",
-    "Fearful face": "Cara com medo",
+    "Disappointed but relieved face": "Rosto decepcionado mas aliviado",
+    "Frowning face with open mouth": "Rosto franzido com a boca aberta",
+    "Anguished face": "Rosto angustiado",
+    "Fearful face": "Rosto com medo",
     "Weary face": "Rosto cansado",
-    "Sleepy face": "Cara de sono",
+    "Sleepy face": "Rosto com sono",
     "Tired face": "Rosto cansado",
-    "Grimacing face": "Fazendo caretas face",
-    "Loudly crying face": "Alto chorando rosto",
-    "Face with open mouth": "Enfrentar com a boca aberta",
-    "Hushed face": "Flagrantes de rosto",
-    "Face with open mouth and cold sweat": "Enfrentar com a boca aberta e suor frio",
-    "Face screaming in fear": "Cara gritando de medo",
-    "Astonished face": "Cara de surpresa",
-    "Flushed face": "Rosto vermelho",
-    "Sleeping face": "O rosto de sono",
-    "Dizzy face": "Cara tonto",
+    "Grimacing face": "Rosto fazendo careta",
+    "Loudly crying face": "Rosto chorando alto",
+    "Face with open mouth": "Rosto com a boca aberta",
+    "Hushed face": "Rosto silencioso",
+    "Face with open mouth and cold sweat": "Rosto com a boca aferta e suando frio",
+    "Face screaming in fear": "Rosto gritando de medo",
+    "Astonished face": "Rosto surpreso",
+    "Flushed face": "Rosto envergonhado",
+    "Sleeping face": "Rosto dormindo",
+    "Dizzy face": "Rosto tonto",
     "Face without mouth": "Rosto sem boca",
-    "Face with medical mask": "Rosto com m\u00e1scara m\u00e9dica",
+    "Face with medical mask": "Rosto com máscara médica",
 
     // Line breaker
-    "Break": "Quebrar",
+    "Break": "Quebrar linha",
 
     // Math
     "Subscript": "Subscrito",
@@ -242,7 +242,7 @@ $.FE.LANGUAGE['pt_br'] = {
     "Insert Horizontal Line": "Inserir linha horizontal",
 
     // Clear formatting
-    "Clear Formatting": "Remover formata\u00e7\u00e3o",
+    "Clear Formatting": "Remover formatação",
 
     // Undo, redo
     "Undo": "Desfazer",
@@ -252,15 +252,15 @@ $.FE.LANGUAGE['pt_br'] = {
     "Select All": "Selecionar tudo",
 
     // Code view
-    "Code View": "Exibi\u00e7\u00e3o de c\u00f3digo",
+    "Code View": "Exibir de código",
 
     // Quote
-    "Quote": "Cita\u00e7\u00e3o",
+    "Quote": "Citação",
     "Increase": "Aumentar",
     "Decrease": "Diminuir",
 
     // Quick Insert
-    "Quick Insert": "Inser\u00e7\u00e3o r\u00e1pida",
+    "Quick Insert": "Inserção rápida",
 
     // Spcial Characters
     "Special Characters": "Caracteres especiais",
@@ -269,7 +269,7 @@ $.FE.LANGUAGE['pt_br'] = {
     "Cyrillic": "Cirílico",
     "Punctuation": "Pontuação",
     "Currency": "Moeda",
-    "Arrows": "Setas; flechas",
+    "Arrows": "Setas",
     "Math": "Matemática",
     "Misc": "Misc",
 
@@ -277,10 +277,10 @@ $.FE.LANGUAGE['pt_br'] = {
     "Print": "Impressão",
 
     // Spell Checker.
-    "Spell Checker": "Verificador ortográfico",
+    "Spell Checker": "Corretor ortográfico",
 
     // Help
-    "Help": "Socorro",
+    "Help": "Ajuda",
     "Shortcuts": "Atalhos",
     "Inline Editor": "Editor em linha",
     "Show the editor": "Mostre o editor",
@@ -291,20 +291,20 @@ $.FE.LANGUAGE['pt_br'] = {
     "Basic Formatting": "Formatação básica",
     "Increase quote level": "Aumentar o nível de cotação",
     "Decrease quote level": "Diminuir o nível de cotação",
-    "Image / Video": "Imagem / video",
+    "Image / Video": "Imagem / Vídeo",
     "Resize larger": "Redimensionar maior",
     "Resize smaller": "Redimensionar menor",
     "Table": "Tabela",
     "Select table cell": "Selecione a célula da tabela",
     "Extend selection one cell": "Ampliar a seleção de uma célula",
-    "Extend selection one row": "Ampliar a seleção uma linha",
+    "Extend selection one row": "Ampliar a seleção de uma linha",
     "Navigation": "Navegação",
-    "Focus popup / toolbar": "Foco popup / barra de ferramentas",
+    "Focus popup / toolbar": "Pop-up de foco / Barra de ferramentas",
     "Return focus to previous position": "Retornar o foco para a posição anterior",
 
     // Embed.ly
     "Embed URL": "URL de inserção",
-    "Paste in a URL to embed": "Colar em url para incorporar",
+    "Paste in a URL to embed": "Colar um endereço URL para incorporar",
 
     // Word Paste.
     "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "O conteúdo colado vem de um documento Microsoft Word. Você quer manter o formato ou limpá-lo?",

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/pt_pt.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/ro.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 19 - 19
modules/boonex/froala/plugins/froala/js/languages/ru.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */
@@ -64,7 +64,7 @@ $.FE.LANGUAGE['ru'] = {
     "Colors": "\u0426\u0432\u0435\u0442\u0430",
     "Background": "\u0424\u043e\u043d",
     "Text": "\u0422\u0435\u043a\u0441\u0442",
-    "HEX Color": "Шестнадцатеричный код цвета",
+    "HEX Color": "HEX цвет",
 
     // Paragraphs
     "Paragraph Format": "\u0424\u043e\u0440\u043c\u0430\u0442 \u0430\u0431\u0437\u0430\u0446\u0430",
@@ -126,15 +126,15 @@ $.FE.LANGUAGE['ru'] = {
     "Width": "\u0428\u0438\u0440\u0438\u043d\u0430",
     "Height": "\u0412\u044b\u0441\u043e\u0442\u0430",
     "Something went wrong. Please try again.": "\u0427\u0442\u043e\u002d\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a\u002e \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430\u002c \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437\u002e",
-    "Image Caption": "Подпись изображения",
+    "Image Caption": "Подпись к изображению",
     "Advanced Edit": "Расширенное редактирование",
 
     // Video
     "Insert Video": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e",
     "Embedded Code": "\u0048\u0054\u004d\u004c\u002d\u043a\u043e\u0434 \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438",
     "Paste in a video URL": "Вставить URL-адрес видео",
-    "Drop video": "Перетащите видефайл",
-    "Your browser does not support HTML5 video.": "Ваш браузер не поддерживает видео html5.",
+    "Drop video": "Вставить видео",
+    "Your browser does not support HTML5 video.": "Ваш браузер не поддерживает html5 видео.",
     "Upload Video": "Загрузить видео",
 
     // Tables
@@ -280,26 +280,26 @@ $.FE.LANGUAGE['ru'] = {
     "Spell Checker": "Программа проверки орфографии",
 
     // Help
-    "Help": "Помогите",
-    "Shortcuts": "Сочетания",
+    "Help": "Помощь",
+    "Shortcuts": "Горячие клавищи",
     "Inline Editor": "Встроенный редактор",
-    "Show the editor": "Показать редактора",
+    "Show the editor": "Показать редактор",
     "Common actions": "Общие действия",
-    "Copy": "Копия",
-    "Cut": "Порез",
+    "Copy": "Копировать",
+    "Cut": "Вырезать",
     "Paste": "Вставить",
     "Basic Formatting": "Базовое форматирование",
-    "Increase quote level": "Увеличить уровень котировки",
-    "Decrease quote level": "Уменьшить уровень кавычек",
-    "Image / Video": "Изображение / видео",
+    "Increase quote level": "Увеличить уровень цитирования",
+    "Decrease quote level": "Уменьшить уровень цитирования",
+    "Image / Video": "Изображение / Видео",
     "Resize larger": "Изменить размер",
     "Resize smaller": "Уменьшить размер",
     "Table": "Таблица",
     "Select table cell": "Выбрать ячейку таблицы",
-    "Extend selection one cell": "Продлить выделение одной ячейки",
+    "Extend selection one cell": "Расширить выделение одной ячейки",
     "Extend selection one row": "Расширить выделение на одну строку",
     "Navigation": "Навигация",
-    "Focus popup / toolbar": "Фокусное всплывающее окно / панель инструментов",
+    "Focus popup / toolbar": "Сфокусировать всплывающее окно / панель инструментов",
     "Return focus to previous position": "Вернуть фокус на предыдущую позицию",
 
     // Embed.ly
@@ -307,10 +307,10 @@ $.FE.LANGUAGE['ru'] = {
     "Paste in a URL to embed": "Вставить URL-адрес для встраивания",
 
     // Word Paste.
-    "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "Вложенный контент поступает из документа Microsoft Word. вы хотите сохранить формат или очистить его?",
-    "Keep": "Держать",
-    "Clean": "Чистый",
-    "Word Paste Detected": "Обнаружена паста слов"
+    "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "Вы пытаетесь вставить текст из документа Microsoft Word. Вы хотите сохранить или очистить формат?",
+    "Keep": "Сохранить",
+    "Clean": "Очистить",
+    "Word Paste Detected": "Обнаружена вставка отформатированного текста"
   },
   direction: "ltr"
 };

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/sk.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/sr.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/sv.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/th.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/tr.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/uk.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/vi.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 195 - 195
modules/boonex/froala/plugins/froala/js/languages/zh_cn.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */
@@ -31,242 +31,242 @@
     }
 }(function ($) {
 /**
- * Simplified Chinese spoken in China.
- */
+* Simplified Chinese spoken in China.
+*/
 
 $.FE.LANGUAGE['zh_cn'] = {
   translation: {
     // Place holder
-    "Type something": "\u8f93\u5165\u4e00\u4e9b\u5185\u5bb9",
+    "Type something": "输入内容",
 
     // Basic formatting
-    "Bold": "\u7c97\u4f53",
-    "Italic": "\u659c\u4f53",
-    "Underline": "\u4e0b\u5212\u7ebf",
-    "Strikethrough": "\u5220\u9664\u7ebf",
+    "Bold": "粗体",
+    "Italic": "斜体",
+    "Underline": "下划线",
+    "Strikethrough": "删除线",
 
     // Main buttons
-    "Insert": "\u63d2\u5165",
-    "Delete": "\u5220\u9664",
-    "Cancel": "\u53d6\u6d88",
-    "OK": "\u786e\u5b9a",
-    "Back": "\u80cc\u90e8",
-    "Remove": "\u53bb\u6389",
-    "More": "\u66f4\u591a",
-    "Update": "\u66f4\u65b0",
-    "Style": "\u98ce\u683c",
+    "Insert": "插入",
+    "Delete": "删除",
+    "Cancel": "取消",
+    "OK": "确定",
+    "Back": "后退",
+    "Remove": "删除",
+    "More": "更多",
+    "Update": "更新",
+    "Style": "样式",
 
     // Font
-    "Font Family": "\u5b57\u4f53",
-    "Font Size": "\u5b57\u53f7",
+    "Font Family": "字体",
+    "Font Size": "字号",
 
     // Colors
-    "Colors": "\u989c\u8272",
-    "Background": "\u80cc\u666f",
-    "Text": "\u6587\u5b57",
+    "Colors": "颜色",
+    "Background": "背景",
+    "Text": "字体",
     "HEX Color": "十六进制颜色",
 
     // Paragraphs
-    "Paragraph Format": "\u683c\u5f0f",
-    "Normal": "\u6b63\u5e38",
-    "Code": "\u4ee3\u7801",
-    "Heading 1": "\u6807\u98981",
-    "Heading 2": "\u6807\u98982",
-    "Heading 3": "\u6807\u98983",
-    "Heading 4": "\u6807\u98984",
+    "Paragraph Format": "段落格式",
+    "Normal": "正文",
+    "Code": "代码",
+    "Heading 1": "标题1",
+    "Heading 2": "标题2",
+    "Heading 3": "标题3",
+    "Heading 4": "标题4",
 
     // Style
-    "Paragraph Style": "\u6bb5\u843d\u6837\u5f0f",
-    "Inline Style": "\u5185\u8054\u6837\u5f0f",
+    "Paragraph Style": "段落样式",
+    "Inline Style": "内联样式",
 
     // Alignment
-    "Align": "\u5bf9\u9f50\u65b9\u5f0f",
-    "Align Left": "\u5de6\u5bf9\u9f50",
-    "Align Center": "\u5c45\u4e2d",
-    "Align Right": "\u53f3\u5bf9\u9f50",
-    "Align Justify": "\u4e24\u7aef\u5bf9\u9f50",
-    "None": "\u65e0",
+    "Align": "对齐方式",
+    "Align Left": "左对齐",
+    "Align Center": "居中",
+    "Align Right": "右对齐",
+    "Align Justify": "两端对齐",
+    "None": "无",
 
     // Lists
-    "Ordered List": "\u7f16\u53f7\u5217\u8868",
-    "Unordered List": "\u9879\u76ee\u7b26\u53f7",
+    "Ordered List": "编号",
+    "Unordered List": "项目符号",
 
     // Indent
-    "Decrease Indent": "\u51cf\u5c11\u7f29\u8fdb",
-    "Increase Indent": "\u589e\u52a0\u7f29\u8fdb",
+    "Decrease Indent": "减少缩进量",
+    "Increase Indent": "增加缩进量",
 
     // Links
-    "Insert Link": "\u63d2\u5165\u94fe\u63a5",
-    "Open in new tab": "\u5f00\u542f\u5728\u65b0\u6807\u7b7e\u9875",
-    "Open Link": "\u6253\u5f00\u94fe\u63a5",
-    "Edit Link": "\u7f16\u8f91\u94fe\u63a5",
-    "Unlink": "\u5220\u9664\u94fe\u63a5",
-    "Choose Link": "\u9009\u62e9\u94fe\u63a5",
+    "Insert Link": "插入超链接",
+    "Open in new tab": "在新标签页中打开",
+    "Open Link": "打开超链接",
+    "Edit Link": "编辑超链接",
+    "Unlink": "删除超链接",
+    "Choose Link": "选择超链接",
 
     // Images
-    "Insert Image": "\u63d2\u5165\u56fe\u7247",
-    "Upload Image": "\u4e0a\u4f20\u56fe\u7247",
-    "By URL": "\u901a\u8fc7\u7f51\u5740",
-    "Browse": "\u6d4f\u89c8",
-    "Drop image": "\u56fe\u50cf\u62d6\u653e",
-    "or click": "\u6216\u70b9\u51fb",
-    "Manage Images": "\u7ba1\u7406\u56fe\u50cf",
-    "Loading": "\u8f7d\u5165\u4e2d",
-    "Deleting": "\u5220\u9664",
-    "Tags": "\u6807\u7b7e",
-    "Are you sure? Image will be deleted.": "\u4f60\u786e\u5b9a\u5417\uff1f\u56fe\u50cf\u5c06\u88ab\u5220\u9664\u3002",
-    "Replace": "\u66f4\u6362",
-    "Uploading": "\u4e0a\u4f20",
-    "Loading image": "\u5bfc\u5165\u56fe\u50cf",
-    "Display": "\u663e\u793a",
-    "Inline": "\u6392\u961f",
-    "Break Text": "\u65ad\u5f00\u6587\u672c",
-    "Alternative Text": "\u5907\u7528\u6587\u672c",
-    "Change Size": "\u5c3a\u5bf8\u53d8\u5316",
-    "Width": "\u5bbd\u5ea6",
-    "Height": "\u9ad8\u5ea6",
-    "Something went wrong. Please try again.": "\u51fa\u4e86\u4e9b\u95ee\u9898\u3002 \u8bf7\u518d\u8bd5\u4e00\u6b21\u3002",
-    "Image Caption": "图片说明",
+    "Insert Image": "插入图片",
+    "Upload Image": "上传图片",
+    "By URL": "通过 URL",
+    "Browse": "浏览",
+    "Drop image": "拖入图片",
+    "or click": "或点击",
+    "Manage Images": "管理图片",
+    "Loading": "加载中",
+    "Deleting": "删除中",
+    "Tags": "标签",
+    "Are you sure? Image will be deleted.": "图片将会被删除,是否确认?",
+    "Replace": "替换",
+    "Uploading": "上传中",
+    "Loading image": "图片加载中",
+    "Display": "显示",
+    "Inline": "嵌入型",
+    "Break Text": "上下型环绕",
+    "Alternative Text": "替换文字",
+    "Change Size": "改变大小",
+    "Width": "宽度",
+    "Height": "高度",
+    "Something went wrong. Please try again.": "发生错误,请重试。",
+    "Image Caption": "图片标题",
     "Advanced Edit": "高级编辑",
 
     // Video
-    "Insert Video": "\u63d2\u5165\u89c6\u9891",
-    "Embedded Code": "\u5d4c\u5165\u5f0f\u4ee3\u7801",
-    "Paste in a video URL": "粘贴在视频网址",
-    "Drop video": "放下视频",
-    "Your browser does not support HTML5 video.": "您的浏览器不支持html5视频。",
+    "Insert Video": "插入视频",
+    "Embedded Code": "嵌入代码",
+    "Paste in a video URL": "粘贴视频网址",
+    "Drop video": "拖入视频",
+    "Your browser does not support HTML5 video.": "您的浏览器不支持 HTML5 视频。",
     "Upload Video": "上传视频",
 
     // Tables
-    "Insert Table": "\u63d2\u5165\u8868\u683c",
-    "Table Header": "\u8868\u5934",
-    "Remove Table": "\u5220\u9664\u8868",
-    "Table Style": "\u8868\u683c\u6837\u5f0f",
-    "Horizontal Align": "\u6c34\u5e73\u5bf9\u9f50\u65b9\u5f0f",
-    "Row": "\u884c",
-    "Insert row above": "\u5728\u4e0a\u65b9\u63d2\u5165",
-    "Insert row below": "\u5728\u4e0b\u65b9\u63d2\u5165",
-    "Delete row": "\u5220\u9664\u884c",
-    "Column": "\u5217",
-    "Insert column before": "\u5728\u5de6\u4fa7\u63d2\u5165",
-    "Insert column after": "\u5728\u53f3\u4fa7\u63d2\u5165",
-    "Delete column": "\u5220\u9664\u5217",
-    "Cell": "\u5355\u5143\u683c",
-    "Merge cells": "\u5408\u5e76\u5355\u5143\u683c",
-    "Horizontal split": "\u6c34\u5e73\u5206\u5272",
-    "Vertical split": "\u5782\u76f4\u5206\u5272",
-    "Cell Background": "\u5355\u5143\u683c\u80cc\u666f",
-    "Vertical Align": "\u5782\u76f4\u5bf9\u9f50\u65b9\u5f0f",
-    "Top": "\u6700\u4f73",
-    "Middle": "\u4e2d\u95f4",
-    "Bottom": "\u5e95\u90e8",
-    "Align Top": "\u9876\u90e8\u5bf9\u9f50",
-    "Align Middle": "\u4e2d\u95f4\u5bf9\u9f50",
-    "Align Bottom": "\u5e95\u90e8\u5bf9\u9f50",
-    "Cell Style": "\u5355\u5143\u683c\u6837\u5f0f",
+    "Insert Table": "插入表格",
+    "Table Header": "表头",
+    "Remove Table": "删除表格",
+    "Table Style": "表格样式",
+    "Horizontal Align": "水平对齐方式",
+    "Row": "行",
+    "Insert row above": "在上方插入",
+    "Insert row below": "在下方插入",
+    "Delete row": "删除行",
+    "Column": "列",
+    "Insert column before": "在左侧插入",
+    "Insert column after": "在右侧插入",
+    "Delete column": "删除列",
+    "Cell": "单元格",
+    "Merge cells": "合并单元格",
+    "Horizontal split": "水平分割",
+    "Vertical split": "垂直分割",
+    "Cell Background": "单元格背景",
+    "Vertical Align": "垂直对齐方式",
+    "Top": "靠上",
+    "Middle": "居中",
+    "Bottom": "靠下",
+    "Align Top": "靠上对齐",
+    "Align Middle": "居中对齐",
+    "Align Bottom": "靠下对齐",
+    "Cell Style": "单元格样式",
 
     // Files
-    "Upload File": "\u4e0a\u4f20\u6587\u4ef6",
-    "Drop file": "\u6587\u4ef6\u62d6\u653e",
+    "Upload File": "上传文件",
+    "Drop file": "拖入文件",
 
     // Emoticons
-    "Emoticons": "\u8868\u60c5",
-    "Grinning face": "\u8138\u4e0a\u7b11\u563b\u563b",
-    "Grinning face with smiling eyes": "咧着嘴笑的脸微笑的眼睛",
-    "Face with tears of joy": "\u7b11\u563b\u563b\u7684\u8138\uff0c\u542b\u7b11\u7684\u773c\u775b",
-    "Smiling face with open mouth": "\u7b11\u8138\u5f20\u5f00\u5634",
-    "Smiling face with open mouth and smiling eyes": "\u7b11\u8138\u5f20\u5f00\u5634\u5fae\u7b11\u7684\u773c\u775b",
-    "Smiling face with open mouth and cold sweat": "\u7b11\u8138\u5f20\u5f00\u5634\uff0c\u4e00\u8eab\u51b7\u6c57",
-    "Smiling face with open mouth and tightly-closed eyes": "\u7b11\u8138\u5f20\u5f00\u5634\uff0c\u7d27\u7d27\u95ed\u7740\u773c\u775b",
-    "Smiling face with halo": "\u7b11\u8138\u6655",
-    "Smiling face with horns": "\u5fae\u7b11\u7684\u8138\u89d2",
-    "Winking face": "\u7728\u773c\u8868\u60c5",
-    "Smiling face with smiling eyes": "\u9762\u5e26\u5fae\u7b11\u7684\u773c\u775b",
-    "Face savoring delicious food": "\u9762\u5bf9\u54c1\u5c1d\u7f8e\u5473\u7684\u98df\u7269",
-    "Relieved face": "\u9762\u5bf9\u5982\u91ca\u91cd\u8d1f",
-    "Smiling face with heart-shaped eyes": "\u5fae\u7b11\u7684\u8138\uff0c\u5fc3\u810f\u5f62\u7684\u773c\u775b",
-    "Smiling face with sunglasses": "\u7b11\u8138\u592a\u9633\u955c",
-    "Smirking face": "\u9762\u5bf9\u9762\u5e26\u7b11\u5bb9",
-    "Neutral face": "\u4e2d\u6027\u9762",
-    "Expressionless face": "\u9762\u65e0\u8868\u60c5",
-    "Unamused face": "\u4e00\u8138\u4e0d\u5feb\u7684\u8138",
-    "Face with cold sweat": "\u9762\u5bf9\u51b7\u6c57",
-    "Pensive face": "\u6c89\u601d\u7684\u8138",
-    "Confused face": "\u9762\u5bf9\u56f0\u60d1",
-    "Confounded face": "\u8be5\u6b7b\u7684\u8138",
-    "Kissing face": "\u9762\u5bf9\u63a5\u543b",
-    "Face throwing a kiss": "\u9762\u5bf9\u6295\u63b7\u4e00\u4e2a\u543b",
-    "Kissing face with smiling eyes": "\u63a5\u543b\u8138\uff0c\u542b\u7b11\u7684\u773c\u775b",
-    "Kissing face with closed eyes": "\u63a5\u543b\u7684\u8138\u95ed\u7740\u773c\u775b",
-    "Face with stuck out tongue": "\u9762\u5bf9\u4f38\u51fa\u820c\u5934",
-    "Face with stuck out tongue and winking eye": "\u9762\u5bf9\u4f38\u51fa\u820c\u5934\u548c\u7728\u52a8\u7684\u773c\u775b",
-    "Face with stuck out tongue and tightly-closed eyes": "\u9762\u5bf9\u4f38\u51fa\u820c\u5934\u548c\u7d27\u95ed\u7684\u773c\u775b",
-    "Disappointed face": "\u9762\u5bf9\u5931\u671b",
-    "Worried face": "\u9762\u5bf9\u62c5\u5fc3",
-    "Angry face": "\u6124\u6012\u7684\u8138",
-    "Pouting face": "\u9762\u5bf9\u5658\u5634",
-    "Crying face": "\u54ed\u6ce3\u7684\u8138",
-    "Persevering face": "\u600e\u5948\u8138",
-    "Face with look of triumph": "\u9762\u5e26\u770b\u7684\u80dc\u5229",
-    "Disappointed but relieved face": "\u5931\u671b\uff0c\u4f46\u8138\u4e0a\u91ca\u7136",
-    "Frowning face with open mouth": "\u9762\u5bf9\u76b1\u7740\u7709\u5934\u5f20\u53e3",
-    "Anguished face": "\u9762\u5bf9\u75db\u82e6",
-    "Fearful face": "\u53ef\u6015\u7684\u8138",
-    "Weary face": "\u9762\u5bf9\u538c\u5026",
-    "Sleepy face": "\u9762\u5bf9\u56f0",
-    "Tired face": "\u75b2\u60eb\u7684\u8138",
-    "Grimacing face": "\u72f0\u72de\u7684\u8138",
-    "Loudly crying face": "\u5927\u58f0\u54ed\u8138",
-    "Face with open mouth": "\u9762\u5bf9\u5f20\u5f00\u5634",
-    "Hushed face": "\u5b89\u9759\u7684\u8138",
-    "Face with open mouth and cold sweat": "脸上露出嘴巴和冷汗",
-    "Face screaming in fear": "\u9762\u5bf9\u5f20\u5f00\u5634\uff0c\u4e00\u8eab\u51b7\u6c57",
-    "Astonished face": "\u9762\u5bf9\u60ca\u8bb6",
-    "Flushed face": "\u7ea2\u6251\u6251\u7684\u8138\u86cb",
-    "Sleeping face": "\u719f\u7761\u7684\u8138",
-    "Dizzy face": "\u9762\u5bf9\u7729",
-    "Face without mouth": "\u8138\u4e0a\u6ca1\u6709\u5634",
-    "Face with medical mask": "\u9762\u5bf9\u533b\u7597\u53e3\u7f69",
+    "Emoticons": "表情符号",
+    "Grinning face": "露齿笑脸",
+    "Grinning face with smiling eyes": "露齿笑到眯起眼",
+    "Face with tears of joy": "笑哭",
+    "Smiling face with open mouth": "张嘴微笑",
+    "Smiling face with open mouth and smiling eyes": "眯眼张嘴微笑",
+    "Smiling face with open mouth and cold sweat": "带冷汗的张嘴微笑",
+    "Smiling face with open mouth and tightly-closed eyes": "紧闭双眼张嘴微笑",
+    "Smiling face with halo": "带光环微笑",
+    "Smiling face with horns": "带牛角的微笑",
+    "Winking face": "眨眼",
+    "Smiling face with smiling eyes": "眯眼微笑",
+    "Face savoring delicious food": "馋",
+    "Relieved face": "如释重负",
+    "Smiling face with heart-shaped eyes": "桃心眼微笑",
+    "Smiling face with sunglasses": "戴太阳镜微笑",
+    "Smirking face": "得意地笑",
+    "Neutral face": "中性脸",
+    "Expressionless face": "面无表情",
+    "Unamused face": "不高兴",
+    "Face with cold sweat": "冷汗",
+    "Pensive face": "沉思",
+    "Confused face": "迷惑",
+    "Confounded face": "困惑",
+    "Kissing face": "嘴巴嘟嘟",
+    "Face throwing a kiss": "飞吻",
+    "Kissing face with smiling eyes": "眯眼接吻",
+    "Kissing face with closed eyes": "闭眼接吻",
+    "Face with stuck out tongue": "吐舌",
+    "Face with stuck out tongue and winking eye": "眨眼吐舌",
+    "Face with stuck out tongue and tightly-closed eyes": "眯眼吐舌",
+    "Disappointed face": "失望",
+    "Worried face": "担心",
+    "Angry face": "生气",
+    "Pouting face": "撅嘴",
+    "Crying face": "大哭",
+    "Persevering face": "坚强",
+    "Face with look of triumph": "扬眉吐气",
+    "Disappointed but relieved face": "失望",
+    "Frowning face with open mouth": "皱眉",
+    "Anguished face": "痛苦",
+    "Fearful face": "害怕",
+    "Weary face": "疲惫",
+    "Sleepy face": "困了",
+    "Tired face": "累了",
+    "Grimacing face": "扭曲脸",
+    "Loudly crying face": "大哭",
+    "Face with open mouth": "张开嘴",
+    "Hushed face": "安静",
+    "Face with open mouth and cold sweat": "冷汗",
+    "Face screaming in fear": "害怕尖叫",
+    "Astonished face": "惊讶",
+    "Flushed face": "脸红",
+    "Sleeping face": "熟睡",
+    "Dizzy face": "眩晕",
+    "Face without mouth": "没有嘴的脸",
+    "Face with medical mask": "口罩脸",
 
     // Line breaker
-    "Break": "\u7834",
+    "Break": "换行",
 
     // Math
-    "Subscript": "\u4e0b\u6807",
-    "Superscript": "\u4e0a\u6807",
+    "Subscript": "下标",
+    "Superscript": "上标",
 
     // Full screen
-    "Fullscreen": "\u5168\u5c4f",
+    "Fullscreen": "全屏",
 
     // Horizontal line
-    "Insert Horizontal Line": "\u63d2\u5165\u6c34\u5e73\u7ebf",
+    "Insert Horizontal Line": "插入水平线",
 
     // Clear formatting
-    "Clear Formatting": "\u683c\u5f0f\u5316\u5220\u9664",
+    "Clear Formatting": "清除格式",
 
     // Undo, redo
-    "Undo": "\u64a4\u6d88",
-    "Redo": "\u91cd\u590d",
+    "Undo": "撤消",
+    "Redo": "恢复",
 
     // Select all
-    "Select All": "\u5168\u9009",
+    "Select All": "全选",
 
     // Code view
-    "Code View": "\u4ee3\u7801\u89c6\u56fe",
+    "Code View": "代码视图",
 
     // Quote
-    "Quote": "\u5f15\u7528",
-    "Increase": "\u589e\u52a0\u5f15\u7528",
-    "Decrease": "\u5220\u9664\u5f15\u7528",
+    "Quote": "引用",
+    "Increase": "增加引用级别",
+    "Decrease": "减少引用级别",
 
     // Quick Insert
-    "Quick Insert": "\u5feb\u63d2",
+    "Quick Insert": "快速插入",
 
     // Spcial Characters
     "Special Characters": "特殊字符",
-    "Latin": "拉丁",
-    "Greek": "希腊语",
-    "Cyrillic": "西里尔",
+    "Latin": "拉丁字母",
+    "Greek": "希腊字母",
+    "Cyrillic": "西里尔字母",
     "Punctuation": "标点",
     "Currency": "货币",
     "Arrows": "箭头",
@@ -280,37 +280,37 @@ $.FE.LANGUAGE['zh_cn'] = {
     "Spell Checker": "拼写检查器",
 
     // Help
-    "Help": "帮帮我",
+    "Help": "帮助",
     "Shortcuts": "快捷键",
     "Inline Editor": "内联编辑器",
-    "Show the editor": "显示编辑",
-    "Common actions": "共同行动",
+    "Show the editor": "显示编辑器",
+    "Common actions": "常用操作",
     "Copy": "复制",
-    "Cut": "切",
-    "Paste": "糊",
+    "Cut": "剪切",
+    "Paste": "粘贴",
     "Basic Formatting": "基本格式",
-    "Increase quote level": "提高报价水平",
-    "Decrease quote level": "降低报价水平",
+    "Increase quote level": "增加引用级别",
+    "Decrease quote level": "减少引用级别",
     "Image / Video": "图像/视频",
-    "Resize larger": "调整大小更大",
-    "Resize smaller": "调整大小更小",
-    "Table": "表",
-    "Select table cell": "选择表单元格",
-    "Extend selection one cell": "扩展选择一个单元格",
-    "Extend selection one row": "扩展选择一行",
+    "Resize larger": "放大",
+    "Resize smaller": "缩小",
+    "Table": "表格",
+    "Select table cell": "选择单元格",
+    "Extend selection one cell": "增加选中的单元格",
+    "Extend selection one row": "增加选中的行",
     "Navigation": "导航",
     "Focus popup / toolbar": "焦点弹出/工具栏",
     "Return focus to previous position": "将焦点返回到上一个位置",
 
     // Embed.ly
     "Embed URL": "嵌入网址",
-    "Paste in a URL to embed": "粘贴在一个网址中嵌入",
+    "Paste in a URL to embed": "粘贴要嵌入的网址",
 
     // Word Paste.
-    "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "粘贴的内容来自微软Word文档。你想保留格式还是清理它?",
-    "Keep": "保持",
-    "Clean": "清洁",
-    "Word Paste Detected": "检测到字贴"
+    "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "粘贴的内容来自微软 Word 文档。你想保留还是清除格式?",
+    "Keep": "保留",
+    "Clean": "清除",
+    "Word Paste Detected": "检测到粘贴自 Word 的内容"
   },
   direction: "ltr"
 };

+ 1 - 1
modules/boonex/froala/plugins/froala/js/languages/zh_tw.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 0 - 139
modules/boonex/froala/plugins/froala/js/plugins/align.js

@@ -1,139 +0,0 @@
-/*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
- * License https://froala.com/wysiwyg-editor/terms/
- * Copyright 2014-2018 Froala Labs
- */
-
-(function (factory) {
-    if (typeof define === 'function' && define.amd) {
-        // AMD. Register as an anonymous module.
-        define(['jquery'], factory);
-    } else if (typeof module === 'object' && module.exports) {
-        // Node/CommonJS
-        module.exports = function( root, jQuery ) {
-            if ( jQuery === undefined ) {
-                // require('jQuery') returns a factory that requires window to
-                // build a jQuery instance, we normalize how we use modules
-                // that require this pattern but the window provided is a noop
-                // if it's defined (how jquery works)
-                if ( typeof window !== 'undefined' ) {
-                    jQuery = require('jquery');
-                }
-                else {
-                    jQuery = require('jquery')(root);
-                }
-            }
-            return factory(jQuery);
-        };
-    } else {
-        // Browser globals
-        factory(window.jQuery);
-    }
-}(function ($) {
-
-  
-
-  $.FE.PLUGINS.align = function (editor) {
-    function apply (val) {
-
-      var el = editor.selection.element();
-
-      if ($(el).parents('.fr-img-caption').length) {
-        $(el).css('text-align', val);
-      }
-      else {
-        // Wrap.
-        editor.selection.save();
-        editor.html.wrap(true, true, true, true);
-        editor.selection.restore();
-
-        var blocks = editor.selection.blocks();
-
-        for (var i = 0; i < blocks.length; i++) {
-
-          // Check if we should reset to default value.
-          if (editor.helpers.getAlignment($(blocks[i].parentNode)) == val) {
-            $(blocks[i]).css('text-align', '').removeClass('fr-temp-div');
-          }
-          else {
-            $(blocks[i]).css('text-align', val).removeClass('fr-temp-div');
-          }
-
-          if ($(blocks[i]).attr('class') === '') $(blocks[i]).removeAttr('class');
-
-          if ($(blocks[i]).attr('style') === '') $(blocks[i]).removeAttr('style');
-        }
-
-        editor.selection.save();
-        editor.html.unwrap();
-        editor.selection.restore();
-      }
-    }
-
-    function refresh ($btn) {
-      var blocks = editor.selection.blocks();
-
-      if (blocks.length) {
-        var alignment = editor.helpers.getAlignment($(blocks[0]));
-
-        $btn.find('> *:first').replaceWith(editor.icon.create('align-' + alignment));
-      }
-    }
-
-    function refreshOnShow($btn, $dropdown) {
-      var blocks = editor.selection.blocks();
-
-      if (blocks.length) {
-        var alignment = editor.helpers.getAlignment($(blocks[0]));
-
-        $dropdown.find('a.fr-command[data-param1="' + alignment + '"]').addClass('fr-active').attr('aria-selected', true);
-      }
-    }
-
-    return {
-      apply: apply,
-      refresh: refresh,
-      refreshOnShow: refreshOnShow
-    }
-  }
-
-  $.FE.DefineIcon('align', { NAME: 'align-left' });
-  $.FE.DefineIcon('align-left', { NAME: 'align-left' });
-  $.FE.DefineIcon('align-right', { NAME: 'align-right' });
-  $.FE.DefineIcon('align-center', { NAME: 'align-center' });
-  $.FE.DefineIcon('align-justify', { NAME: 'align-justify' });
-  $.FE.RegisterCommand('align', {
-    type: 'dropdown',
-    title: 'Align',
-    options: {
-      left: 'Align Left',
-      center: 'Align Center',
-      right: 'Align Right',
-      justify: 'Align Justify'
-    },
-    html: function () {
-      var c = '<ul class="fr-dropdown-list" role="presentation">';
-      var options =  $.FE.COMMANDS.align.options;
-
-      for (var val in options) {
-        if (options.hasOwnProperty(val)) {
-          c += '<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="align" data-param1="' + val + '" title="' + this.language.translate(options[val]) + '">' + this.icon.create('align-' + val) + '<span class="fr-sr-only">' + this.language.translate(options[val]) + '</span></a></li>';
-        }
-      }
-      c += '</ul>';
-
-      return c;
-    },
-    callback: function (cmd, val) {
-      this.align.apply(val);
-    },
-    refresh: function ($btn) {
-      this.align.refresh($btn);
-    },
-    refreshOnShow: function ($btn, $dropdown) {
-      this.align.refreshOnShow($btn, $dropdown);
-    },
-    plugin: 'align'
-  })
-
-}));

+ 1 - 1
modules/boonex/froala/plugins/froala/js/plugins/align.min.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 0 - 154
modules/boonex/froala/plugins/froala/js/plugins/char_counter.js

@@ -1,154 +0,0 @@
-/*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
- * License https://froala.com/wysiwyg-editor/terms/
- * Copyright 2014-2018 Froala Labs
- */
-
-(function (factory) {
-    if (typeof define === 'function' && define.amd) {
-        // AMD. Register as an anonymous module.
-        define(['jquery'], factory);
-    } else if (typeof module === 'object' && module.exports) {
-        // Node/CommonJS
-        module.exports = function( root, jQuery ) {
-            if ( jQuery === undefined ) {
-                // require('jQuery') returns a factory that requires window to
-                // build a jQuery instance, we normalize how we use modules
-                // that require this pattern but the window provided is a noop
-                // if it's defined (how jquery works)
-                if ( typeof window !== 'undefined' ) {
-                    jQuery = require('jquery');
-                }
-                else {
-                    jQuery = require('jquery')(root);
-                }
-            }
-            return factory(jQuery);
-        };
-    } else {
-        // Browser globals
-        factory(window.jQuery);
-    }
-}(function ($) {
-
-  
-
-  // Extend defaults.
-  $.extend($.FE.DEFAULTS, {
-    charCounterMax: -1,
-    charCounterCount: true
-  });
-
-
-  $.FE.PLUGINS.charCounter = function (editor) {
-    var $counter;
-
-    /**
-     * Get the char number.
-     */
-    function count () {
-      return (editor.el.textContent || '').replace(/\u200B/g, '').length;
-    }
-
-    /**
-     * Check chars on typing.
-     */
-    function _checkCharNumber (e) {
-
-      // Continue if infinite characters;
-      if (editor.opts.charCounterMax < 0) return true;
-
-      // Continue if enough characters.
-      if (count() < editor.opts.charCounterMax) return true;
-
-      // Stop if the key will produce a new char.
-      var keyCode = e.which;
-
-      if ((!editor.keys.ctrlKey(e) && editor.keys.isCharacter(keyCode)) || (keyCode === $.FE.KEYCODE.IME)) {
-        e.preventDefault();
-        e.stopPropagation();
-        editor.events.trigger('charCounter.exceeded');
-
-        return false;
-      }
-
-      return true;
-    }
-
-    /**
-     * Check chars on paste.
-     */
-    function _checkCharNumberOnPaste (html) {
-      if (editor.opts.charCounterMax < 0) return html;
-
-      var len = $('<div>').html(html).text().length;
-
-      if (len + count() <= editor.opts.charCounterMax) return html;
-
-      editor.events.trigger('charCounter.exceeded');
-
-      return '';
-    }
-
-    /**
-     * Update the char counter.
-     */
-    function _updateCharNumber () {
-      if (editor.opts.charCounterCount) {
-        var chars = count() + (editor.opts.charCounterMax > 0 ?  '/' + editor.opts.charCounterMax : '');
-
-        $counter.text(chars);
-
-        if (editor.opts.toolbarBottom) {
-          $counter.css('margin-bottom', editor.$tb.outerHeight(true))
-        }
-
-        // Scroll size correction.
-        var scroll_size = editor.$wp.get(0).offsetWidth - editor.$wp.get(0).clientWidth;
-
-        if (scroll_size >= 0) {
-          if (editor.opts.direction == 'rtl') {
-            $counter.css('margin-left', scroll_size);
-          }
-          else {
-            $counter.css('margin-right', scroll_size);
-          }
-        }
-      }
-    }
-
-    /*
-     * Initialize.
-     */
-    function _init () {
-      if (!editor.$wp) return false;
-
-      if (!editor.opts.charCounterCount) return false;
-
-      $counter = $('<span class="fr-counter"></span>');
-      $counter.css('bottom', editor.$wp.css('border-bottom-width'));
-      editor.$box.append($counter);
-
-      editor.events.on('keydown', _checkCharNumber, true);
-      editor.events.on('paste.afterCleanup', _checkCharNumberOnPaste);
-      editor.events.on('keyup contentChanged input', function () {
-        editor.events.trigger('charCounter.update');
-      });
-
-      editor.events.on('charCounter.update', _updateCharNumber);
-      editor.events.trigger('charCounter.update');
-
-      editor.events.on('destroy', function () {
-        $(editor.o_win).off('resize.char' + editor.id);
-        $counter.removeData().remove();
-        $counter = null;
-      });
-    }
-
-    return {
-      _init: _init,
-      count: count
-    }
-  }
-
-}));

+ 1 - 1
modules/boonex/froala/plugins/froala/js/plugins/char_counter.min.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

Різницю між файлами не показано, бо вона завелика
+ 0 - 73
modules/boonex/froala/plugins/froala/js/plugins/code_beautifier.js


+ 1 - 1
modules/boonex/froala/plugins/froala/js/plugins/code_beautifier.min.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

+ 0 - 393
modules/boonex/froala/plugins/froala/js/plugins/code_view.js

@@ -1,393 +0,0 @@
-/*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
- * License https://froala.com/wysiwyg-editor/terms/
- * Copyright 2014-2018 Froala Labs
- */
-
-(function (factory) {
-    if (typeof define === 'function' && define.amd) {
-        // AMD. Register as an anonymous module.
-        define(['jquery'], factory);
-    } else if (typeof module === 'object' && module.exports) {
-        // Node/CommonJS
-        module.exports = function( root, jQuery ) {
-            if ( jQuery === undefined ) {
-                // require('jQuery') returns a factory that requires window to
-                // build a jQuery instance, we normalize how we use modules
-                // that require this pattern but the window provided is a noop
-                // if it's defined (how jquery works)
-                if ( typeof window !== 'undefined' ) {
-                    jQuery = require('jquery');
-                }
-                else {
-                    jQuery = require('jquery')(root);
-                }
-            }
-            return factory(jQuery);
-        };
-    } else {
-        // Browser globals
-        factory(window.jQuery);
-    }
-}(function ($) {
-
-  
-
-  $.extend($.FE.DEFAULTS, {
-    codeMirror: window.CodeMirror,
-    codeMirrorOptions: {
-      lineNumbers: true,
-      tabMode: 'indent',
-      indentWithTabs: true,
-      lineWrapping: true,
-      mode: 'text/html',
-      tabSize: 2
-    },
-    codeBeautifierOptions: {
-      end_with_newline: true,
-      indent_inner_html: true,
-      extra_liners: ['p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'pre', 'ul', 'ol', 'table', 'dl'],
-      brace_style: 'expand',
-      indent_char: '\t',
-      indent_size: 1,
-      wrap_line_length: 0
-    },
-    codeViewKeepActiveButtons: ['fullscreen']
-  })
-
-  $.FE.PLUGINS.codeView = function (editor) {
-    var $html_area;
-    var code_mirror;
-
-    /**
-     * Check if code view is enabled.
-     */
-    function isActive () {
-      return editor.$box.hasClass('fr-code-view');
-    }
-
-    function get () {
-      if (code_mirror) {
-        return code_mirror.getValue();
-      }
-      else {
-        return $html_area.val();
-      }
-    }
-
-    function refresh () {
-      if (isActive()) {
-        if (code_mirror) {
-          code_mirror.setSize(null, editor.opts.height ? editor.opts.height : 'auto');
-        }
-
-        if (editor.opts.heightMin || editor.opts.height) {
-          editor.$box.find('.CodeMirror-scroll, .CodeMirror-gutters').css('min-height', editor.opts.heightMin || editor.opts.height);
-        }
-        else {
-          editor.$box.find('.CodeMirror-scroll, .CodeMirror-gutters').css('min-height', '');
-        }
-      }
-    }
-
-    /**
-     * Get back to edit mode.
-     */
-    function _showText ($btn) {
-      var html = get();
-
-      // Code mirror enabled.
-      editor.html.set(html);
-
-      // Blur the element.
-      editor.$el.blur();
-
-      // Toolbar no longer disabled.
-      editor.$tb.find(' > .fr-command').not($btn).removeClass('fr-disabled').attr('aria-disabled', false);
-      $btn.removeClass('fr-active').attr('aria-pressed', false);
-
-      editor.selection.setAtStart(editor.el);
-      editor.selection.restore();
-      editor.placeholder.refresh();
-
-      editor.undo.saveStep();
-    }
-
-    var _can_focus = false;
-
-    function _blur () {
-      if (isActive()) {
-        editor.events.trigger('blur')
-      }
-    }
-
-    function _focus () {
-      if (isActive() && _can_focus) {
-        editor.events.trigger('focus')
-      }
-    }
-
-    /**
-     * Get to code mode.
-     */
-    function _showHTML ($btn) {
-      if (!$html_area) {
-        _initArea();
-
-        // Enable code mirror.
-        if (!code_mirror && editor.opts.codeMirror) {
-          code_mirror = editor.opts.codeMirror.fromTextArea($html_area.get(0), editor.opts.codeMirrorOptions);
-
-          code_mirror.on('blur', _blur);
-          code_mirror.on('focus', _focus);
-        }
-        else {
-          editor.events.$on($html_area, 'keydown keyup change input', function () {
-            if (!editor.opts.height) {
-              this.rows = 1;
-
-              // Textarea has no content anymore.
-              if (this.value.length === 0) {
-                this.style.height = 'auto';
-              }
-
-              else {
-                this.style.height = this.scrollHeight + 'px';
-              }
-            }
-            else {
-              this.removeAttribute('rows')
-            }
-          });
-
-          editor.events.$on($html_area, 'blur', _blur);
-          editor.events.$on($html_area, 'focus', _focus);
-        }
-      }
-
-      editor.undo.saveStep();
-
-      // Clean white tags but ignore selection.
-      editor.html.cleanEmptyTags();
-      editor.html.cleanWhiteTags(true);
-
-      // Blur the element.
-      if (editor.core.hasFocus()) {
-        if (!editor.core.isEmpty()) {
-          editor.selection.save();
-          editor.$el.find('.fr-marker[data-type="true"]:first').replaceWith('<span class="fr-tmp fr-sm">F</span>');
-          editor.$el.find('.fr-marker[data-type="false"]:last').replaceWith('<span class="fr-tmp fr-em">F</span>');
-        }
-      }
-
-      // Get HTML.
-      var html = editor.html.get(false, true);
-      editor.$el.find('span.fr-tmp').remove();
-
-      editor.$box.toggleClass('fr-code-view', true);
-
-      var was_focused = false;
-
-      if (editor.core.hasFocus()) {
-        was_focused = true;
-        editor.events.disableBlur();
-        editor.$el.blur();
-      }
-
-      html = html.replace(/<span class="fr-tmp fr-sm">F<\/span>/, 'FROALA-SM');
-      html = html.replace(/<span class="fr-tmp fr-em">F<\/span>/, 'FROALA-EM');
-
-      // Beautify HTML.
-      if (editor.codeBeautifier) {
-        html = editor.codeBeautifier.run(html, editor.opts.codeBeautifierOptions);
-      }
-
-      var s_index;
-      var e_index;
-
-      // Code mirror is enabled.
-      if (code_mirror) {
-        s_index = html.indexOf('FROALA-SM');
-        e_index = html.indexOf('FROALA-EM');
-
-        if (s_index > e_index) {
-          s_index = e_index;
-        }
-        else {
-          e_index = e_index - 9;
-        }
-
-        html = html.replace(/FROALA-SM/g, '').replace(/FROALA-EM/g, '')
-        var s_line = html.substring(0, s_index).length - html.substring(0, s_index).replace(/\n/g, '').length;
-        var e_line = html.substring(0, e_index).length - html.substring(0, e_index).replace(/\n/g, '').length;
-
-        s_index = html.substring(0, s_index).length - html.substring(0, html.substring(0, s_index).lastIndexOf('\n') + 1).length;
-        e_index = html.substring(0, e_index).length - html.substring(0, html.substring(0, e_index).lastIndexOf('\n')  + 1).length;
-
-        code_mirror.setSize(null, editor.opts.height ? editor.opts.height : 'auto');
-
-        if (editor.opts.heightMin) editor.$box.find('.CodeMirror-scroll').css('min-height', editor.opts.heightMin);
-        code_mirror.setValue(html);
-        _can_focus = !was_focused;
-        code_mirror.focus();
-        _can_focus = true;
-        code_mirror.setSelection({ line: s_line, ch: s_index }, { line: e_line, ch: e_index })
-        code_mirror.refresh();
-        code_mirror.clearHistory();
-      }
-
-      // No code mirror.
-      else {
-        s_index = html.indexOf('FROALA-SM');
-        e_index = html.indexOf('FROALA-EM') - 9;
-
-        if (editor.opts.heightMin) {
-          $html_area.css('min-height', editor.opts.heightMin);
-        }
-
-        if (editor.opts.height) {
-          $html_area.css('height', editor.opts.height);
-        }
-
-        if (editor.opts.heightMax) {
-          $html_area.css('max-height', editor.opts.height || editor.opts.heightMax);
-        }
-
-        $html_area.val(html.replace(/FROALA-SM/g, '').replace(/FROALA-EM/g, '')).trigger('change');
-
-        var scroll_top = $(editor.o_doc).scrollTop();
-        _can_focus = !was_focused;
-        $html_area.focus();
-        _can_focus = true;
-        $html_area.get(0).setSelectionRange(s_index, e_index);
-        $(editor.o_doc).scrollTop(scroll_top);
-      }
-
-      // Disable buttons.
-      editor.$tb.find(' > .fr-command').not($btn).filter(function () {
-        return editor.opts.codeViewKeepActiveButtons.indexOf($(this).data('cmd')) < 0;
-      }).addClass('fr-disabled').attr('aria-disabled', true);
-      $btn.addClass('fr-active').attr('aria-pressed', true);
-
-      if (!editor.helpers.isMobile() && editor.opts.toolbarInline) {
-        editor.toolbar.hide();
-      }
-    }
-
-    /**
-     * Toggle the code view.
-     */
-    function toggle (val) {
-      if (typeof val == 'undefined') val = !isActive();
-
-      var $btn = editor.$tb.find('.fr-command[data-cmd="html"]');
-
-      if (!val) {
-        editor.$box.toggleClass('fr-code-view', false);
-        _showText($btn);
-      }
-      else {
-        editor.popups.hideAll();
-        _showHTML($btn);
-      }
-    }
-
-    /**
-     * Destroy.
-     */
-    function _destroy () {
-      if (isActive()) {
-        toggle(false);
-      }
-
-      if (code_mirror) code_mirror.toTextArea();
-      $html_area.val('').removeData().remove();
-      $html_area = null;
-
-      if ($back_button) {
-        $back_button.remove();
-        $back_button = null;
-      }
-    }
-
-    function _initArea () {
-
-      // Add the coding textarea to the wrapper.
-      $html_area = $('<textarea class="fr-code" tabIndex="-1">');
-      editor.$wp.append($html_area);
-
-      $html_area.attr('dir', editor.opts.direction);
-
-      // Exit code view button for inline toolbar.
-      if (!editor.$box.hasClass('fr-basic')) {
-        $back_button = $('<a data-cmd="html" title="Code View" class="fr-command fr-btn html-switch' + (editor.helpers.isMobile() ? '' : ' fr-desktop') + '" role="button" tabIndex="-1"><i class="fa fa-code"></i></button>');
-        editor.$box.append($back_button);
-
-        editor.events.bindClick(editor.$box, 'a.html-switch', function () {
-          toggle(false);
-        });
-      }
-
-      var cancel = function () {
-        return !isActive();
-      }
-
-      // Disable refresh of the buttons while enabled.
-      editor.events.on('buttons.refresh', cancel);
-      editor.events.on('copy', cancel, true);
-      editor.events.on('cut', cancel, true);
-      editor.events.on('paste', cancel, true);
-
-      editor.events.on('destroy', _destroy, true);
-
-      editor.events.on('html.set', function () {
-        if (isActive()) toggle(true);
-      });
-
-      editor.events.on('codeView.update', refresh);
-
-      editor.events.on('form.submit', function () {
-        if (isActive()) {
-
-          // Code mirror enabled.
-          editor.html.set(get());
-
-          editor.events.trigger('contentChanged', [], true);
-        }
-      }, true);
-    }
-
-    /**
-     * Initialize.
-     */
-    var $back_button;
-
-    function _init () {
-      if (!editor.$wp) return false;
-    }
-
-    return {
-      _init: _init,
-      toggle: toggle,
-      isActive: isActive,
-      get: get
-    }
-  };
-
-  $.FE.RegisterCommand('html', {
-    title: 'Code View',
-    undo: false,
-    focus: false,
-    forcedRefresh: true,
-    toggle: true,
-    callback: function () {
-      this.codeView.toggle();
-    },
-    plugin: 'codeView'
-  })
-
-  $.FE.DefineIcon('html', {
-    NAME: 'code'
-  });
-
-}));

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
modules/boonex/froala/plugins/froala/js/plugins/code_view.min.js


+ 0 - 492
modules/boonex/froala/plugins/froala/js/plugins/colors.js

@@ -1,492 +0,0 @@
-/*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
- * License https://froala.com/wysiwyg-editor/terms/
- * Copyright 2014-2018 Froala Labs
- */
-
-(function (factory) {
-    if (typeof define === 'function' && define.amd) {
-        // AMD. Register as an anonymous module.
-        define(['jquery'], factory);
-    } else if (typeof module === 'object' && module.exports) {
-        // Node/CommonJS
-        module.exports = function( root, jQuery ) {
-            if ( jQuery === undefined ) {
-                // require('jQuery') returns a factory that requires window to
-                // build a jQuery instance, we normalize how we use modules
-                // that require this pattern but the window provided is a noop
-                // if it's defined (how jquery works)
-                if ( typeof window !== 'undefined' ) {
-                    jQuery = require('jquery');
-                }
-                else {
-                    jQuery = require('jquery')(root);
-                }
-            }
-            return factory(jQuery);
-        };
-    } else {
-        // Browser globals
-        factory(window.jQuery);
-    }
-}(function ($) {
-
-  
-
-  $.extend($.FE.POPUP_TEMPLATES, {
-    'colors.picker': '[_BUTTONS_][_TEXT_COLORS_][_BACKGROUND_COLORS_][_CUSTOM_COLOR_]'
-  })
-
-  // Extend defaults.
-  $.extend($.FE.DEFAULTS, {
-    colorsText: [
-      '#61BD6D', '#1ABC9C', '#54ACD2', '#2C82C9', '#9365B8', '#475577', '#CCCCCC',
-      '#41A85F', '#00A885', '#3D8EB9', '#2969B0', '#553982', '#28324E', '#000000',
-      '#F7DA64', '#FBA026', '#EB6B56', '#E25041', '#A38F84', '#EFEFEF', '#FFFFFF',
-      '#FAC51C', '#F37934', '#D14841', '#B8312F', '#7C706B', '#D1D5D8', 'REMOVE'
-    ],
-    colorsBackground: [
-      '#61BD6D', '#1ABC9C', '#54ACD2', '#2C82C9', '#9365B8', '#475577', '#CCCCCC',
-      '#41A85F', '#00A885', '#3D8EB9', '#2969B0', '#553982', '#28324E', '#000000',
-      '#F7DA64', '#FBA026', '#EB6B56', '#E25041', '#A38F84', '#EFEFEF', '#FFFFFF',
-      '#FAC51C', '#F37934', '#D14841', '#B8312F', '#7C706B', '#D1D5D8', 'REMOVE'
-    ],
-    colorsStep: 7,
-    colorsHEXInput: true,
-    colorsDefaultTab: 'text',
-    colorsButtons: ['colorsBack', '|', '-']
-  });
-
-  $.FE.PLUGINS.colors = function (editor) {
-    /*
-     * Show the colors popup.
-     */
-    function _showColorsPopup () {
-      var $btn = editor.$tb.find('.fr-command[data-cmd="color"]');
-
-      var $popup = editor.popups.get('colors.picker');
-
-      if (!$popup) $popup = _initColorsPopup();
-
-      if (!$popup.hasClass('fr-active')) {
-
-        // Colors popup
-        editor.popups.setContainer('colors.picker', editor.$tb);
-
-        // Refresh selected color.
-        _refreshColor($popup.find('.fr-selected-tab').attr('data-param1'));
-
-        // Colors popup left and top position.
-        if ($btn.is(':visible')) {
-          var left = $btn.offset().left + $btn.outerWidth() / 2;
-          var top = $btn.offset().top + (editor.opts.toolbarBottom ? 10 : $btn.outerHeight() - 10);
-          editor.popups.show('colors.picker', left, top, $btn.outerHeight());
-        }
-
-        else {
-          editor.position.forSelection($popup);
-          editor.popups.show('colors.picker');
-        }
-      }
-    }
-
-    /*
-     * Hide colors popup.
-     */
-    function _hideColorsPopup () {
-
-      // Hide popup.
-      editor.popups.hide('colors.picker');
-    }
-
-    /**
-     * Init the colors popup.
-     */
-    function _initColorsPopup () {
-      var colors_buttons = '<div class="fr-buttons fr-colors-buttons">';
-
-      if (editor.opts.toolbarInline) {
-
-        // Colors buttons.
-        if (editor.opts.colorsButtons.length > 0) {
-          colors_buttons += editor.button.buildList(editor.opts.colorsButtons)
-        }
-      }
-
-      colors_buttons += _colorsTabsHTML() + '</div>';
-
-      // Custom HEX.
-      var custom_color = '';
-
-      if (editor.opts.colorsHEXInput) {
-        custom_color = '<div class="fr-color-hex-layer fr-active fr-layer" id="fr-color-hex-layer-' + editor.id + '"><div class="fr-input-line"><input maxlength="7" id="fr-color-hex-layer-text-' + editor.id + '" type="text" placeholder="' + editor.language.translate('HEX Color') + '" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="customColor" tabIndex="2" role="button">' + editor.language.translate('OK') + '</button></div></div>';
-      }
-
-      var template = {
-        buttons: colors_buttons,
-        text_colors: _colorPickerHTML('text'),
-        background_colors: _colorPickerHTML('background'),
-        custom_color: custom_color
-      };
-
-      // Create popup.
-      var $popup = editor.popups.create('colors.picker', template);
-
-      _addAccessibility($popup);
-
-      return $popup;
-    }
-
-    /*
-     * HTML for the color picker text and background tabs.
-     */
-    function _colorsTabsHTML () {
-      var tabs_html = '<div class="fr-colors-tabs fr-group">';
-
-      // Text tab.
-      tabs_html += '<span class="fr-colors-tab ' + (editor.opts.colorsDefaultTab == 'background' ? '' : 'fr-selected-tab ') + 'fr-command" tabIndex="-1" role="button" aria-pressed="' + (editor.opts.colorsDefaultTab == 'background' ? false : true) + '" data-param1="text" data-cmd="colorChangeSet" title="' + editor.language.translate('Text') + '">' + editor.language.translate('Text') + '</span>';
-
-      // Background tab.
-      tabs_html += '<span class="fr-colors-tab ' + (editor.opts.colorsDefaultTab == 'background' ? 'fr-selected-tab ' : '') + 'fr-command" tabIndex="-1" role="button" aria-pressed="' + (editor.opts.colorsDefaultTab == 'background' ? true : false) + '" data-param1="background" data-cmd="colorChangeSet" title="' + editor.language.translate('Background') + '">' + editor.language.translate('Background') + '</span>';
-
-      return tabs_html + '</div>';
-    }
-
-    /*
-     * HTML for the color picker colors.
-     */
-    function _colorPickerHTML (tab) {
-
-      // Get colors according to tab name.
-      var colors = (tab == 'text' ? editor.opts.colorsText : editor.opts.colorsBackground);
-
-      // Create colors html.
-      var colors_html = '<div class="fr-color-set fr-' + tab + '-color' + ((editor.opts.colorsDefaultTab == tab || (editor.opts.colorsDefaultTab != 'text' && editor.opts.colorsDefaultTab != 'background' && tab == 'text')) ? ' fr-selected-set' : '') + '">';
-
-      // Add colors.
-      for (var i = 0; i < colors.length; i++) {
-        if (i !== 0 && i % editor.opts.colorsStep === 0) {
-          colors_html += '<br>';
-        }
-
-        if (colors[i] != 'REMOVE') {
-          colors_html += '<span class="fr-command fr-select-color" style="background: ' + colors[i] + ';" tabIndex="-1" aria-selected="false" role="button" data-cmd="' + tab + 'Color" data-param1="' + colors[i] + '"><span class="fr-sr-only">' + editor.language.translate('Color') + ' ' + colors[i] + '&nbsp;&nbsp;&nbsp;</span></span>';
-        }
-
-        else {
-          colors_html += '<span class="fr-command fr-select-color" data-cmd="' + tab + 'Color" tabIndex="-1" role="button" data-param1="REMOVE" title="' + editor.language.translate('Clear Formatting') + '">' + editor.icon.create('remove') + '<span class="fr-sr-only">' + editor.language.translate('Clear Formatting') + '</span>' +  '</span>';
-        }
-      }
-
-      return colors_html + '</div>';
-    }
-
-    /*
-     * Register keyboard events.
-     */
-    function _addAccessibility ($popup) {
-
-      // Register popup event.
-      editor.events.on('popup.tab', function (e) {
-        var $focused_item = $(e.currentTarget);
-
-        // Skip if popup is not visible or focus is elsewere.
-        if (!editor.popups.isVisible('colors.picker') || !$focused_item.is('span')) {
-          return true;
-        }
-        var key_code = e.which;
-        var status = true;
-
-        // Tabbing.
-        if ($.FE.KEYCODE.TAB == key_code) {
-          var $tb = $popup.find('.fr-buttons');
-
-          // Focus back the popup's toolbar if exists.
-          status = !editor.accessibility.focusToolbar($tb, (e.shiftKey ? true : false));
-        }
-
-        // Arrows.
-        else if ($.FE.KEYCODE.ARROW_UP == key_code || $.FE.KEYCODE.ARROW_DOWN == key_code || $.FE.KEYCODE.ARROW_LEFT == key_code || $.FE.KEYCODE.ARROW_RIGHT == key_code) {
-          if ($focused_item.is('span.fr-select-color')) {
-
-            // Get all current colors.
-            var $colors = $focused_item.parent().find('span.fr-select-color');
-
-            // Get focused item position.
-            var index = $colors.index($focused_item);
-
-            // Get color matrix dimensions.
-            var columns = editor.opts.colorsStep;
-            var lines = Math.floor($colors.length / columns);
-
-            // Get focused item coordinates.
-            var column = index % columns;
-            var line = Math.floor(index / columns);
-
-            var nextIndex = line * columns + column;
-            var dimension = lines * columns;
-
-            // Calculate next index. Go to the other opposite site of the matrix if there is no next adjacent element.
-            // Up/Down: Traverse matrix lines.
-            // Left/Right: Traverse the matrix as it is a vector.
-            if ($.FE.KEYCODE.ARROW_UP == key_code) {
-              nextIndex = (((nextIndex - columns) % dimension) + dimension) % dimension; // Javascript negative modulo bug.
-            }
-            else if ($.FE.KEYCODE.ARROW_DOWN == key_code) {
-              nextIndex = (nextIndex + columns) % dimension;
-            }
-            else if ($.FE.KEYCODE.ARROW_LEFT == key_code) {
-              nextIndex = (((nextIndex - 1) % dimension) + dimension) % dimension; // Javascript negative modulo bug.
-            }
-            else if ($.FE.KEYCODE.ARROW_RIGHT == key_code) {
-              nextIndex = (nextIndex + 1) % dimension;
-            }
-
-            // Get the next element based on the new index.
-            var $el = $($colors.get(nextIndex));
-
-            // Focus.
-            editor.events.disableBlur();
-            $el.focus();
-
-            status = false;
-          }
-        }
-
-        // ENTER or SPACE.
-        else if ($.FE.KEYCODE.ENTER == key_code) {
-
-          editor.button.exec($focused_item);
-          status = false;
-        }
-
-        // Prevent propagation.
-        if (status === false) {
-          e.preventDefault();
-          e.stopPropagation();
-        }
-
-        return status;
-      }, true);
-    }
-
-    /*
-     * Show the current selected color.
-     */
-    function _refreshColor (tab) {
-      var $popup = editor.popups.get('colors.picker');
-      var $element = $(editor.selection.element());
-
-      // The color css property.
-      var color_type;
-
-      if (tab == 'background') {
-        color_type = 'background-color';
-      }
-      else {
-        color_type = 'color';
-      }
-
-      var $current_color = $popup.find('.fr-' + tab + '-color .fr-select-color');
-
-      // Remove current color selection.
-      $current_color.find('.fr-selected-color').remove();
-      $current_color.removeClass('fr-active-item');
-      $current_color.not('[data-param1="REMOVE"]').attr('aria-selected', false);
-
-      // Find the selected color.
-      while ($element.get(0) != editor.el) {
-
-        // Transparent or black.
-        if ($element.css(color_type) == 'transparent' || $element.css(color_type) == 'rgba(0, 0, 0, 0)') {
-          $element = $element.parent();
-        }
-
-        // Select the correct color.
-        else {
-          var $select_color = $popup.find('.fr-' + tab + '-color .fr-select-color[data-param1="' + editor.helpers.RGBToHex($element.css(color_type)) + '"]');
-
-          // Add checked icon.
-          $select_color.append('<span class="fr-selected-color" aria-hidden="true">\uf00c</span>');
-          $select_color.addClass('fr-active-item').attr('aria-selected', true);
-          break;
-        }
-      }
-
-      var $input = $popup.find('.fr-color-hex-layer input');
-
-      if ($input.length) {
-        $input.val(editor.helpers.RGBToHex($element.css(color_type))).trigger('change');
-      }
-    }
-
-    /*
-     * Change the colors' tab.
-     */
-    function _changeSet ($tab, val) {
-
-      // Only on the tab that is not selected yet. On left click only.
-      if (!$tab.hasClass('fr-selected-tab')) {
-
-        // Switch selected tab.
-        $tab.siblings().removeClass('fr-selected-tab').attr('aria-pressed', false);
-        $tab.addClass('fr-selected-tab').attr('aria-pressed', true);
-
-        // Switch the color set.
-        $tab.parents('.fr-popup').find('.fr-color-set').removeClass('fr-selected-set');
-        $tab.parents('.fr-popup').find('.fr-color-set.fr-' + val + '-color').addClass('fr-selected-set');
-
-        // Refresh selected color.
-        _refreshColor(val);
-
-      }
-
-      // Focus popup.
-      editor.accessibility.focusPopup($tab.parents('.fr-popup'));
-    }
-
-    /*
-     * Change background color.
-     */
-    function background (val) {
-
-      // Set background  color.
-      if (val != 'REMOVE') {
-        editor.format.applyStyle('background-color', editor.helpers.HEXtoRGB(val));
-      }
-
-      // Remove background color.
-      else {
-        editor.format.removeStyle('background-color');
-      }
-
-      _hideColorsPopup();
-    }
-
-    /*
-     * Change text color.
-     */
-    function text (val) {
-
-      // Set text color.
-      if (val != 'REMOVE') {
-        editor.format.applyStyle('color', editor.helpers.HEXtoRGB(val));
-      }
-
-      // Remove text color.
-      else {
-        editor.format.removeStyle('color');
-      }
-
-      _hideColorsPopup();
-    }
-
-    /*
-     * Go back to the inline editor.
-     */
-    function back () {
-      editor.popups.hide('colors.picker');
-      editor.toolbar.showInline();
-    }
-
-    function customColor () {
-      var $popup = editor.popups.get('colors.picker');
-
-      var $input = $popup.find('.fr-color-hex-layer input');
-
-      if ($input.length) {
-        var color = $input.val()
-        var tab = $popup.find('.fr-selected-tab').attr('data-param1');
-
-        if (tab == 'background') {
-          background(color);
-        }
-        else {
-          text(color);
-        }
-      }
-    }
-
-    return {
-      showColorsPopup: _showColorsPopup,
-      hideColorsPopup: _hideColorsPopup,
-      changeSet: _changeSet,
-      background: background,
-      customColor: customColor,
-      text: text,
-      back: back
-    }
-  }
-
-  // Toolbar colors button.
-  $.FE.DefineIcon('colors', { NAME: 'tint' });
-  $.FE.RegisterCommand('color', {
-    title: 'Colors',
-    undo: false,
-    focus: true,
-    refreshOnCallback: false,
-    popup: true,
-    callback: function () {
-      if (!this.popups.isVisible('colors.picker')) {
-        this.colors.showColorsPopup();
-      }
-      else {
-        if (this.$el.find('.fr-marker').length) {
-          this.events.disableBlur();
-          this.selection.restore();
-        }
-        this.popups.hide('colors.picker');
-      }
-    },
-    plugin: 'colors'
-  });
-
-  // Select text color command.
-  $.FE.RegisterCommand('textColor', {
-    undo: true,
-    callback: function (cmd, val) {
-      this.colors.text(val);
-    }
-  });
-
-  // Select background color command.
-  $.FE.RegisterCommand('backgroundColor', {
-    undo: true,
-    callback: function (cmd, val) {
-      this.colors.background(val);
-    }
-  });
-
-  $.FE.RegisterCommand('colorChangeSet', {
-    undo: false,
-    focus: false,
-    callback: function (cmd, val) {
-      var $tab = this.popups.get('colors.picker').find('.fr-command[data-cmd="' + cmd + '"][data-param1="' + val + '"]');
-      this.colors.changeSet($tab, val);
-    }
-  });
-
-  // Colors back.
-  $.FE.DefineIcon('colorsBack', { NAME: 'arrow-left' });
-  $.FE.RegisterCommand('colorsBack', {
-    title: 'Back',
-    undo: false,
-    focus: false,
-    back: true,
-    refreshAfterCallback: false,
-    callback: function () {
-      this.colors.back();
-    }
-  });
-
-  $.FE.RegisterCommand('customColor', {
-    title: 'OK',
-    undo: true,
-    callback: function () {
-      this.colors.customColor();
-    }
-  })
-
-  $.FE.DefineIcon('remove', { NAME: 'eraser' });
-
-}));

+ 1 - 1
modules/boonex/froala/plugins/froala/js/plugins/colors.min.js

@@ -1,5 +1,5 @@
 /*!
- * froala_editor v2.8.4 (https://www.froala.com/wysiwyg-editor)
+ * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor)
  * License https://froala.com/wysiwyg-editor/terms/
  * Copyright 2014-2018 Froala Labs
  */

Деякі файли не було показано, через те що забагато файлів було змінено