xmt_froala 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +2 -0
  5. data/app/assets/javascripts/xmt_froala.js +31 -0
  6. data/app/assets/stylesheets/xmt_froala.css +17 -0
  7. data/app/controllers/xmt_froala/application_controller.rb +5 -0
  8. data/app/controllers/xmt_froala/assets_controller.rb +94 -0
  9. data/app/models/xmt_froala/asset_uploader.rb +107 -0
  10. data/app/models/xmt_froala/file_uploader.rb +10 -0
  11. data/app/models/xmt_froala/flash_uploader.rb +10 -0
  12. data/app/models/xmt_froala/image_uploader.rb +10 -0
  13. data/app/models/xmt_froala/media_uploader.rb +10 -0
  14. data/config/routes.rb +6 -0
  15. data/lib/generators/xmt_froala/install/USAGE +10 -0
  16. data/lib/generators/xmt_froala/install/install_generator.rb +23 -0
  17. data/lib/generators/xmt_froala/install/templates/application.js +17 -0
  18. data/lib/generators/xmt_froala/install/templates/xmt_froala.rb +29 -0
  19. data/lib/generators/xmt_froala/migration/USAGE +14 -0
  20. data/lib/generators/xmt_froala/migration/migration_generator.rb +36 -0
  21. data/lib/generators/xmt_froala/migration/templates/migration/migration.rb +18 -0
  22. data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/asset.rb +14 -0
  23. data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/file.rb +3 -0
  24. data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/flash.rb +3 -0
  25. data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/image.rb +3 -0
  26. data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/media.rb +3 -0
  27. data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/asset.rb +27 -0
  28. data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/file.rb +3 -0
  29. data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/flash.rb +3 -0
  30. data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/image.rb +3 -0
  31. data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/media.rb +3 -0
  32. data/lib/tasks/xmt_froala_tasks.rake +9 -0
  33. data/lib/xmt_froala.rb +65 -0
  34. data/lib/xmt_froala/active_record.rb +14 -0
  35. data/lib/xmt_froala/engine.rb +32 -0
  36. data/lib/xmt_froala/formtastic.rb +12 -0
  37. data/lib/xmt_froala/helper.rb +105 -0
  38. data/lib/xmt_froala/simple_form.rb +11 -0
  39. data/lib/xmt_froala/version.rb +3 -0
  40. data/vendor/assets/javascripts/xmt_froala/froala_editor.js +0 -0
  41. data/vendor/assets/javascripts/xmt_froala/languages/ar.js +318 -0
  42. data/vendor/assets/javascripts/xmt_froala/languages/bs.js +318 -0
  43. data/vendor/assets/javascripts/xmt_froala/languages/cs.js +318 -0
  44. data/vendor/assets/javascripts/xmt_froala/languages/da.js +318 -0
  45. data/vendor/assets/javascripts/xmt_froala/languages/de.js +318 -0
  46. data/vendor/assets/javascripts/xmt_froala/languages/en_ca.js +262 -0
  47. data/vendor/assets/javascripts/xmt_froala/languages/en_gb.js +262 -0
  48. data/vendor/assets/javascripts/xmt_froala/languages/es.js +318 -0
  49. data/vendor/assets/javascripts/xmt_froala/languages/et.js +318 -0
  50. data/vendor/assets/javascripts/xmt_froala/languages/fa.js +318 -0
  51. data/vendor/assets/javascripts/xmt_froala/languages/fi.js +318 -0
  52. data/vendor/assets/javascripts/xmt_froala/languages/fr.js +318 -0
  53. data/vendor/assets/javascripts/xmt_froala/languages/he.js +318 -0
  54. data/vendor/assets/javascripts/xmt_froala/languages/hr.js +318 -0
  55. data/vendor/assets/javascripts/xmt_froala/languages/hu.js +318 -0
  56. data/vendor/assets/javascripts/xmt_froala/languages/id.js +319 -0
  57. data/vendor/assets/javascripts/xmt_froala/languages/it.js +318 -0
  58. data/vendor/assets/javascripts/xmt_froala/languages/ja.js +318 -0
  59. data/vendor/assets/javascripts/xmt_froala/languages/ko.js +318 -0
  60. data/vendor/assets/javascripts/xmt_froala/languages/me.js +318 -0
  61. data/vendor/assets/javascripts/xmt_froala/languages/nb.js +318 -0
  62. data/vendor/assets/javascripts/xmt_froala/languages/nl.js +318 -0
  63. data/vendor/assets/javascripts/xmt_froala/languages/pl.js +318 -0
  64. data/vendor/assets/javascripts/xmt_froala/languages/pt_br.js +318 -0
  65. data/vendor/assets/javascripts/xmt_froala/languages/pt_pt.js +318 -0
  66. data/vendor/assets/javascripts/xmt_froala/languages/ro.js +319 -0
  67. data/vendor/assets/javascripts/xmt_froala/languages/ru.js +318 -0
  68. data/vendor/assets/javascripts/xmt_froala/languages/sk.js +318 -0
  69. data/vendor/assets/javascripts/xmt_froala/languages/sr.js +318 -0
  70. data/vendor/assets/javascripts/xmt_froala/languages/sv.js +318 -0
  71. data/vendor/assets/javascripts/xmt_froala/languages/th.js +318 -0
  72. data/vendor/assets/javascripts/xmt_froala/languages/tr.js +318 -0
  73. data/vendor/assets/javascripts/xmt_froala/languages/uk.js +318 -0
  74. data/vendor/assets/javascripts/xmt_froala/languages/vi.js +258 -0
  75. data/vendor/assets/javascripts/xmt_froala/languages/zh_cn.js +320 -0
  76. data/vendor/assets/javascripts/xmt_froala/languages/zh_tw.js +318 -0
  77. data/vendor/assets/javascripts/xmt_froala/plugins/align.js +139 -0
  78. data/vendor/assets/javascripts/xmt_froala/plugins/align.min.js +7 -0
  79. data/vendor/assets/javascripts/xmt_froala/plugins/char_counter.js +154 -0
  80. data/vendor/assets/javascripts/xmt_froala/plugins/char_counter.min.js +7 -0
  81. data/vendor/assets/javascripts/xmt_froala/plugins/code_beautifier.js +3270 -0
  82. data/vendor/assets/javascripts/xmt_froala/plugins/code_beautifier.min.js +7 -0
  83. data/vendor/assets/javascripts/xmt_froala/plugins/code_view.js +393 -0
  84. data/vendor/assets/javascripts/xmt_froala/plugins/code_view.min.js +7 -0
  85. data/vendor/assets/javascripts/xmt_froala/plugins/colors.js +492 -0
  86. data/vendor/assets/javascripts/xmt_froala/plugins/colors.min.js +7 -0
  87. data/vendor/assets/javascripts/xmt_froala/plugins/draggable.js +459 -0
  88. data/vendor/assets/javascripts/xmt_froala/plugins/draggable.min.js +7 -0
  89. data/vendor/assets/javascripts/xmt_froala/plugins/emoticons.js +509 -0
  90. data/vendor/assets/javascripts/xmt_froala/plugins/emoticons.min.js +7 -0
  91. data/vendor/assets/javascripts/xmt_froala/plugins/entities.js +121 -0
  92. data/vendor/assets/javascripts/xmt_froala/plugins/entities.min.js +7 -0
  93. data/vendor/assets/javascripts/xmt_froala/plugins/file.js +736 -0
  94. data/vendor/assets/javascripts/xmt_froala/plugins/file.min.js +239 -0
  95. data/vendor/assets/javascripts/xmt_froala/plugins/font_family.js +182 -0
  96. data/vendor/assets/javascripts/xmt_froala/plugins/font_family.min.js +7 -0
  97. data/vendor/assets/javascripts/xmt_froala/plugins/font_size.js +118 -0
  98. data/vendor/assets/javascripts/xmt_froala/plugins/font_size.min.js +7 -0
  99. data/vendor/assets/javascripts/xmt_froala/plugins/forms.js +430 -0
  100. data/vendor/assets/javascripts/xmt_froala/plugins/forms.min.js +7 -0
  101. data/vendor/assets/javascripts/xmt_froala/plugins/fullscreen.js +274 -0
  102. data/vendor/assets/javascripts/xmt_froala/plugins/fullscreen.min.js +7 -0
  103. data/vendor/assets/javascripts/xmt_froala/plugins/help.js +216 -0
  104. data/vendor/assets/javascripts/xmt_froala/plugins/help.min.js +7 -0
  105. data/vendor/assets/javascripts/xmt_froala/plugins/image.js +3323 -0
  106. data/vendor/assets/javascripts/xmt_froala/plugins/image.min.js +7 -0
  107. data/vendor/assets/javascripts/xmt_froala/plugins/image_manager.js +1056 -0
  108. data/vendor/assets/javascripts/xmt_froala/plugins/image_manager.min.js +7 -0
  109. data/vendor/assets/javascripts/xmt_froala/plugins/inline_style.js +94 -0
  110. data/vendor/assets/javascripts/xmt_froala/plugins/inline_style.min.js +7 -0
  111. data/vendor/assets/javascripts/xmt_froala/plugins/line_breaker.js +537 -0
  112. data/vendor/assets/javascripts/xmt_froala/plugins/line_breaker.min.js +7 -0
  113. data/vendor/assets/javascripts/xmt_froala/plugins/link.js +1157 -0
  114. data/vendor/assets/javascripts/xmt_froala/plugins/link.min.js +7 -0
  115. data/vendor/assets/javascripts/xmt_froala/plugins/lists.js +462 -0
  116. data/vendor/assets/javascripts/xmt_froala/plugins/lists.min.js +7 -0
  117. data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_format.js +290 -0
  118. data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_format.min.js +7 -0
  119. data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_style.js +144 -0
  120. data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_style.min.js +7 -0
  121. data/vendor/assets/javascripts/xmt_froala/plugins/plain_paste.js +96 -0
  122. data/vendor/assets/javascripts/xmt_froala/plugins/print.js +137 -0
  123. data/vendor/assets/javascripts/xmt_froala/plugins/print.min.js +7 -0
  124. data/vendor/assets/javascripts/xmt_froala/plugins/quick_format.js +89 -0
  125. data/vendor/assets/javascripts/xmt_froala/plugins/quick_insert.js +478 -0
  126. data/vendor/assets/javascripts/xmt_froala/plugins/quick_insert.min.js +7 -0
  127. data/vendor/assets/javascripts/xmt_froala/plugins/quote.js +141 -0
  128. data/vendor/assets/javascripts/xmt_froala/plugins/quote.min.js +7 -0
  129. data/vendor/assets/javascripts/xmt_froala/plugins/save.js +189 -0
  130. data/vendor/assets/javascripts/xmt_froala/plugins/save.min.js +7 -0
  131. data/vendor/assets/javascripts/xmt_froala/plugins/special_characters.js +781 -0
  132. data/vendor/assets/javascripts/xmt_froala/plugins/special_characters.min.js +7 -0
  133. data/vendor/assets/javascripts/xmt_froala/plugins/table.js +4194 -0
  134. data/vendor/assets/javascripts/xmt_froala/plugins/table.min.js +7 -0
  135. data/vendor/assets/javascripts/xmt_froala/plugins/url.js +194 -0
  136. data/vendor/assets/javascripts/xmt_froala/plugins/url.min.js +7 -0
  137. data/vendor/assets/javascripts/xmt_froala/plugins/video.js +2342 -0
  138. data/vendor/assets/javascripts/xmt_froala/plugins/video.min.js +7 -0
  139. data/vendor/assets/javascripts/xmt_froala/plugins/word_paste.js +1403 -0
  140. data/vendor/assets/javascripts/xmt_froala/plugins/word_paste.min.js +7 -0
  141. data/vendor/assets/javascripts/xmt_froala/third_party/embedly.js +543 -0
  142. data/vendor/assets/javascripts/xmt_froala/third_party/embedly.min.js +7 -0
  143. data/vendor/assets/javascripts/xmt_froala/third_party/image_aviary.js +163 -0
  144. data/vendor/assets/javascripts/xmt_froala/third_party/image_aviary.min.js +7 -0
  145. data/vendor/assets/javascripts/xmt_froala/third_party/spell_checker.js +222 -0
  146. data/vendor/assets/javascripts/xmt_froala/third_party/spell_checker.min.js +7 -0
  147. data/vendor/assets/javascripts/xmt_froala/xmt_froala.js +15172 -0
  148. data/vendor/assets/stylesheets/xmt_froala/css/font-awesome.css +2546 -0
  149. data/vendor/assets/stylesheets/xmt_froala/css/froala_editor.min.css +7 -0
  150. data/vendor/assets/stylesheets/xmt_froala/css/froala_editor.pkgd.css +2902 -0
  151. data/vendor/assets/stylesheets/xmt_froala/css/froala_editor.pkgd.min.css +7 -0
  152. data/vendor/assets/stylesheets/xmt_froala/css/froala_style.css +413 -0
  153. data/vendor/assets/stylesheets/xmt_froala/css/froala_style.min.css +7 -0
  154. data/vendor/assets/stylesheets/xmt_froala/css/plugins/char_counter.css +57 -0
  155. data/vendor/assets/stylesheets/xmt_froala/css/plugins/char_counter.min.css +7 -0
  156. data/vendor/assets/stylesheets/xmt_froala/css/plugins/code_view.css +112 -0
  157. data/vendor/assets/stylesheets/xmt_froala/css/plugins/code_view.min.css +7 -0
  158. data/vendor/assets/stylesheets/xmt_froala/css/plugins/colors.css +155 -0
  159. data/vendor/assets/stylesheets/xmt_froala/css/plugins/colors.min.css +7 -0
  160. data/vendor/assets/stylesheets/xmt_froala/css/plugins/draggable.css +43 -0
  161. data/vendor/assets/stylesheets/xmt_froala/css/plugins/draggable.min.css +7 -0
  162. data/vendor/assets/stylesheets/xmt_froala/css/plugins/emoticons.css +42 -0
  163. data/vendor/assets/stylesheets/xmt_froala/css/plugins/emoticons.min.css +7 -0
  164. data/vendor/assets/stylesheets/xmt_froala/css/plugins/file.css +146 -0
  165. data/vendor/assets/stylesheets/xmt_froala/css/plugins/file.min.css +7 -0
  166. data/vendor/assets/stylesheets/xmt_froala/css/plugins/fullscreen.css +28 -0
  167. data/vendor/assets/stylesheets/xmt_froala/css/plugins/fullscreen.min.css +7 -0
  168. data/vendor/assets/stylesheets/xmt_froala/css/plugins/help.css +52 -0
  169. data/vendor/assets/stylesheets/xmt_froala/css/plugins/help.min.css +7 -0
  170. data/vendor/assets/stylesheets/xmt_froala/css/plugins/image.css +244 -0
  171. data/vendor/assets/stylesheets/xmt_froala/css/plugins/image.min.css +7 -0
  172. data/vendor/assets/stylesheets/xmt_froala/css/plugins/image_manager.css +266 -0
  173. data/vendor/assets/stylesheets/xmt_froala/css/plugins/image_manager.min.css +7 -0
  174. data/vendor/assets/stylesheets/xmt_froala/css/plugins/line_breaker.css +37 -0
  175. data/vendor/assets/stylesheets/xmt_froala/css/plugins/line_breaker.min.css +7 -0
  176. data/vendor/assets/stylesheets/xmt_froala/css/plugins/quick_insert.css +70 -0
  177. data/vendor/assets/stylesheets/xmt_froala/css/plugins/quick_insert.min.css +7 -0
  178. data/vendor/assets/stylesheets/xmt_froala/css/plugins/special_characters.css +51 -0
  179. data/vendor/assets/stylesheets/xmt_froala/css/plugins/special_characters.min.css +7 -0
  180. data/vendor/assets/stylesheets/xmt_froala/css/plugins/table.css +181 -0
  181. data/vendor/assets/stylesheets/xmt_froala/css/plugins/table.min.css +7 -0
  182. data/vendor/assets/stylesheets/xmt_froala/css/plugins/video.css +231 -0
  183. data/vendor/assets/stylesheets/xmt_froala/css/plugins/video.min.css +7 -0
  184. data/vendor/assets/stylesheets/xmt_froala/css/themes/dark.css +1281 -0
  185. data/vendor/assets/stylesheets/xmt_froala/css/themes/dark.min.css +7 -0
  186. data/vendor/assets/stylesheets/xmt_froala/css/themes/gray.css +1281 -0
  187. data/vendor/assets/stylesheets/xmt_froala/css/themes/gray.min.css +7 -0
  188. data/vendor/assets/stylesheets/xmt_froala/css/themes/red.css +1281 -0
  189. data/vendor/assets/stylesheets/xmt_froala/css/themes/red.min.css +7 -0
  190. data/vendor/assets/stylesheets/xmt_froala/css/themes/royal.css +1281 -0
  191. data/vendor/assets/stylesheets/xmt_froala/css/themes/royal.min.css +7 -0
  192. data/vendor/assets/stylesheets/xmt_froala/css/third_party/embedly.css +64 -0
  193. data/vendor/assets/stylesheets/xmt_froala/css/third_party/embedly.min.css +7 -0
  194. data/vendor/assets/stylesheets/xmt_froala/css/third_party/spell_checker.css +72 -0
  195. data/vendor/assets/stylesheets/xmt_froala/css/third_party/spell_checker.min.css +7 -0
  196. data/vendor/assets/stylesheets/xmt_froala/css/xmt_froala.css +1423 -0
  197. data/vendor/assets/stylesheets/xmt_froala/fonts/FontAwesome.otf +0 -0
  198. data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.eot +0 -0
  199. data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.svg +2671 -0
  200. data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.ttf +0 -0
  201. data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.woff +0 -0
  202. data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.woff2 +0 -0
  203. metadata +273 -0
@@ -0,0 +1,262 @@
1
+ /*!
2
+ * froala_editor v2.8.1 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2018 Froala Labs
5
+ */
6
+
7
+ (function (factory) {
8
+ if (typeof define === 'function' && define.amd) {
9
+ // AMD. Register as an anonymous module.
10
+ define(['jquery'], factory);
11
+ } else if (typeof module === 'object' && module.exports) {
12
+ // Node/CommonJS
13
+ module.exports = function( root, jQuery ) {
14
+ if ( jQuery === undefined ) {
15
+ // require('jQuery') returns a factory that requires window to
16
+ // build a jQuery instance, we normalize how we use modules
17
+ // that require this pattern but the window provided is a noop
18
+ // if it's defined (how jquery works)
19
+ if ( typeof window !== 'undefined' ) {
20
+ jQuery = require('jquery');
21
+ }
22
+ else {
23
+ jQuery = require('jquery')(root);
24
+ }
25
+ }
26
+ return factory(jQuery);
27
+ };
28
+ } else {
29
+ // Browser globals
30
+ factory(window.jQuery);
31
+ }
32
+ }(function ($) {
33
+ /**
34
+ * English spoken in Canada
35
+ */
36
+
37
+ $.FE.LANGUAGE['en_ca'] = {
38
+ translation: {
39
+ // Place holder
40
+ "Type something": "Type something",
41
+
42
+ // Basic formatting
43
+ "Bold": "Bold",
44
+ "Italic": "Italic",
45
+ "Underline": "Underline",
46
+ "Strikethrough": "Strikethrough",
47
+
48
+ // Main buttons
49
+ "Insert": "Insert",
50
+ "Delete": "Delete",
51
+ "Cancel": "Cancel",
52
+ "OK": "OK",
53
+ "Back": "Back",
54
+ "Remove": "Remove",
55
+ "More": "More",
56
+ "Update": "Update",
57
+ "Style": "Style",
58
+
59
+ // Font
60
+ "Font Family": "Font Family",
61
+ "Font Size": "Font Size",
62
+
63
+ // Colors
64
+ "Colors": "Colours",
65
+ "Background": "Background",
66
+ "Text": "Text",
67
+ "HEX Color": "HEX Colour",
68
+
69
+ // Paragraphs
70
+ "Paragraph Format": "Paragraph Format",
71
+ "Normal": "Normal",
72
+ "Code": "Code",
73
+ "Heading 1": "Heading 1",
74
+ "Heading 2": "Heading 2",
75
+ "Heading 3": "Heading 3",
76
+ "Heading 4": "Heading 4",
77
+
78
+ // Style
79
+ "Paragraph Style": "Paragraph Style",
80
+ "Inline Style": "Inline Style",
81
+
82
+ // Alignment
83
+ "Align": "Align",
84
+ "Align Left": "Align Left",
85
+ "Align Center": "Align Centre",
86
+ "Align Right": "Alight Right",
87
+ "Align Justify": "Align Justify",
88
+ "None": "None",
89
+
90
+ // Lists
91
+ "Ordered List": "Ordered List",
92
+ "Unordered List": "Unordered List",
93
+
94
+ // Indent
95
+ "Decrease Indent": "Decrease Indent",
96
+ "Increase Indent": "Increase Indent",
97
+
98
+ // Links
99
+ "Insert Link": "Insert Link",
100
+ "Open in new tab": "Open in new tab",
101
+ "Open Link": "Open Link",
102
+ "Edit Link": "Edit Link",
103
+ "Unlink": "Unlink",
104
+ "Choose Link": "Choose Link",
105
+
106
+ // Images
107
+ "Insert Image": "Insert Image",
108
+ "Upload Image": "Upload Image",
109
+ "By URL": "By URL",
110
+ "Browse": "Browse",
111
+ "Drop image": "Drop image",
112
+ "or click": "or click",
113
+ "Manage Images": "Manage Images",
114
+ "Loading": "Loading",
115
+ "Deleting": "Deleting",
116
+ "Tags": "Tags",
117
+ "Are you sure? Image will be deleted.": "Are you sure? Image will be deleted.",
118
+ "Replace": "Replace",
119
+ "Uploading": "Uploading",
120
+ "Loading image": "Loading image",
121
+ "Display": "Display",
122
+ "Inline": "Inline",
123
+ "Break Text": "Break Text",
124
+ "Alternate Text": "Alternate Text",
125
+ "Change Size": "Change Size",
126
+ "Width": "Width",
127
+ "Height": "Height",
128
+ "Something went wrong. Please try again.": "Something went wrong. Please try again.",
129
+ "Image Caption": "Image Caption",
130
+ "Advanced Edit": "Advanced Edit",
131
+
132
+ // Video
133
+ "Insert Video": "Insert Video",
134
+ "Embedded Code": "Embedded Code",
135
+ "Paste in a video URL": "Paste in a video URL",
136
+ "Drop video": "Drop video",
137
+ "Your browser does not support HTML5 video.": "Your browser does not support HTML5 video.",
138
+ "Upload Video": "Upload Video",
139
+
140
+ // Tables
141
+ "Insert Table": "Insert Table",
142
+ "Table Header": "Table Header",
143
+ "Remove Table": "Remove Table",
144
+ "Table Style": "Table Style",
145
+ "Horizontal Align": "Horizontal Align",
146
+ "Row": "Row",
147
+ "Insert row above": "Insert row above",
148
+ "Insert row below": "Insert row below",
149
+ "Delete row": "Delete row",
150
+ "Column": "Column",
151
+ "Insert column before": "Insert column before",
152
+ "Insert column after": "Insert column after",
153
+ "Delete column": "Delete column",
154
+ "Cell": "Cell",
155
+ "Merge cells": "Merge cells",
156
+ "Horizontal split": "Horizontal split",
157
+ "Vertical split": "Vertical split",
158
+ "Cell Background": "Cell Background",
159
+ "Vertical Align": "Vertical Align",
160
+ "Top": "Top",
161
+ "Middle": "Middle",
162
+ "Bottom": "Bottom",
163
+ "Align Top": "Align Top",
164
+ "Align Middle": "Align Middle",
165
+ "Align Bottom": "Align Bottom",
166
+ "Cell Style": "Cell Style",
167
+
168
+ // Files
169
+ "Upload File": "Upload File",
170
+ "Drop file": "Drop file",
171
+
172
+ // Emoticons
173
+ "Emoticons": "Emoticons",
174
+
175
+ // Line breaker
176
+ "Break": "Break",
177
+
178
+ // Math
179
+ "Subscript": "Subscript",
180
+ "Superscript": "Superscript",
181
+
182
+ // Full screen
183
+ "Fullscreen": "Fullscreen",
184
+
185
+ // Horizontal line
186
+ "Insert Horizontal Line": "Insert Horizontal Line",
187
+
188
+ // Clear formatting
189
+ "Clear Formatting": "Cell Formatting",
190
+
191
+ // Undo, redo
192
+ "Undo": "Undo",
193
+ "Redo": "Redo",
194
+
195
+ // Select all
196
+ "Select All": "Select All",
197
+
198
+ // Code view
199
+ "Code View": "Code View",
200
+
201
+ // Quote
202
+ "Quote": "Quote",
203
+ "Increase": "Increase",
204
+ "Decrease": "Decrease",
205
+
206
+ // Quick Insert
207
+ "Quick Insert": "Quick Insert",
208
+
209
+ // Spcial Characters
210
+ "Special Characters": "Special Characters",
211
+ "Latin": "Latin",
212
+ "Greek": "Greek",
213
+ "Cyrillic": "Cyrillic",
214
+ "Punctuation": "Punctuation",
215
+ "Currency": "Currency",
216
+ "Arrows": "Arrows",
217
+ "Math": "Math",
218
+ "Misc": "Misc",
219
+
220
+ // Print.
221
+ "Print": "Print",
222
+
223
+ // Spell Checker.
224
+ "Spell Checker": "Spell Checker",
225
+
226
+ // Help
227
+ "Help": "Help",
228
+ "Shortcuts": "Shortcuts",
229
+ "Inline Editor": "Inline Editor",
230
+ "Show the editor": "Show the editor",
231
+ "Common actions": "Common actions",
232
+ "Copy": "Copy",
233
+ "Cut": "Cut",
234
+ "Paste": "Paste",
235
+ "Basic Formatting": "Basic Formatting",
236
+ "Increase quote level": "Increase quote level",
237
+ "Decrease quote level": "Decrease quote level",
238
+ "Image / Video": "Image / Video",
239
+ "Resize larger": "Resize larger",
240
+ "Resize smaller": "Resize smaller",
241
+ "Table": "Table",
242
+ "Select table cell": "Select table cell",
243
+ "Extend selection one cell": "Extend selection one cell",
244
+ "Extend selection one row": "Extend selection one row",
245
+ "Navigation": "Navigation",
246
+ "Focus popup / toolbar": "Focus popup / toolbar",
247
+ "Return focus to previous position": "Return focus to previous position",
248
+
249
+ // Embed.ly
250
+ "Embed URL": "Embed URL",
251
+ "Paste in a URL to embed": "Paste in a URL to embed",
252
+
253
+ // Word Paste.
254
+ "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?",
255
+ "Keep": "Keep",
256
+ "Clean": "Clean",
257
+ "Word Paste Detected": "Word Paste Detected"
258
+ },
259
+ direction: "ltr"
260
+ };
261
+
262
+ }));
@@ -0,0 +1,262 @@
1
+ /*!
2
+ * froala_editor v2.8.1 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2018 Froala Labs
5
+ */
6
+
7
+ (function (factory) {
8
+ if (typeof define === 'function' && define.amd) {
9
+ // AMD. Register as an anonymous module.
10
+ define(['jquery'], factory);
11
+ } else if (typeof module === 'object' && module.exports) {
12
+ // Node/CommonJS
13
+ module.exports = function( root, jQuery ) {
14
+ if ( jQuery === undefined ) {
15
+ // require('jQuery') returns a factory that requires window to
16
+ // build a jQuery instance, we normalize how we use modules
17
+ // that require this pattern but the window provided is a noop
18
+ // if it's defined (how jquery works)
19
+ if ( typeof window !== 'undefined' ) {
20
+ jQuery = require('jquery');
21
+ }
22
+ else {
23
+ jQuery = require('jquery')(root);
24
+ }
25
+ }
26
+ return factory(jQuery);
27
+ };
28
+ } else {
29
+ // Browser globals
30
+ factory(window.jQuery);
31
+ }
32
+ }(function ($) {
33
+ /**
34
+ * English spoken in Great Britain
35
+ */
36
+
37
+ $.FE.LANGUAGE['en_gb'] = {
38
+ translation: {
39
+ // Place holder
40
+ "Type something": "Type something",
41
+
42
+ // Basic formatting
43
+ "Bold": "Bold",
44
+ "Italic": "Italic",
45
+ "Underline": "Underline",
46
+ "Strikethrough": "Strikethrough",
47
+
48
+ // Main buttons
49
+ "Insert": "Insert",
50
+ "Delete": "Delete",
51
+ "Cancel": "Cancel",
52
+ "OK": "OK",
53
+ "Back": "Back",
54
+ "Remove": "Remove",
55
+ "More": "More",
56
+ "Update": "Update",
57
+ "Style": "Style",
58
+
59
+ // Font
60
+ "Font Family": "Font Family",
61
+ "Font Size": "Font Size",
62
+
63
+ // Colors
64
+ "Colors": "Colours",
65
+ "Background": "Background",
66
+ "Text": "Text",
67
+ "HEX Color": "HEX Colour",
68
+
69
+ // Paragraphs
70
+ "Paragraph Format": "Paragraph Format",
71
+ "Normal": "Normal",
72
+ "Code": "Code",
73
+ "Heading 1": "Heading 1",
74
+ "Heading 2": "Heading 2",
75
+ "Heading 3": "Heading 3",
76
+ "Heading 4": "Heading 4",
77
+
78
+ // Style
79
+ "Paragraph Style": "Paragraph Style",
80
+ "Inline Style": "Inline Style",
81
+
82
+ // Alignment
83
+ "Align": "Align",
84
+ "Align Left": "Align Left",
85
+ "Align Center": "Align Centre",
86
+ "Align Right": "Alight Right",
87
+ "Align Justify": "Align Justify",
88
+ "None": "None",
89
+
90
+ // Lists
91
+ "Ordered List": "Ordered List",
92
+ "Unordered List": "Unordered List",
93
+
94
+ // Indent
95
+ "Decrease Indent": "Decrease Indent",
96
+ "Increase Indent": "Increase Indent",
97
+
98
+ // Links
99
+ "Insert Link": "Insert Link",
100
+ "Open in new tab": "Open in new tab",
101
+ "Open Link": "Open Link",
102
+ "Edit Link": "Edit Link",
103
+ "Unlink": "Unlink",
104
+ "Choose Link": "Choose Link",
105
+
106
+ // Images
107
+ "Insert Image": "Insert Image",
108
+ "Upload Image": "Upload Image",
109
+ "By URL": "By URL",
110
+ "Browse": "Browse",
111
+ "Drop image": "Drop image",
112
+ "or click": "or click",
113
+ "Manage Images": "Manage Images",
114
+ "Loading": "Loading",
115
+ "Deleting": "Deleting",
116
+ "Tags": "Tags",
117
+ "Are you sure? Image will be deleted.": "Are you sure? Image will be deleted.",
118
+ "Replace": "Replace",
119
+ "Uploading": "Uploading",
120
+ "Loading image": "Loading image",
121
+ "Display": "Display",
122
+ "Inline": "Inline",
123
+ "Break Text": "Break Text",
124
+ "Alternate Text": "Alternate Text",
125
+ "Change Size": "Change Size",
126
+ "Width": "Width",
127
+ "Height": "Height",
128
+ "Something went wrong. Please try again.": "Something went wrong. Please try again.",
129
+ "Image Caption": "Image Caption",
130
+ "Advanced Edit": "Advanced Edit",
131
+
132
+ // Video
133
+ "Insert Video": "Insert Video",
134
+ "Embedded Code": "Embedded Code",
135
+ "Paste in a video URL": "Paste in a video URL",
136
+ "Drop video": "Drop video",
137
+ "Your browser does not support HTML5 video.": "Your browser does not support HTML5 video.",
138
+ "Upload Video": "Upload Video",
139
+
140
+ // Tables
141
+ "Insert Table": "Insert Table",
142
+ "Table Header": "Table Header",
143
+ "Remove Table": "Remove Table",
144
+ "Table Style": "Table Style",
145
+ "Horizontal Align": "Horizontal Align",
146
+ "Row": "Row",
147
+ "Insert row above": "Insert row above",
148
+ "Insert row below": "Insert row below",
149
+ "Delete row": "Delete row",
150
+ "Column": "Column",
151
+ "Insert column before": "Insert column before",
152
+ "Insert column after": "Insert column after",
153
+ "Delete column": "Delete column",
154
+ "Cell": "Cell",
155
+ "Merge cells": "Merge cells",
156
+ "Horizontal split": "Horizontal split",
157
+ "Vertical split": "Vertical split",
158
+ "Cell Background": "Cell Background",
159
+ "Vertical Align": "Vertical Align",
160
+ "Top": "Top",
161
+ "Middle": "Middle",
162
+ "Bottom": "Bottom",
163
+ "Align Top": "Align Top",
164
+ "Align Middle": "Align Middle",
165
+ "Align Bottom": "Align Bottom",
166
+ "Cell Style": "Cell Style",
167
+
168
+ // Files
169
+ "Upload File": "Upload File",
170
+ "Drop file": "Drop file",
171
+
172
+ // Emoticons
173
+ "Emoticons": "Emoticons",
174
+
175
+ // Line breaker
176
+ "Break": "Break",
177
+
178
+ // Math
179
+ "Subscript": "Subscript",
180
+ "Superscript": "Superscript",
181
+
182
+ // Full screen
183
+ "Fullscreen": "Fullscreen",
184
+
185
+ // Horizontal line
186
+ "Insert Horizontal Line": "Insert Horizontal Line",
187
+
188
+ // Clear formatting
189
+ "Clear Formatting": "Cell Formatting",
190
+
191
+ // Undo, redo
192
+ "Undo": "Undo",
193
+ "Redo": "Redo",
194
+
195
+ // Select all
196
+ "Select All": "Select All",
197
+
198
+ // Code view
199
+ "Code View": "Code View",
200
+
201
+ // Quote
202
+ "Quote": "Quote",
203
+ "Increase": "Increase",
204
+ "Decrease": "Decrease",
205
+
206
+ // Quick Insert
207
+ "Quick Insert": "Quick Insert",
208
+
209
+ // Spcial Characters
210
+ "Special Characters": "Special Characters",
211
+ "Latin": "Latin",
212
+ "Greek": "Greek",
213
+ "Cyrillic": "Cyrillic",
214
+ "Punctuation": "Punctuation",
215
+ "Currency": "Currency",
216
+ "Arrows": "Arrows",
217
+ "Math": "Math",
218
+ "Misc": "Misc",
219
+
220
+ // Print.
221
+ "Print": "Print",
222
+
223
+ // Spell Checker.
224
+ "Spell Checker": "Spell Checker",
225
+
226
+ // Help
227
+ "Help": "Help",
228
+ "Shortcuts": "Shortcuts",
229
+ "Inline Editor": "Inline Editor",
230
+ "Show the editor": "Show the editor",
231
+ "Common actions": "Common actions",
232
+ "Copy": "Copy",
233
+ "Cut": "Cut",
234
+ "Paste": "Paste",
235
+ "Basic Formatting": "Basic Formatting",
236
+ "Increase quote level": "Increase quote level",
237
+ "Decrease quote level": "Decrease quote level",
238
+ "Image / Video": "Image / Video",
239
+ "Resize larger": "Resize larger",
240
+ "Resize smaller": "Resize smaller",
241
+ "Table": "Table",
242
+ "Select table cell": "Select table cell",
243
+ "Extend selection one cell": "Extend selection one cell",
244
+ "Extend selection one row": "Extend selection one row",
245
+ "Navigation": "Navigation",
246
+ "Focus popup / toolbar": "Focus popup / toolbar",
247
+ "Return focus to previous position": "Return focus to previous position",
248
+
249
+ // Embed.ly
250
+ "Embed URL": "Embed URL",
251
+ "Paste in a URL to embed": "Paste in a URL to embed",
252
+
253
+ // Word Paste.
254
+ "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?",
255
+ "Keep": "Keep",
256
+ "Clean": "Clean",
257
+ "Word Paste Detected": "Word Paste Detected"
258
+ },
259
+ direction: "ltr"
260
+ };
261
+
262
+ }));