activeadmin_froala_editor 0.1.2 → 0.2.8

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 (156) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +1 -1
  3. data/README.md +43 -26
  4. data/Rakefile +2 -2
  5. data/app/assets/javascripts/activeadmin/froala_editor/froala_editor.min.js +3 -8
  6. data/app/assets/javascripts/activeadmin/froala_editor/froala_editor.pkgd.min.js +3 -18
  7. data/app/assets/javascripts/activeadmin/froala_editor/languages/ar.js +287 -310
  8. data/app/assets/javascripts/activeadmin/froala_editor/languages/bs.js +274 -310
  9. data/app/assets/javascripts/activeadmin/froala_editor/languages/cs.js +280 -310
  10. data/app/assets/javascripts/activeadmin/froala_editor/languages/da.js +272 -310
  11. data/app/assets/javascripts/activeadmin/froala_editor/languages/de.js +305 -310
  12. data/app/assets/javascripts/activeadmin/froala_editor/languages/el.js +284 -0
  13. data/app/assets/javascripts/activeadmin/froala_editor/languages/en_ca.js +218 -254
  14. data/app/assets/javascripts/activeadmin/froala_editor/languages/en_gb.js +218 -254
  15. data/app/assets/javascripts/activeadmin/froala_editor/languages/es.js +266 -310
  16. data/app/assets/javascripts/activeadmin/froala_editor/languages/et.js +274 -310
  17. data/app/assets/javascripts/activeadmin/froala_editor/languages/fa.js +274 -310
  18. data/app/assets/javascripts/activeadmin/froala_editor/languages/fi.js +274 -310
  19. data/app/assets/javascripts/activeadmin/froala_editor/languages/fr.js +295 -310
  20. data/app/assets/javascripts/activeadmin/froala_editor/languages/he.js +274 -310
  21. data/app/assets/javascripts/activeadmin/froala_editor/languages/hr.js +274 -310
  22. data/app/assets/javascripts/activeadmin/froala_editor/languages/hu.js +280 -310
  23. data/app/assets/javascripts/activeadmin/froala_editor/languages/id.js +274 -311
  24. data/app/assets/javascripts/activeadmin/froala_editor/languages/it.js +275 -310
  25. data/app/assets/javascripts/activeadmin/froala_editor/languages/ja.js +274 -310
  26. data/app/assets/javascripts/activeadmin/froala_editor/languages/ko.js +274 -310
  27. data/app/assets/javascripts/activeadmin/froala_editor/languages/ku.js +271 -0
  28. data/app/assets/javascripts/activeadmin/froala_editor/languages/me.js +274 -310
  29. data/app/assets/javascripts/activeadmin/froala_editor/languages/nb.js +274 -310
  30. data/app/assets/javascripts/activeadmin/froala_editor/languages/nl.js +287 -310
  31. data/app/assets/javascripts/activeadmin/froala_editor/languages/pl.js +274 -310
  32. data/app/assets/javascripts/activeadmin/froala_editor/languages/pt_br.js +274 -310
  33. data/app/assets/javascripts/activeadmin/froala_editor/languages/pt_pt.js +274 -310
  34. data/app/assets/javascripts/activeadmin/froala_editor/languages/ro.js +274 -311
  35. data/app/assets/javascripts/activeadmin/froala_editor/languages/ru.js +287 -310
  36. data/app/assets/javascripts/activeadmin/froala_editor/languages/sk.js +280 -310
  37. data/app/assets/javascripts/activeadmin/froala_editor/languages/sl.js +224 -0
  38. data/app/assets/javascripts/activeadmin/froala_editor/languages/sr.js +274 -310
  39. data/app/assets/javascripts/activeadmin/froala_editor/languages/sv.js +274 -310
  40. data/app/assets/javascripts/activeadmin/froala_editor/languages/th.js +274 -310
  41. data/app/assets/javascripts/activeadmin/froala_editor/languages/tr.js +274 -310
  42. data/app/assets/javascripts/activeadmin/froala_editor/languages/uk.js +274 -310
  43. data/app/assets/javascripts/activeadmin/froala_editor/languages/vi.js +215 -250
  44. data/app/assets/javascripts/activeadmin/froala_editor/languages/zh_cn.js +300 -310
  45. data/app/assets/javascripts/activeadmin/froala_editor/languages/zh_tw.js +274 -310
  46. data/app/assets/javascripts/activeadmin/froala_editor/plugins.pkgd.min.js +7 -0
  47. data/app/assets/javascripts/activeadmin/froala_editor/plugins/align.min.js +3 -3
  48. data/app/assets/javascripts/activeadmin/froala_editor/plugins/char_counter.min.js +3 -3
  49. data/app/assets/javascripts/activeadmin/froala_editor/plugins/code_beautifier.min.js +3 -4
  50. data/app/assets/javascripts/activeadmin/froala_editor/plugins/code_view.min.js +3 -3
  51. data/app/assets/javascripts/activeadmin/froala_editor/plugins/colors.min.js +3 -3
  52. data/app/assets/javascripts/activeadmin/froala_editor/plugins/cryptojs.min.js +7 -0
  53. data/app/assets/javascripts/activeadmin/froala_editor/plugins/draggable.min.js +3 -3
  54. data/app/assets/javascripts/activeadmin/froala_editor/plugins/edit_in_popup.min.js +7 -0
  55. data/app/assets/javascripts/activeadmin/froala_editor/plugins/emoticons.min.js +3 -3
  56. data/app/assets/javascripts/activeadmin/froala_editor/plugins/entities.min.js +3 -3
  57. data/app/assets/javascripts/activeadmin/froala_editor/plugins/file.min.js +3 -3
  58. data/app/assets/javascripts/activeadmin/froala_editor/plugins/files_manager.min.js +7 -0
  59. data/app/assets/javascripts/activeadmin/froala_editor/plugins/font_family.min.js +3 -3
  60. data/app/assets/javascripts/activeadmin/froala_editor/plugins/font_size.min.js +3 -3
  61. data/app/assets/javascripts/activeadmin/froala_editor/plugins/forms.min.js +3 -3
  62. data/app/assets/javascripts/activeadmin/froala_editor/plugins/fullscreen.min.js +3 -3
  63. data/app/assets/javascripts/activeadmin/froala_editor/plugins/help.min.js +3 -3
  64. data/app/assets/javascripts/activeadmin/froala_editor/plugins/image.min.js +3 -4
  65. data/app/assets/javascripts/activeadmin/froala_editor/plugins/image_manager.min.js +3 -3
  66. data/app/assets/javascripts/activeadmin/froala_editor/plugins/inline_class.min.js +7 -0
  67. data/app/assets/javascripts/activeadmin/froala_editor/plugins/inline_style.min.js +3 -3
  68. data/app/assets/javascripts/activeadmin/froala_editor/plugins/line_breaker.min.js +3 -3
  69. data/app/assets/javascripts/activeadmin/froala_editor/plugins/line_height.min.js +7 -0
  70. data/app/assets/javascripts/activeadmin/froala_editor/plugins/link.min.js +3 -3
  71. data/app/assets/javascripts/activeadmin/froala_editor/plugins/lists.min.js +3 -3
  72. data/app/assets/javascripts/activeadmin/froala_editor/plugins/paragraph_format.min.js +3 -3
  73. data/app/assets/javascripts/activeadmin/froala_editor/plugins/paragraph_style.min.js +3 -3
  74. data/app/assets/javascripts/activeadmin/froala_editor/plugins/print.min.js +3 -3
  75. data/app/assets/javascripts/activeadmin/froala_editor/plugins/quick_insert.min.js +3 -3
  76. data/app/assets/javascripts/activeadmin/froala_editor/plugins/quote.min.js +3 -3
  77. data/app/assets/javascripts/activeadmin/froala_editor/plugins/save.min.js +3 -3
  78. data/app/assets/javascripts/activeadmin/froala_editor/plugins/special_characters.min.js +3 -3
  79. data/app/assets/javascripts/activeadmin/froala_editor/plugins/table.min.js +3 -4
  80. data/app/assets/javascripts/activeadmin/froala_editor/plugins/url.min.js +3 -3
  81. data/app/assets/javascripts/activeadmin/froala_editor/plugins/video.min.js +3 -4
  82. data/app/assets/javascripts/activeadmin/froala_editor/plugins/word_paste.min.js +3 -3
  83. data/app/assets/javascripts/activeadmin/froala_editor/third_party/embedly.min.js +3 -3
  84. data/app/assets/javascripts/activeadmin/froala_editor/third_party/font_awesome.min.js +7 -0
  85. data/app/assets/javascripts/activeadmin/froala_editor/third_party/image_tui.min.js +7 -0
  86. data/app/assets/javascripts/activeadmin/froala_editor/third_party/spell_checker.min.js +3 -3
  87. data/app/assets/javascripts/activeadmin/froala_editor_input.js +54 -7
  88. data/app/assets/stylesheets/activeadmin/_froala_editor_input.scss +68 -0
  89. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.css +1112 -1000
  90. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.min.css +3 -3
  91. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.pkgd.css +3697 -2209
  92. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.pkgd.min.css +3 -3
  93. data/app/assets/stylesheets/activeadmin/froala_editor/froala_style.css +322 -414
  94. data/app/assets/stylesheets/activeadmin/froala_editor/froala_style.min.css +3 -3
  95. data/app/assets/stylesheets/activeadmin/froala_editor/plugins.pkgd.css +2634 -0
  96. data/app/assets/stylesheets/activeadmin/froala_editor/plugins.pkgd.min.css +7 -0
  97. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/char_counter.css +16 -24
  98. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/char_counter.min.css +3 -3
  99. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/code_view.css +33 -48
  100. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/code_view.min.css +3 -3
  101. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/colors.css +74 -130
  102. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/colors.min.css +3 -3
  103. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/draggable.css +13 -15
  104. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/draggable.min.css +3 -3
  105. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/emoticons.css +17 -25
  106. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/emoticons.min.css +3 -3
  107. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/file.css +89 -107
  108. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/file.min.css +3 -3
  109. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/files_manager.css +1240 -0
  110. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/files_manager.min.css +7 -0
  111. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/fullscreen.css +62 -13
  112. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/fullscreen.min.css +3 -3
  113. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/help.css +27 -34
  114. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/help.min.css +3 -3
  115. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image.css +148 -181
  116. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image.min.css +3 -3
  117. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image_manager.css +208 -237
  118. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image_manager.min.css +3 -3
  119. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/line_breaker.css +18 -17
  120. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/line_breaker.min.css +3 -3
  121. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/quick_insert.css +48 -46
  122. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/quick_insert.min.css +3 -3
  123. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/special_characters.css +17 -35
  124. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/special_characters.min.css +3 -3
  125. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/table.css +63 -103
  126. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/table.min.css +3 -3
  127. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/video.css +151 -181
  128. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/video.min.css +3 -3
  129. data/app/assets/stylesheets/activeadmin/froala_editor/themes/dark.css +1969 -1052
  130. data/app/assets/stylesheets/activeadmin/froala_editor/themes/dark.min.css +3 -3
  131. data/app/assets/stylesheets/activeadmin/froala_editor/themes/gray.css +1968 -1051
  132. data/app/assets/stylesheets/activeadmin/froala_editor/themes/gray.min.css +3 -3
  133. data/app/assets/stylesheets/activeadmin/froala_editor/themes/royal.css +1971 -1054
  134. data/app/assets/stylesheets/activeadmin/froala_editor/themes/royal.min.css +3 -3
  135. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/embedly.css +29 -33
  136. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/embedly.min.css +3 -3
  137. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/font_awesome.css +33 -0
  138. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/font_awesome.min.css +7 -0
  139. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/image_tui.css +41 -0
  140. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/image_tui.min.css +7 -0
  141. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/spell_checker.css +34 -42
  142. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/spell_checker.min.css +3 -3
  143. data/lib/activeadmin/froala_editor.rb +2 -0
  144. data/lib/activeadmin/froala_editor/engine.rb +2 -0
  145. data/lib/activeadmin/froala_editor/version.rb +3 -1
  146. data/lib/activeadmin_froala_editor.rb +2 -1
  147. data/lib/formtastic/inputs/froala_editor_input.rb +3 -1
  148. metadata +154 -17
  149. data/.gitignore +0 -3
  150. data/Gemfile +0 -4
  151. data/activeadmin_froala_editor.gemspec +0 -19
  152. data/app/assets/javascripts/activeadmin/froala_editor/third_party/image_aviary.min.js +0 -7
  153. data/app/assets/stylesheets/activeadmin/_froala_editor_input.sass +0 -46
  154. data/app/assets/stylesheets/activeadmin/froala_editor/themes/red.css +0 -1233
  155. data/app/assets/stylesheets/activeadmin/froala_editor/themes/red.min.css +0 -7
  156. data/screenshot.jpg +0 -0
@@ -1,254 +1,219 @@
1
1
  /*!
2
- * froala_editor v2.7.1 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v3.2.1 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2017 Froala Labs
4
+ * Copyright 2014-2020 Froala Labs
5
5
  */
6
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
- $.FE.LANGUAGE['vi'] = {
34
- translation: {
35
- // Place holder
36
- "Type something": "Vi\u1EBFt \u0111i\u1EC1u g\u00EC \u0111\u00F3...",
37
-
38
- // Basic formatting
39
- "Bold": "\u0110\u1EADm",
40
- "Italic": "Nghi\u00EAng",
41
- "Underline": "G\u1EA1ch ch\u00E2n",
42
- "Strikethrough": "G\u1EA1ch ngang ch\u1EEF",
43
-
44
- // Main buttons
45
- "Insert": "Ch\u00E8n",
46
- "Delete": "X\u00F3a",
47
- "Cancel": "H\u1EE7y",
48
- "OK": "OK",
49
- "Back": "Tr\u1EDF v\u1EC1",
50
- "Remove": "X\u00F3a",
51
- "More": "Th\u00EAm",
52
- "Update": "C\u1EADp nh\u1EADt",
53
- "Style": "Ki\u1EC3u",
54
-
55
- // Font
56
- "Font Family": "Ph\u00F4ng ch\u1EEF",
57
- "Font Size": "C\u1EE1 ch\u1EEF",
58
-
59
- // Colors
60
- "Colors": "M\u00E0u s\u1EAFc",
61
- "Background": "N\u1EC1n",
62
- "Text": "Ch\u1EEF",
63
- "HEX Color": "Màu hex",
64
-
65
- // Paragraphs
66
- "Paragraph Format": "\u0110\u1ECBnh d\u1EA1ng \u0111o\u1EA1n v\u0103n b\u1EA3n",
67
- "Normal": "Normal",
68
- "Code": "Code",
69
- "Heading 1": "Heading 1",
70
- "Heading 2": "Heading 2",
71
- "Heading 3": "Heading 3",
72
- "Heading 4": "Heading 4",
73
-
74
- // Style
75
- "Paragraph Style": "Ki\u1EC3u \u0111o\u1EA1n v\u0103n b\u1EA3n",
76
- "Inline Style": "Ki\u1EC3u d\u00F2ng",
77
-
78
- // Alignment
79
- "Align": "C\u0103n ch\u1EC9nh",
80
- "Align Left": "C\u0103n tr\u00E1i",
81
- "Align Center": "C\u0103n gi\u1EEFa",
82
- "Align Right": "C\u0103n ph\u1EA3i",
83
- "Align Justify": "C\u0103n \u0111\u1EC1u",
84
- "None": "Kh\u00F4ng",
85
-
86
- // Lists
87
- "Ordered List": "Danh s\u00E1ch theo th\u1EE9 t\u1EF1",
88
- "Unordered List": "Danh s\u00E1ch li\u1EC7t k\u00EA",
89
-
90
- // Indent
91
- "Decrease Indent": "Gi\u1EA3m c\u0103n l\u1EC1",
92
- "Increase Indent": "T\u0103ng c\u0103n l\u1EC1",
93
-
94
- // Links
95
- "Insert Link": "Ch\u00E8n link",
96
- "Open in new tab": "M\u1EDF trong tab m\u1EDBi",
97
- "Open Link": "M\u1EDF link",
98
- "Edit Link": "S\u1EEDa link",
99
- "Unlink": "B\u1ECF link",
100
- "Choose Link": "Ch\u1ECDn link",
101
-
102
- // Images
103
- "Insert Image": "Ch\u00E8n h\u00ECnh",
104
- "Upload Image": "T\u1EA3i h\u00ECnh l\u00EAn",
105
- "By URL": "B\u1EB1ng URL",
106
- "Browse": "Duy\u1EC7t file",
107
- "Drop image": "K\u00E9o th\u1EA3 h\u00ECnh",
108
- "or click": "ho\u1EB7c ch\u1ECDn",
109
- "Manage Images": "Qu\u1EA3n l\u00FD h\u00ECnh \u1EA3nh",
110
- "Loading": "\u0110ang t\u1EA3i",
111
- "Deleting": "\u0110ang x\u00F3a",
112
- "Tags": "Tags",
113
- "Are you sure? Image will be deleted.": "B\u1EA1n c\u00F3 ch\u1EAFc ch\u1EAFn? H\u00ECnh \u1EA3nh s\u1EBD b\u1ECB x\u00F3a.",
114
- "Replace": "Thay th\u1EBF",
115
- "Uploading": "\u0110ang t\u1EA3i l\u00EAn",
116
- "Loading image": "\u0110ang t\u1EA3i h\u00ECnh \u1EA3nh",
117
- "Display": "Hi\u1EC3n th\u1ECB",
118
- "Inline": "C\u00F9ng d\u00F2ng v\u1EDBi ch\u1EEF",
119
- "Break Text": "Kh\u00F4ng c\u00F9ng d\u00F2ng v\u1EDBi ch\u1EEF",
120
- "Alternate Text": "Thay th\u1EBF ch\u1EEF",
121
- "Change Size": "Thay \u0111\u1ED5i k\u00EDch c\u1EE1",
122
- "Width": "Chi\u1EC1u r\u1ED9ng",
123
- "Height": "Chi\u1EC1u cao",
124
- "Something went wrong. Please try again.": "C\u00F3 l\u1ED7i x\u1EA3y ra. Vui l\u00F2ng th\u1EED l\u1EA1i sau.",
125
- "Image Caption": "Chú thích hình ảnh",
126
- "Advanced Edit": "Chỉnh sửa tiên tiến",
127
-
128
- // Video
129
- "Insert Video": "Ch\u00E8n video",
130
- "Embedded Code": "M\u00E3 nh\u00FAng",
131
-
132
- // Tables
133
- "Insert Table": "Ch\u00E8n b\u1EA3ng",
134
- "Table Header": "D\u00F2ng \u0111\u1EA7u b\u1EA3ng",
135
- "Remove Table": "X\u00F3a b\u1EA3ng",
136
- "Table Style": "Ki\u1EC3u b\u1EA3ng",
137
- "Horizontal Align": "C\u0103n ch\u1EC9nh chi\u1EC1u ngang",
138
- "Row": "D\u00F2ng",
139
- "Insert row above": "Ch\u00E8n d\u00F2ng ph\u00EDa tr\u00EAn",
140
- "Insert row below": "Ch\u00E8n d\u00F2ng ph\u00EDa d\u01B0\u1EDBi",
141
- "Delete row": "X\u00F3a d\u00F2ng",
142
- "Column": "C\u1ED9t",
143
- "Insert column before": "Ch\u00E8n c\u1ED9t b\u00EAn tr\u00E1i",
144
- "Insert column after": "Ch\u00E8n c\u1ED9t b\u00EAn ph\u1EA3i",
145
- "Delete column": "X\u00F3a c\u1ED9t",
146
- "Cell": "\u00D4 b\u1EA3ng",
147
- "Merge cells": "G\u1ED9p \u00F4",
148
- "Horizontal split": "Chia d\u00F2ng",
149
- "Vertical split": "Chia c\u1ED9t",
150
- "Cell Background": "M\u00E0u n\u1EC1n",
151
- "Vertical Align": "C\u0103n ch\u1EC9nh chi\u1EC1u d\u1ECDc",
152
- "Top": "Tr\u00EAn c\u00F9ng",
153
- "Middle": "Gi\u1EEFa",
154
- "Bottom": "D\u01B0\u1EDBi \u0111\u00E1y",
155
- "Align Top": "C\u0103n tr\u00EAn",
156
- "Align Middle": "C\u0103n gi\u1EEFa",
157
- "Align Bottom": "C\u0103n d\u01B0\u1EDBi",
158
- "Cell Style": "Ki\u1EC3u \u00F4",
159
-
160
- // Files
161
- "Upload File": "T\u1EA3i file l\u00EAn",
162
- "Drop file": "K\u00E9o th\u1EA3 file",
163
-
164
- // Emoticons
165
- "Emoticons": "Bi\u1EC3u t\u01B0\u1EE3ng c\u1EA3m x\u00FAc",
166
-
167
- // Line breaker
168
- "Break": "Ng\u1EAFt d\u00F2ng",
169
-
170
- // Math
171
- "Subscript": "Subscript",
172
- "Superscript": "Superscript",
173
-
174
- // Full screen
175
- "Fullscreen": "To\u00E0n m\u00E0n h\u00ECnh",
176
-
177
- // Horizontal line
178
- "Insert Horizontal Line": "Ch\u00E8n \u0111\u01B0\u1EDDng k\u1EBB ngang v\u0103n b\u1EA3n",
179
-
180
- // Clear formatting
181
- "Clear Formatting": "X\u00F3a \u0111\u1ECBnh d\u1EA1ng",
182
-
183
- // Undo, redo
184
- "Undo": "Undo",
185
- "Redo": "Redo",
186
-
187
- // Select all
188
- "Select All": "Ch\u1ECDn t\u1EA5t c\u1EA3",
189
-
190
- // Code view
191
- "Code View": "Xem d\u1EA1ng code",
192
-
193
- // Quote
194
- "Quote": "Tr\u00EDch d\u1EABn",
195
- "Increase": "T\u0103ng",
196
- "Decrease": "Gi\u1EA3m",
197
-
198
- // Quick Insert
199
- "Quick Insert": "Ch\u00E8n nhanh",
200
-
201
- // Spcial Characters
202
- "Special Characters": "Nhân vật đặc biệt",
203
- "Latin": "Latin",
204
- "Greek": "Người Hy Lạp",
205
- "Cyrillic": "Chữ viết tay",
206
- "Punctuation": "Chấm câu",
207
- "Currency": "Tiền tệ",
208
- "Arrows": "Mũi tên",
209
- "Math": "Môn Toán",
210
- "Misc": "Misc",
211
-
212
- // Print.
213
- "Print": "In",
214
-
215
- // Spell Checker.
216
- "Spell Checker": "Công cụ kiểm tra chính tả",
217
-
218
- // Help
219
- "Help": "Cứu giúp",
220
- "Shortcuts": "Phím tắt",
221
- "Inline Editor": "Trình biên tập nội tuyến",
222
- "Show the editor": "Hiển thị trình soạn thảo",
223
- "Common actions": "Hành động thông thường",
224
- "Copy": "Sao chép",
225
- "Cut": "Cắt tỉa",
226
- "Paste": "Dán",
227
- "Basic Formatting": "Định dạng cơ bản",
228
- "Increase quote level": "Tăng mức báo giá",
229
- "Decrease quote level": "Giảm mức giá",
230
- "Image / Video": "Hình ảnh / video",
231
- "Resize larger": "Thay đổi kích thước lớn hơn",
232
- "Resize smaller": "Thay đổi kích thước nhỏ hơn",
233
- "Table": "Bàn",
234
- "Select table cell": "Chọn ô trong bảng",
235
- "Extend selection one cell": "Mở rộng lựa chọn một ô",
236
- "Extend selection one row": "Mở rộng lựa chọn một hàng",
237
- "Navigation": "Dẫn đường",
238
- "Focus popup / toolbar": "Tập trung popup / thanh công cụ",
239
- "Return focus to previous position": "Quay trở lại vị trí trước",
240
-
241
- // Embed.ly
242
- "Embed URL": "Url nhúng",
243
- "Paste in a URL to embed": "Dán vào một url để nhúng",
244
-
245
- // Word Paste.
246
- "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "Nội dung dán là đến từ một tài liệu từ microsoft. bạn có muốn giữ định dạng hoặc làm sạch nó?",
247
- "Keep": "Giữ",
248
- "Clean": "Dọn dẹp",
249
- "Word Paste Detected": "Dán từ được phát hiện"
250
- },
251
- direction: "ltr"
252
- };
253
-
254
- }));
7
+ (function (global, factory) {
8
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) :
9
+ typeof define === 'function' && define.amd ? define(['froala-editor'], factory) :
10
+ (factory(global.FroalaEditor));
11
+ }(this, (function (FE) { 'use strict';
12
+
13
+ FE = FE && FE.hasOwnProperty('default') ? FE['default'] : FE;
14
+
15
+ FE.LANGUAGE['vi'] = {
16
+ translation: {
17
+ // Place holder
18
+ 'Type something': "Vi\u1EBFt \u0111i\u1EC1u g\xEC \u0111\xF3...",
19
+ // Basic formatting
20
+ 'Bold': "\u0110\u1EADm",
21
+ 'Italic': "Nghi\xEAng",
22
+ 'Underline': "G\u1EA1ch ch\xE2n",
23
+ 'Strikethrough': "G\u1EA1ch ngang ch\u1EEF",
24
+ // Main buttons
25
+ 'Insert': "Ch\xE8n",
26
+ 'Delete': "X\xF3a",
27
+ 'Cancel': "H\u1EE7y",
28
+ 'OK': 'OK',
29
+ 'Back': "Tr\u1EDF v\u1EC1",
30
+ 'Remove': "X\xF3a",
31
+ 'More': "Th\xEAm",
32
+ 'Update': "C\u1EADp nh\u1EADt",
33
+ 'Style': "Ki\u1EC3u",
34
+ // Font
35
+ 'Font Family': "Ph\xF4ng ch\u1EEF",
36
+ 'Font Size': "C\u1EE1 ch\u1EEF",
37
+ // Colors
38
+ 'Colors': "M\xE0u s\u1EAFc",
39
+ 'Background': "N\u1EC1n",
40
+ 'Text': "Ch\u1EEF",
41
+ 'HEX Color': 'Màu hex',
42
+ // Paragraphs
43
+ 'Paragraph Format': "\u0110\u1ECBnh d\u1EA1ng \u0111o\u1EA1n v\u0103n b\u1EA3n",
44
+ 'Normal': 'Normal',
45
+ 'Code': 'Code',
46
+ 'Heading 1': 'Heading 1',
47
+ 'Heading 2': 'Heading 2',
48
+ 'Heading 3': 'Heading 3',
49
+ 'Heading 4': 'Heading 4',
50
+ // Style
51
+ 'Paragraph Style': "Ki\u1EC3u \u0111o\u1EA1n v\u0103n b\u1EA3n",
52
+ 'Inline Style': "Ki\u1EC3u d\xF2ng",
53
+ // Alignment
54
+ 'Align': "C\u0103n ch\u1EC9nh",
55
+ 'Align Left': "C\u0103n tr\xE1i",
56
+ 'Align Center': "C\u0103n gi\u1EEFa",
57
+ 'Align Right': "C\u0103n ph\u1EA3i",
58
+ 'Align Justify': "C\u0103n \u0111\u1EC1u",
59
+ 'None': "Kh\xF4ng",
60
+ // Lists
61
+ 'Ordered List': "Danh s\xE1ch theo th\u1EE9 t\u1EF1",
62
+ 'Unordered List': "Danh s\xE1ch li\u1EC7t k\xEA",
63
+ // Indent
64
+ 'Decrease Indent': "Gi\u1EA3m c\u0103n l\u1EC1",
65
+ 'Increase Indent': "T\u0103ng c\u0103n l\u1EC1",
66
+ // Links
67
+ 'Insert Link': "Ch\xE8n link",
68
+ 'Open in new tab': "M\u1EDF trong tab m\u1EDBi",
69
+ 'Open Link': "M\u1EDF link",
70
+ 'Edit Link': "S\u1EEDa link",
71
+ 'Unlink': "B\u1ECF link",
72
+ 'Choose Link': "Ch\u1ECDn link",
73
+ // Images
74
+ 'Insert Image': "Ch\xE8n h\xECnh",
75
+ 'Upload Image': "T\u1EA3i h\xECnh l\xEAn",
76
+ 'By URL': "B\u1EB1ng URL",
77
+ 'Browse': "Duy\u1EC7t file",
78
+ 'Drop image': "K\xE9o th\u1EA3 h\xECnh",
79
+ 'or click': "ho\u1EB7c ch\u1ECDn",
80
+ 'Manage Images': "Qu\u1EA3n l\xFD h\xECnh \u1EA3nh",
81
+ 'Loading': "\u0110ang t\u1EA3i",
82
+ 'Deleting': "\u0110ang x\xF3a",
83
+ 'Tags': 'Tags',
84
+ 'Are you sure? Image will be deleted.': "B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn? H\xECnh \u1EA3nh s\u1EBD b\u1ECB x\xF3a.",
85
+ 'Replace': "Thay th\u1EBF",
86
+ 'Uploading': "\u0110ang t\u1EA3i l\xEAn",
87
+ 'Loading image': "\u0110ang t\u1EA3i h\xECnh \u1EA3nh",
88
+ 'Display': "Hi\u1EC3n th\u1ECB",
89
+ 'Inline': "C\xF9ng d\xF2ng v\u1EDBi ch\u1EEF",
90
+ 'Break Text': "Kh\xF4ng c\xF9ng d\xF2ng v\u1EDBi ch\u1EEF",
91
+ 'Alternative Text': "Thay th\u1EBF ch\u1EEF",
92
+ 'Change Size': "Thay \u0111\u1ED5i k\xEDch c\u1EE1",
93
+ 'Width': "Chi\u1EC1u r\u1ED9ng",
94
+ 'Height': "Chi\u1EC1u cao",
95
+ 'Something went wrong. Please try again.': "C\xF3 l\u1ED7i x\u1EA3y ra. Vui l\xF2ng th\u1EED l\u1EA1i sau.",
96
+ 'Image Caption': 'Chú thích hình ảnh',
97
+ 'Advanced Edit': 'Chỉnh sửa tiên tiến',
98
+ // Video
99
+ 'Insert Video': "Ch\xE8n video",
100
+ 'Embedded Code': "M\xE3 nh\xFAng",
101
+ 'Paste in a video URL': 'Dán vào một url video',
102
+ 'Drop video': 'Thả video',
103
+ 'Your browser does not support HTML5 video.': 'Trình duyệt của bạn không hỗ trợ video html5.',
104
+ 'Upload Video': 'Tải video lên',
105
+ // Tables
106
+ 'Insert Table': "Ch\xE8n b\u1EA3ng",
107
+ 'Table Header': "D\xF2ng \u0111\u1EA7u b\u1EA3ng",
108
+ 'Remove Table': "X\xF3a b\u1EA3ng",
109
+ 'Table Style': "Ki\u1EC3u b\u1EA3ng",
110
+ 'Horizontal Align': "C\u0103n ch\u1EC9nh chi\u1EC1u ngang",
111
+ 'Row': "D\xF2ng",
112
+ 'Insert row above': "Ch\xE8n d\xF2ng ph\xEDa tr\xEAn",
113
+ 'Insert row below': "Ch\xE8n d\xF2ng ph\xEDa d\u01B0\u1EDBi",
114
+ 'Delete row': "X\xF3a d\xF2ng",
115
+ 'Column': "C\u1ED9t",
116
+ 'Insert column before': "Ch\xE8n c\u1ED9t b\xEAn tr\xE1i",
117
+ 'Insert column after': "Ch\xE8n c\u1ED9t b\xEAn ph\u1EA3i",
118
+ 'Delete column': "X\xF3a c\u1ED9t",
119
+ 'Cell': "\xD4 b\u1EA3ng",
120
+ 'Merge cells': "G\u1ED9p \xF4",
121
+ 'Horizontal split': "Chia d\xF2ng",
122
+ 'Vertical split': "Chia c\u1ED9t",
123
+ 'Cell Background': "M\xE0u n\u1EC1n",
124
+ 'Vertical Align': "C\u0103n ch\u1EC9nh chi\u1EC1u d\u1ECDc",
125
+ 'Top': "Tr\xEAn c\xF9ng",
126
+ 'Middle': "Gi\u1EEFa",
127
+ 'Bottom': "D\u01B0\u1EDBi \u0111\xE1y",
128
+ 'Align Top': "C\u0103n tr\xEAn",
129
+ 'Align Middle': "C\u0103n gi\u1EEFa",
130
+ 'Align Bottom': "C\u0103n d\u01B0\u1EDBi",
131
+ 'Cell Style': "Ki\u1EC3u \xF4",
132
+ // Files
133
+ 'Upload File': "T\u1EA3i file l\xEAn",
134
+ 'Drop file': "K\xE9o th\u1EA3 file",
135
+ // Emoticons
136
+ 'Emoticons': "Bi\u1EC3u t\u01B0\u1EE3ng c\u1EA3m x\xFAc",
137
+ // Line breaker
138
+ 'Break': "Ng\u1EAFt d\xF2ng",
139
+ // Math
140
+ 'Subscript': 'Subscript',
141
+ 'Superscript': 'Superscript',
142
+ // Full screen
143
+ 'Fullscreen': "To\xE0n m\xE0n h\xECnh",
144
+ // Horizontal line
145
+ 'Insert Horizontal Line': "Ch\xE8n \u0111\u01B0\u1EDDng k\u1EBB ngang v\u0103n b\u1EA3n",
146
+ // Clear formatting
147
+ 'Clear Formatting': "X\xF3a \u0111\u1ECBnh d\u1EA1ng",
148
+ // Save
149
+ 'Save': 'Save',
150
+ // Undo, redo
151
+ 'Undo': 'Undo',
152
+ 'Redo': 'Redo',
153
+ // Select all
154
+ 'Select All': "Ch\u1ECDn t\u1EA5t c\u1EA3",
155
+ // Code view
156
+ 'Code View': "Xem d\u1EA1ng code",
157
+ // Quote
158
+ 'Quote': "Tr\xEDch d\u1EABn",
159
+ 'Increase': "T\u0103ng",
160
+ 'Decrease': "Gi\u1EA3m",
161
+ // Quick Insert
162
+ 'Quick Insert': "Ch\xE8n nhanh",
163
+ // Spcial Characters
164
+ 'Special Characters': 'Nhân vật đặc biệt',
165
+ 'Latin': 'Latin',
166
+ 'Greek': 'Người Hy Lạp',
167
+ 'Cyrillic': 'Chữ viết tay',
168
+ 'Punctuation': 'Chấm câu',
169
+ 'Currency': 'Tiền tệ',
170
+ 'Arrows': 'Mũi tên',
171
+ 'Math': 'Môn Toán',
172
+ 'Misc': 'Misc',
173
+ // Print.
174
+ 'Print': 'In',
175
+ // Spell Checker.
176
+ 'Spell Checker': 'Công cụ kiểm tra chính tả',
177
+ // Help
178
+ 'Help': 'Cứu giúp',
179
+ 'Shortcuts': 'Phím tắt',
180
+ 'Inline Editor': 'Trình biên tập nội tuyến',
181
+ 'Show the editor': 'Hiển thị trình soạn thảo',
182
+ 'Common actions': 'Hành động thông thường',
183
+ 'Copy': 'Sao chép',
184
+ 'Cut': 'Cắt tỉa',
185
+ 'Paste': 'Dán',
186
+ 'Basic Formatting': 'Định dạng cơ bản',
187
+ 'Increase quote level': 'Tăng mức báo giá',
188
+ 'Decrease quote level': 'Giảm mức giá',
189
+ 'Image / Video': 'Hình ảnh / video',
190
+ 'Resize larger': 'Thay đổi kích thước lớn hơn',
191
+ 'Resize smaller': 'Thay đổi kích thước nhỏ hơn',
192
+ 'Table': 'Bàn',
193
+ 'Select table cell': 'Chọn ô trong bảng',
194
+ 'Extend selection one cell': 'Mở rộng lựa chọn một ô',
195
+ 'Extend selection one row': 'Mở rộng lựa chọn một hàng',
196
+ 'Navigation': 'Dẫn đường',
197
+ 'Focus popup / toolbar': 'Tập trung popup / thanh công cụ',
198
+ 'Return focus to previous position': 'Quay trở lại vị trí trước',
199
+ // Embed.ly
200
+ 'Embed URL': 'Url nhúng',
201
+ 'Paste in a URL to embed': 'Dán vào một url để nhúng',
202
+ // Word Paste.
203
+ 'The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?': 'Nội dung dán là đến từ một tài liệu từ microsoft. bạn có muốn giữ định dạng hoặc làm sạch nó?',
204
+ 'Keep': 'Giữ',
205
+ 'Clean': 'Dọn dẹp',
206
+ 'Word Paste Detected': 'Dán từ được phát hiện',
207
+ // Character Counter
208
+ 'Characters': 'Nhân vật',
209
+ // More Buttons
210
+ 'More Text': 'Thêm văn bản',
211
+ 'More Paragraph': 'Đoạn khác',
212
+ 'More Rich': 'Giàu hơn',
213
+ 'More Misc': 'Thêm linh tinh'
214
+ },
215
+ direction: 'ltr'
216
+ };
217
+
218
+ })));
219
+ //# sourceMappingURL=vi.js.map