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,314 +1,304 @@
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
- /**
34
- * Simplified Chinese spoken in China.
35
- */
36
-
37
- $.FE.LANGUAGE['zh_cn'] = {
38
- translation: {
39
- // Place holder
40
- "Type something": "\u8f93\u5165\u4e00\u4e9b\u5185\u5bb9",
41
-
42
- // Basic formatting
43
- "Bold": "\u7c97\u4f53",
44
- "Italic": "\u659c\u4f53",
45
- "Underline": "\u4e0b\u5212\u7ebf",
46
- "Strikethrough": "\u5220\u9664\u7ebf",
47
-
48
- // Main buttons
49
- "Insert": "\u63d2\u5165",
50
- "Delete": "\u5220\u9664",
51
- "Cancel": "\u53d6\u6d88",
52
- "OK": "\u786e\u5b9a",
53
- "Back": "\u80cc\u90e8",
54
- "Remove": "\u53bb\u6389",
55
- "More": "\u66f4\u591a",
56
- "Update": "\u66f4\u65b0",
57
- "Style": "\u98ce\u683c",
58
-
59
- // Font
60
- "Font Family": "\u5b57\u4f53",
61
- "Font Size": "\u5b57\u53f7",
62
-
63
- // Colors
64
- "Colors": "\u989c\u8272",
65
- "Background": "\u80cc\u666f",
66
- "Text": "\u6587\u5b57",
67
- "HEX Color": "十六进制颜色",
68
-
69
- // Paragraphs
70
- "Paragraph Format": "\u683c\u5f0f",
71
- "Normal": "\u6b63\u5e38",
72
- "Code": "\u4ee3\u7801",
73
- "Heading 1": "\u6807\u98981",
74
- "Heading 2": "\u6807\u98982",
75
- "Heading 3": "\u6807\u98983",
76
- "Heading 4": "\u6807\u98984",
77
-
78
- // Style
79
- "Paragraph Style": "\u6bb5\u843d\u6837\u5f0f",
80
- "Inline Style": "\u5185\u8054\u6837\u5f0f",
81
-
82
- // Alignment
83
- "Align": "\u5bf9\u9f50\u65b9\u5f0f",
84
- "Align Left": "\u5de6\u5bf9\u9f50",
85
- "Align Center": "\u5c45\u4e2d",
86
- "Align Right": "\u53f3\u5bf9\u9f50",
87
- "Align Justify": "\u4e24\u7aef\u5bf9\u9f50",
88
- "None": "\u65e0",
89
-
90
- // Lists
91
- "Ordered List": "\u7f16\u53f7\u5217\u8868",
92
- "Unordered List": "\u9879\u76ee\u7b26\u53f7",
93
-
94
- // Indent
95
- "Decrease Indent": "\u51cf\u5c11\u7f29\u8fdb",
96
- "Increase Indent": "\u589e\u52a0\u7f29\u8fdb",
97
-
98
- // Links
99
- "Insert Link": "\u63d2\u5165\u94fe\u63a5",
100
- "Open in new tab": "\u5f00\u542f\u5728\u65b0\u6807\u7b7e\u9875",
101
- "Open Link": "\u6253\u5f00\u94fe\u63a5",
102
- "Edit Link": "\u7f16\u8f91\u94fe\u63a5",
103
- "Unlink": "\u5220\u9664\u94fe\u63a5",
104
- "Choose Link": "\u9009\u62e9\u94fe\u63a5",
105
-
106
- // Images
107
- "Insert Image": "\u63d2\u5165\u56fe\u7247",
108
- "Upload Image": "\u4e0a\u4f20\u56fe\u7247",
109
- "By URL": "\u901a\u8fc7\u7f51\u5740",
110
- "Browse": "\u6d4f\u89c8",
111
- "Drop image": "\u56fe\u50cf\u62d6\u653e",
112
- "or click": "\u6216\u70b9\u51fb",
113
- "Manage Images": "\u7ba1\u7406\u56fe\u50cf",
114
- "Loading": "\u8f7d\u5165\u4e2d",
115
- "Deleting": "\u5220\u9664",
116
- "Tags": "\u6807\u7b7e",
117
- "Are you sure? Image will be deleted.": "\u4f60\u786e\u5b9a\u5417\uff1f\u56fe\u50cf\u5c06\u88ab\u5220\u9664\u3002",
118
- "Replace": "\u66f4\u6362",
119
- "Uploading": "\u4e0a\u4f20",
120
- "Loading image": "\u5bfc\u5165\u56fe\u50cf",
121
- "Display": "\u663e\u793a",
122
- "Inline": "\u6392\u961f",
123
- "Break Text": "\u65ad\u5f00\u6587\u672c",
124
- "Alternate Text": "\u5907\u7528\u6587\u672c",
125
- "Change Size": "\u5c3a\u5bf8\u53d8\u5316",
126
- "Width": "\u5bbd\u5ea6",
127
- "Height": "\u9ad8\u5ea6",
128
- "Something went wrong. Please try again.": "\u51fa\u4e86\u4e9b\u95ee\u9898\u3002 \u8bf7\u518d\u8bd5\u4e00\u6b21\u3002",
129
- "Image Caption": "图片说明",
130
- "Advanced Edit": "高级编辑",
131
-
132
- // Video
133
- "Insert Video": "\u63d2\u5165\u89c6\u9891",
134
- "Embedded Code": "\u5d4c\u5165\u5f0f\u4ee3\u7801",
135
-
136
- // Tables
137
- "Insert Table": "\u63d2\u5165\u8868\u683c",
138
- "Table Header": "\u8868\u5934",
139
- "Remove Table": "\u5220\u9664\u8868",
140
- "Table Style": "\u8868\u683c\u6837\u5f0f",
141
- "Horizontal Align": "\u6c34\u5e73\u5bf9\u9f50\u65b9\u5f0f",
142
- "Row": "\u884c",
143
- "Insert row above": "\u5728\u4e0a\u65b9\u63d2\u5165",
144
- "Insert row below": "\u5728\u4e0b\u65b9\u63d2\u5165",
145
- "Delete row": "\u5220\u9664\u884c",
146
- "Column": "\u5217",
147
- "Insert column before": "\u5728\u5de6\u4fa7\u63d2\u5165",
148
- "Insert column after": "\u5728\u53f3\u4fa7\u63d2\u5165",
149
- "Delete column": "\u5220\u9664\u5217",
150
- "Cell": "\u5355\u5143\u683c",
151
- "Merge cells": "\u5408\u5e76\u5355\u5143\u683c",
152
- "Horizontal split": "\u6c34\u5e73\u5206\u5272",
153
- "Vertical split": "\u5782\u76f4\u5206\u5272",
154
- "Cell Background": "\u5355\u5143\u683c\u80cc\u666f",
155
- "Vertical Align": "\u5782\u76f4\u5bf9\u9f50\u65b9\u5f0f",
156
- "Top": "\u6700\u4f73",
157
- "Middle": "\u4e2d\u95f4",
158
- "Bottom": "\u5e95\u90e8",
159
- "Align Top": "\u9876\u90e8\u5bf9\u9f50",
160
- "Align Middle": "\u4e2d\u95f4\u5bf9\u9f50",
161
- "Align Bottom": "\u5e95\u90e8\u5bf9\u9f50",
162
- "Cell Style": "\u5355\u5143\u683c\u6837\u5f0f",
163
-
164
- // Files
165
- "Upload File": "\u4e0a\u4f20\u6587\u4ef6",
166
- "Drop file": "\u6587\u4ef6\u62d6\u653e",
167
-
168
- // Emoticons
169
- "Emoticons": "\u8868\u60c5",
170
- "Grinning face": "\u8138\u4e0a\u7b11\u563b\u563b",
171
- "Grinning face with smiling eyes": "咧着嘴笑的脸微笑的眼睛",
172
- "Face with tears of joy": "\u7b11\u563b\u563b\u7684\u8138\uff0c\u542b\u7b11\u7684\u773c\u775b",
173
- "Smiling face with open mouth": "\u7b11\u8138\u5f20\u5f00\u5634",
174
- "Smiling face with open mouth and smiling eyes": "\u7b11\u8138\u5f20\u5f00\u5634\u5fae\u7b11\u7684\u773c\u775b",
175
- "Smiling face with open mouth and cold sweat": "\u7b11\u8138\u5f20\u5f00\u5634\uff0c\u4e00\u8eab\u51b7\u6c57",
176
- "Smiling face with open mouth and tightly-closed eyes": "\u7b11\u8138\u5f20\u5f00\u5634\uff0c\u7d27\u7d27\u95ed\u7740\u773c\u775b",
177
- "Smiling face with halo": "\u7b11\u8138\u6655",
178
- "Smiling face with horns": "\u5fae\u7b11\u7684\u8138\u89d2",
179
- "Winking face": "\u7728\u773c\u8868\u60c5",
180
- "Smiling face with smiling eyes": "\u9762\u5e26\u5fae\u7b11\u7684\u773c\u775b",
181
- "Face savoring delicious food": "\u9762\u5bf9\u54c1\u5c1d\u7f8e\u5473\u7684\u98df\u7269",
182
- "Relieved face": "\u9762\u5bf9\u5982\u91ca\u91cd\u8d1f",
183
- "Smiling face with heart-shaped eyes": "\u5fae\u7b11\u7684\u8138\uff0c\u5fc3\u810f\u5f62\u7684\u773c\u775b",
184
- "Smiling face with sunglasses": "\u7b11\u8138\u592a\u9633\u955c",
185
- "Smirking face": "\u9762\u5bf9\u9762\u5e26\u7b11\u5bb9",
186
- "Neutral face": "\u4e2d\u6027\u9762",
187
- "Expressionless face": "\u9762\u65e0\u8868\u60c5",
188
- "Unamused face": "\u4e00\u8138\u4e0d\u5feb\u7684\u8138",
189
- "Face with cold sweat": "\u9762\u5bf9\u51b7\u6c57",
190
- "Pensive face": "\u6c89\u601d\u7684\u8138",
191
- "Confused face": "\u9762\u5bf9\u56f0\u60d1",
192
- "Confounded face": "\u8be5\u6b7b\u7684\u8138",
193
- "Kissing face": "\u9762\u5bf9\u63a5\u543b",
194
- "Face throwing a kiss": "\u9762\u5bf9\u6295\u63b7\u4e00\u4e2a\u543b",
195
- "Kissing face with smiling eyes": "\u63a5\u543b\u8138\uff0c\u542b\u7b11\u7684\u773c\u775b",
196
- "Kissing face with closed eyes": "\u63a5\u543b\u7684\u8138\u95ed\u7740\u773c\u775b",
197
- "Face with stuck out tongue": "\u9762\u5bf9\u4f38\u51fa\u820c\u5934",
198
- "Face with stuck out tongue and winking eye": "\u9762\u5bf9\u4f38\u51fa\u820c\u5934\u548c\u7728\u52a8\u7684\u773c\u775b",
199
- "Face with stuck out tongue and tightly-closed eyes": "\u9762\u5bf9\u4f38\u51fa\u820c\u5934\u548c\u7d27\u95ed\u7684\u773c\u775b",
200
- "Disappointed face": "\u9762\u5bf9\u5931\u671b",
201
- "Worried face": "\u9762\u5bf9\u62c5\u5fc3",
202
- "Angry face": "\u6124\u6012\u7684\u8138",
203
- "Pouting face": "\u9762\u5bf9\u5658\u5634",
204
- "Crying face": "\u54ed\u6ce3\u7684\u8138",
205
- "Persevering face": "\u600e\u5948\u8138",
206
- "Face with look of triumph": "\u9762\u5e26\u770b\u7684\u80dc\u5229",
207
- "Disappointed but relieved face": "\u5931\u671b\uff0c\u4f46\u8138\u4e0a\u91ca\u7136",
208
- "Frowning face with open mouth": "\u9762\u5bf9\u76b1\u7740\u7709\u5934\u5f20\u53e3",
209
- "Anguished face": "\u9762\u5bf9\u75db\u82e6",
210
- "Fearful face": "\u53ef\u6015\u7684\u8138",
211
- "Weary face": "\u9762\u5bf9\u538c\u5026",
212
- "Sleepy face": "\u9762\u5bf9\u56f0",
213
- "Tired face": "\u75b2\u60eb\u7684\u8138",
214
- "Grimacing face": "\u72f0\u72de\u7684\u8138",
215
- "Loudly crying face": "\u5927\u58f0\u54ed\u8138",
216
- "Face with open mouth": "\u9762\u5bf9\u5f20\u5f00\u5634",
217
- "Hushed face": "\u5b89\u9759\u7684\u8138",
218
- "Face with open mouth and cold sweat": "脸上露出嘴巴和冷汗",
219
- "Face screaming in fear": "\u9762\u5bf9\u5f20\u5f00\u5634\uff0c\u4e00\u8eab\u51b7\u6c57",
220
- "Astonished face": "\u9762\u5bf9\u60ca\u8bb6",
221
- "Flushed face": "\u7ea2\u6251\u6251\u7684\u8138\u86cb",
222
- "Sleeping face": "\u719f\u7761\u7684\u8138",
223
- "Dizzy face": "\u9762\u5bf9\u7729",
224
- "Face without mouth": "\u8138\u4e0a\u6ca1\u6709\u5634",
225
- "Face with medical mask": "\u9762\u5bf9\u533b\u7597\u53e3\u7f69",
226
-
227
- // Line breaker
228
- "Break": "\u7834",
229
-
230
- // Math
231
- "Subscript": "\u4e0b\u6807",
232
- "Superscript": "\u4e0a\u6807",
233
-
234
- // Full screen
235
- "Fullscreen": "\u5168\u5c4f",
236
-
237
- // Horizontal line
238
- "Insert Horizontal Line": "\u63d2\u5165\u6c34\u5e73\u7ebf",
239
-
240
- // Clear formatting
241
- "Clear Formatting": "\u683c\u5f0f\u5316\u5220\u9664",
242
-
243
- // Undo, redo
244
- "Undo": "\u64a4\u6d88",
245
- "Redo": "\u91cd\u590d",
246
-
247
- // Select all
248
- "Select All": "\u5168\u9009",
249
-
250
- // Code view
251
- "Code View": "\u4ee3\u7801\u89c6\u56fe",
252
-
253
- // Quote
254
- "Quote": "\u5f15\u7528",
255
- "Increase": "\u589e\u52a0\u5f15\u7528",
256
- "Decrease": "\u5220\u9664\u5f15\u7528",
257
-
258
- // Quick Insert
259
- "Quick Insert": "\u5feb\u63d2",
260
-
261
- // Spcial Characters
262
- "Special Characters": "特殊字符",
263
- "Latin": "拉丁",
264
- "Greek": "希腊语",
265
- "Cyrillic": "西里尔",
266
- "Punctuation": "标点",
267
- "Currency": "货币",
268
- "Arrows": "箭头",
269
- "Math": "数学",
270
- "Misc": "杂项",
271
-
272
- // Print.
273
- "Print": "打印",
274
-
275
- // Spell Checker.
276
- "Spell Checker": "拼写检查器",
277
-
278
- // Help
279
- "Help": "帮帮我",
280
- "Shortcuts": "快捷键",
281
- "Inline Editor": "内联编辑器",
282
- "Show the editor": "显示编辑",
283
- "Common actions": "共同行动",
284
- "Copy": "复制",
285
- "Cut": "切",
286
- "Paste": "糊",
287
- "Basic Formatting": "基本格式",
288
- "Increase quote level": "提高报价水平",
289
- "Decrease quote level": "降低报价水平",
290
- "Image / Video": "图像/视频",
291
- "Resize larger": "调整大小更大",
292
- "Resize smaller": "调整大小更小",
293
- "Table": "表",
294
- "Select table cell": "选择表单元格",
295
- "Extend selection one cell": "扩展选择一个单元格",
296
- "Extend selection one row": "扩展选择一行",
297
- "Navigation": "导航",
298
- "Focus popup / toolbar": "焦点弹出/工具栏",
299
- "Return focus to previous position": "将焦点返回到上一个位置",
300
-
301
- // Embed.ly
302
- "Embed URL": "嵌入网址",
303
- "Paste in a URL to embed": "粘贴在一个网址中嵌入",
304
-
305
- // Word Paste.
306
- "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "粘贴的内容来自微软Word文档。你想保留格式还是清理它?",
307
- "Keep": "保持",
308
- "Clean": "清洁",
309
- "Word Paste Detected": "检测到字贴"
310
- },
311
- direction: "ltr"
312
- };
313
-
314
- }));
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
+ /**
16
+ * Simplified Chinese spoken in China.
17
+ */
18
+ FE.LANGUAGE['zh_cn'] = {
19
+ translation: {
20
+ // Place holder
21
+ 'Type something': '输入内容',
22
+ // Basic formatting
23
+ 'Bold': '粗体',
24
+ 'Italic': '斜体',
25
+ 'Underline': '下划线',
26
+ 'Strikethrough': '删除线',
27
+ // Main buttons
28
+ 'Insert': '插入',
29
+ 'Delete': '删除',
30
+ 'Cancel': '取消',
31
+ 'OK': '确定',
32
+ 'Back': '后退',
33
+ 'Remove': '删除',
34
+ 'More': '更多',
35
+ 'Update': '更新',
36
+ 'Style': '样式',
37
+ // Font
38
+ 'Font Family': '字体',
39
+ 'Font Size': '字号',
40
+ // Colors
41
+ 'Colors': '颜色',
42
+ 'Background': '背景',
43
+ 'Text': '字体',
44
+ 'HEX Color': '十六进制颜色',
45
+ // Paragraphs
46
+ 'Paragraph Format': '段落格式',
47
+ 'Normal': '正文',
48
+ 'Code': '代码',
49
+ 'Heading 1': '标题1',
50
+ 'Heading 2': '标题2',
51
+ 'Heading 3': '标题3',
52
+ 'Heading 4': '标题4',
53
+ // Style
54
+ 'Paragraph Style': '段落样式',
55
+ 'Inline Style': '内联样式',
56
+ // Alignment
57
+ 'Align': '对齐方式',
58
+ 'Align Left': '左对齐',
59
+ 'Align Center': '居中',
60
+ 'Align Right': '右对齐',
61
+ 'Align Justify': '两端对齐',
62
+ 'None': '无',
63
+ // Lists
64
+ 'Ordered List': '编号',
65
+ 'Unordered List': '项目符号',
66
+ // Indent
67
+ 'Decrease Indent': '减少缩进量',
68
+ 'Increase Indent': '增加缩进量',
69
+ // Links
70
+ 'Insert Link': '插入超链接',
71
+ 'Open in new tab': '在新标签页中打开',
72
+ 'Open Link': '打开超链接',
73
+ 'Edit Link': '编辑超链接',
74
+ 'Unlink': '删除超链接',
75
+ 'Choose Link': '选择超链接',
76
+ // Images
77
+ 'Insert Image': '插入图片',
78
+ 'Upload Image': '上传图片',
79
+ 'By URL': '通过 URL',
80
+ 'Browse': '浏览',
81
+ 'Drop image': '拖入图片',
82
+ 'or click': '或点击',
83
+ 'Manage Images': '管理图片',
84
+ 'Loading': '加载中',
85
+ 'Deleting': '删除中',
86
+ 'Tags': '标签',
87
+ 'Are you sure? Image will be deleted.': '图片将会被删除,是否确认?',
88
+ 'Replace': '替换',
89
+ 'Uploading': '上传中',
90
+ 'Loading image': '图片加载中',
91
+ 'Display': '显示',
92
+ 'Inline': '嵌入型',
93
+ 'Break Text': '上下型环绕',
94
+ 'Alternative Text': '替换文字',
95
+ 'Change Size': '改变大小',
96
+ 'Width': '宽度',
97
+ 'Height': '高度',
98
+ 'Something went wrong. Please try again.': '发生错误,请重试。',
99
+ 'Image Caption': '图片标题',
100
+ 'Advanced Edit': '高级编辑',
101
+ // Video
102
+ 'Insert Video': '插入视频',
103
+ 'Embedded Code': '嵌入代码',
104
+ 'Paste in a video URL': '粘贴视频网址',
105
+ 'Drop video': '拖入视频',
106
+ 'Your browser does not support HTML5 video.': '您的浏览器不支持 HTML5 视频。',
107
+ 'Upload Video': '上传视频',
108
+ // Tables
109
+ 'Insert Table': '插入表格',
110
+ 'Table Header': '表头',
111
+ 'Remove Table': '删除表格',
112
+ 'Table Style': '表格样式',
113
+ 'Horizontal Align': '水平对齐方式',
114
+ 'Row': '行',
115
+ 'Insert row above': '在上方插入',
116
+ 'Insert row below': '在下方插入',
117
+ 'Delete row': '删除行',
118
+ 'Column': '列',
119
+ 'Insert column before': '在左侧插入',
120
+ 'Insert column after': '在右侧插入',
121
+ 'Delete column': '删除列',
122
+ 'Cell': '单元格',
123
+ 'Merge cells': '合并单元格',
124
+ 'Horizontal split': '水平分割',
125
+ 'Vertical split': '垂直分割',
126
+ 'Cell Background': '单元格背景',
127
+ 'Vertical Align': '垂直对齐方式',
128
+ 'Top': '靠上',
129
+ 'Middle': '居中',
130
+ 'Bottom': '靠下',
131
+ 'Align Top': '靠上对齐',
132
+ 'Align Middle': '居中对齐',
133
+ 'Align Bottom': '靠下对齐',
134
+ 'Cell Style': '单元格样式',
135
+ // Files
136
+ 'Upload File': '上传文件',
137
+ 'Drop file': '拖入文件',
138
+ // Emoticons
139
+ 'Emoticons': '表情符号',
140
+ 'Grinning face': '露齿笑脸',
141
+ 'Grinning face with smiling eyes': '露齿笑到眯起眼',
142
+ 'Face with tears of joy': '笑哭',
143
+ 'Smiling face with open mouth': '张嘴微笑',
144
+ 'Smiling face with open mouth and smiling eyes': '眯眼张嘴微笑',
145
+ 'Smiling face with open mouth and cold sweat': '带冷汗的张嘴微笑',
146
+ 'Smiling face with open mouth and tightly-closed eyes': '紧闭双眼张嘴微笑',
147
+ 'Smiling face with halo': '带光环微笑',
148
+ 'Smiling face with horns': '带牛角的微笑',
149
+ 'Winking face': '眨眼',
150
+ 'Smiling face with smiling eyes': '眯眼微笑',
151
+ 'Face savoring delicious food': '馋',
152
+ 'Relieved face': '如释重负',
153
+ 'Smiling face with heart-shaped eyes': '桃心眼微笑',
154
+ 'Smiling face with sunglasses': '戴太阳镜微笑',
155
+ 'Smirking face': '得意地笑',
156
+ 'Neutral face': '中性脸',
157
+ 'Expressionless face': '面无表情',
158
+ 'Unamused face': '不高兴',
159
+ 'Face with cold sweat': '冷汗',
160
+ 'Pensive face': '沉思',
161
+ 'Confused face': '迷惑',
162
+ 'Confounded face': '困惑',
163
+ 'Kissing face': '嘴巴嘟嘟',
164
+ 'Face throwing a kiss': '飞吻',
165
+ 'Kissing face with smiling eyes': '眯眼接吻',
166
+ 'Kissing face with closed eyes': '闭眼接吻',
167
+ 'Face with stuck out tongue': '吐舌',
168
+ 'Face with stuck out tongue and winking eye': '眨眼吐舌',
169
+ 'Face with stuck out tongue and tightly-closed eyes': '眯眼吐舌',
170
+ 'Disappointed face': '失望',
171
+ 'Worried face': '担心',
172
+ 'Angry face': '生气',
173
+ 'Pouting face': '撅嘴',
174
+ 'Crying face': '大哭',
175
+ 'Persevering face': '坚强',
176
+ 'Face with look of triumph': '扬眉吐气',
177
+ 'Disappointed but relieved face': '失望',
178
+ 'Frowning face with open mouth': '皱眉',
179
+ 'Anguished face': '痛苦',
180
+ 'Fearful face': '害怕',
181
+ 'Weary face': '疲惫',
182
+ 'Sleepy face': '困了',
183
+ 'Tired face': '累了',
184
+ 'Grimacing face': '扭曲脸',
185
+ 'Loudly crying face': '大哭',
186
+ 'Face with open mouth': '张开嘴',
187
+ 'Hushed face': '安静',
188
+ 'Face with open mouth and cold sweat': '冷汗',
189
+ 'Face screaming in fear': '害怕尖叫',
190
+ 'Astonished face': '惊讶',
191
+ 'Flushed face': '脸红',
192
+ 'Sleeping face': '熟睡',
193
+ 'Dizzy face': '眩晕',
194
+ 'Face without mouth': '没有嘴的脸',
195
+ 'Face with medical mask': '口罩脸',
196
+ // Line breaker
197
+ 'Break': '换行',
198
+ // Math
199
+ 'Subscript': '下标',
200
+ 'Superscript': '上标',
201
+ // Full screen
202
+ 'Fullscreen': '全屏',
203
+ // Horizontal line
204
+ 'Insert Horizontal Line': '插入水平线',
205
+ // Clear formatting
206
+ 'Clear Formatting': '清除格式',
207
+ // Save
208
+ 'Save': '保存',
209
+ // Undo, redo
210
+ 'Undo': '撤消',
211
+ 'Redo': '恢复',
212
+ // Select all
213
+ 'Select All': '全选',
214
+ // Code view
215
+ 'Code View': '代码视图',
216
+ // Quote
217
+ 'Quote': '引用',
218
+ 'Increase': '增加引用级别',
219
+ 'Decrease': '减少引用级别',
220
+ // Quick Insert
221
+ 'Quick Insert': '快速插入',
222
+ // Spcial Characters
223
+ 'Special Characters': '特殊字符',
224
+ 'Latin': '拉丁字母',
225
+ 'Greek': '希腊字母',
226
+ 'Cyrillic': '西里尔字母',
227
+ 'Punctuation': '标点',
228
+ 'Currency': '货币',
229
+ 'Arrows': '箭头',
230
+ 'Math': '数学',
231
+ 'Misc': '杂项',
232
+ // Print.
233
+ 'Print': '打印',
234
+ // Spell Checker.
235
+ 'Spell Checker': '拼写检查器',
236
+ // Help
237
+ 'Help': '帮助',
238
+ 'Shortcuts': '快捷键',
239
+ 'Inline Editor': '内联编辑器',
240
+ 'Show the editor': '显示编辑器',
241
+ 'Common actions': '常用操作',
242
+ 'Copy': '复制',
243
+ 'Cut': '剪切',
244
+ 'Paste': '粘贴',
245
+ 'Basic Formatting': '基本格式',
246
+ 'Increase quote level': '增加引用级别',
247
+ 'Decrease quote level': '减少引用级别',
248
+ 'Image / Video': '图像/视频',
249
+ 'Resize larger': '放大',
250
+ 'Resize smaller': '缩小',
251
+ 'Table': '表格',
252
+ 'Select table cell': '选择单元格',
253
+ 'Extend selection one cell': '增加选中的单元格',
254
+ 'Extend selection one row': '增加选中的行',
255
+ 'Navigation': '导航',
256
+ 'Focus popup / toolbar': '焦点弹出/工具栏',
257
+ 'Return focus to previous position': '将焦点返回到上一个位置',
258
+ // Embed.ly
259
+ 'Embed URL': '嵌入网址',
260
+ 'Paste in a URL to embed': '粘贴要嵌入的网址',
261
+ // Word Paste.
262
+ 'The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?': '粘贴的内容来自微软 Word 文档。你想保留还是清除格式?',
263
+ 'Keep': '保留',
264
+ 'Clean': '清除',
265
+ 'Word Paste Detected': '检测到粘贴自 Word 的内容',
266
+ // Character Counter
267
+ 'Characters': '字数统计',
268
+ // More Buttons
269
+ 'More Text': ' 更多文字',
270
+ 'More Paragraph': '更多段落',
271
+ 'More Rich': '更多丰富',
272
+ 'More Misc': '更多杂项',
273
+ 'Rounded': '圆角',
274
+ 'Bordered': '边框',
275
+ 'Shadow': '阴影',
276
+ 'Download PDF': '下载PDF',
277
+ 'Text Color': '字体颜色',
278
+ 'Background Color': '背景颜色',
279
+ 'Inline Class': '内联类',
280
+ 'Highlighted': '高亮',
281
+ 'Transparent': '透明',
282
+ 'Big Red': '大号红',
283
+ 'Small Blue': '小号蓝',
284
+ 'Default': '默认',
285
+ 'Lower Alpha': 'a,b,c...',
286
+ 'Lower Greek': 'α,β,γ...',
287
+ 'Lower Roman': 'i,ii,iii...',
288
+ 'Upper Alpha': 'A,B,C...',
289
+ 'Upper Roman': 'Ⅰ,Ⅱ,Ⅲ...',
290
+ 'Circle': '○ 空心圆',
291
+ 'Disc': '● 实心圆',
292
+ 'Square': '■ 实心方块',
293
+ 'Gray': '灰色',
294
+ 'Spaced': '字母间隙',
295
+ 'Uppercase': '大写',
296
+ 'Line Height': '行高',
297
+ 'Single': '1',
298
+ 'Double': '2'
299
+ },
300
+ direction: 'ltr'
301
+ };
302
+
303
+ })));
304
+ //# sourceMappingURL=zh_cn.js.map