xmt_froala 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +2 -0
- data/app/assets/javascripts/xmt_froala.js +31 -0
- data/app/assets/stylesheets/xmt_froala.css +17 -0
- data/app/controllers/xmt_froala/application_controller.rb +5 -0
- data/app/controllers/xmt_froala/assets_controller.rb +94 -0
- data/app/models/xmt_froala/asset_uploader.rb +107 -0
- data/app/models/xmt_froala/file_uploader.rb +10 -0
- data/app/models/xmt_froala/flash_uploader.rb +10 -0
- data/app/models/xmt_froala/image_uploader.rb +10 -0
- data/app/models/xmt_froala/media_uploader.rb +10 -0
- data/config/routes.rb +6 -0
- data/lib/generators/xmt_froala/install/USAGE +10 -0
- data/lib/generators/xmt_froala/install/install_generator.rb +23 -0
- data/lib/generators/xmt_froala/install/templates/application.js +17 -0
- data/lib/generators/xmt_froala/install/templates/xmt_froala.rb +29 -0
- data/lib/generators/xmt_froala/migration/USAGE +14 -0
- data/lib/generators/xmt_froala/migration/migration_generator.rb +36 -0
- data/lib/generators/xmt_froala/migration/templates/migration/migration.rb +18 -0
- data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/asset.rb +14 -0
- data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/file.rb +3 -0
- data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/flash.rb +3 -0
- data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/image.rb +3 -0
- data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/media.rb +3 -0
- data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/asset.rb +27 -0
- data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/file.rb +3 -0
- data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/flash.rb +3 -0
- data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/image.rb +3 -0
- data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/media.rb +3 -0
- data/lib/tasks/xmt_froala_tasks.rake +9 -0
- data/lib/xmt_froala.rb +65 -0
- data/lib/xmt_froala/active_record.rb +14 -0
- data/lib/xmt_froala/engine.rb +32 -0
- data/lib/xmt_froala/formtastic.rb +12 -0
- data/lib/xmt_froala/helper.rb +105 -0
- data/lib/xmt_froala/simple_form.rb +11 -0
- data/lib/xmt_froala/version.rb +3 -0
- data/vendor/assets/javascripts/xmt_froala/froala_editor.js +0 -0
- data/vendor/assets/javascripts/xmt_froala/languages/ar.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/bs.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/cs.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/da.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/de.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/en_ca.js +262 -0
- data/vendor/assets/javascripts/xmt_froala/languages/en_gb.js +262 -0
- data/vendor/assets/javascripts/xmt_froala/languages/es.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/et.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/fa.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/fi.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/fr.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/he.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/hr.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/hu.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/id.js +319 -0
- data/vendor/assets/javascripts/xmt_froala/languages/it.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/ja.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/ko.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/me.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/nb.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/nl.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/pl.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/pt_br.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/pt_pt.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/ro.js +319 -0
- data/vendor/assets/javascripts/xmt_froala/languages/ru.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/sk.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/sr.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/sv.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/th.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/tr.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/uk.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/languages/vi.js +258 -0
- data/vendor/assets/javascripts/xmt_froala/languages/zh_cn.js +320 -0
- data/vendor/assets/javascripts/xmt_froala/languages/zh_tw.js +318 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/align.js +139 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/align.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/char_counter.js +154 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/char_counter.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/code_beautifier.js +3270 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/code_beautifier.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/code_view.js +393 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/code_view.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/colors.js +492 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/colors.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/draggable.js +459 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/draggable.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/emoticons.js +509 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/emoticons.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/entities.js +121 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/entities.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/file.js +736 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/file.min.js +239 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/font_family.js +182 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/font_family.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/font_size.js +118 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/font_size.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/forms.js +430 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/forms.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/fullscreen.js +274 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/fullscreen.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/help.js +216 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/help.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/image.js +3323 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/image.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/image_manager.js +1056 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/image_manager.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/inline_style.js +94 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/inline_style.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/line_breaker.js +537 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/line_breaker.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/link.js +1157 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/link.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/lists.js +462 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/lists.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_format.js +290 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_format.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_style.js +144 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_style.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/plain_paste.js +96 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/print.js +137 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/print.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/quick_format.js +89 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/quick_insert.js +478 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/quick_insert.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/quote.js +141 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/quote.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/save.js +189 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/save.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/special_characters.js +781 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/special_characters.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/table.js +4194 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/table.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/url.js +194 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/url.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/video.js +2342 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/video.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/word_paste.js +1403 -0
- data/vendor/assets/javascripts/xmt_froala/plugins/word_paste.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/third_party/embedly.js +543 -0
- data/vendor/assets/javascripts/xmt_froala/third_party/embedly.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/third_party/image_aviary.js +163 -0
- data/vendor/assets/javascripts/xmt_froala/third_party/image_aviary.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/third_party/spell_checker.js +222 -0
- data/vendor/assets/javascripts/xmt_froala/third_party/spell_checker.min.js +7 -0
- data/vendor/assets/javascripts/xmt_froala/xmt_froala.js +15172 -0
- data/vendor/assets/stylesheets/xmt_froala/css/font-awesome.css +2546 -0
- data/vendor/assets/stylesheets/xmt_froala/css/froala_editor.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/froala_editor.pkgd.css +2902 -0
- data/vendor/assets/stylesheets/xmt_froala/css/froala_editor.pkgd.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/froala_style.css +413 -0
- data/vendor/assets/stylesheets/xmt_froala/css/froala_style.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/char_counter.css +57 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/char_counter.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/code_view.css +112 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/code_view.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/colors.css +155 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/colors.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/draggable.css +43 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/draggable.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/emoticons.css +42 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/emoticons.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/file.css +146 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/file.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/fullscreen.css +28 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/fullscreen.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/help.css +52 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/help.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/image.css +244 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/image.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/image_manager.css +266 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/image_manager.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/line_breaker.css +37 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/line_breaker.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/quick_insert.css +70 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/quick_insert.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/special_characters.css +51 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/special_characters.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/table.css +181 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/table.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/video.css +231 -0
- data/vendor/assets/stylesheets/xmt_froala/css/plugins/video.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/themes/dark.css +1281 -0
- data/vendor/assets/stylesheets/xmt_froala/css/themes/dark.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/themes/gray.css +1281 -0
- data/vendor/assets/stylesheets/xmt_froala/css/themes/gray.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/themes/red.css +1281 -0
- data/vendor/assets/stylesheets/xmt_froala/css/themes/red.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/themes/royal.css +1281 -0
- data/vendor/assets/stylesheets/xmt_froala/css/themes/royal.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/third_party/embedly.css +64 -0
- data/vendor/assets/stylesheets/xmt_froala/css/third_party/embedly.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/third_party/spell_checker.css +72 -0
- data/vendor/assets/stylesheets/xmt_froala/css/third_party/spell_checker.min.css +7 -0
- data/vendor/assets/stylesheets/xmt_froala/css/xmt_froala.css +1423 -0
- data/vendor/assets/stylesheets/xmt_froala/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.svg +2671 -0
- data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.woff2 +0 -0
- 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
|
+
}));
|