glebtv-ckeditor 4.0.2 → 4.0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. data/lib/ckeditor/version.rb +1 -1
  2. data/vendor/assets/javascripts/ckeditor/config.js.erb +1 -1
  3. data/vendor/assets/javascripts/ckeditor/plugins/font/lang/en.js +14 -0
  4. data/vendor/assets/javascripts/ckeditor/plugins/font/lang/ru.js +14 -0
  5. data/vendor/assets/javascripts/ckeditor/plugins/font/plugin.js +222 -0
  6. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/{he.js → ru.js} +2 -2
  7. metadata +5 -132
  8. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -25
  9. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +0 -9
  10. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +0 -9
  11. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +0 -9
  12. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -10
  13. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -9
  14. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -9
  15. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -10
  16. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -10
  17. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -10
  18. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +0 -10
  19. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +0 -9
  20. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -9
  21. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -10
  22. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -10
  23. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -9
  24. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -9
  25. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +0 -9
  26. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +0 -9
  27. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +0 -9
  28. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -10
  29. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +0 -9
  30. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +0 -9
  31. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +0 -10
  32. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +0 -9
  33. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +0 -10
  34. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -9
  35. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +0 -9
  36. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -9
  37. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -10
  38. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -9
  39. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +0 -10
  40. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -9
  41. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +0 -9
  42. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -9
  43. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +0 -10
  44. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +0 -9
  45. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +0 -10
  46. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +0 -9
  47. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -10
  48. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -9
  49. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +0 -9
  50. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -9
  51. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -7
  52. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/af.js +0 -10
  53. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ar.js +0 -10
  54. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bg.js +0 -10
  55. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bn.js +0 -10
  56. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bs.js +0 -10
  57. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ca.js +0 -10
  58. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/cs.js +0 -10
  59. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/cy.js +0 -10
  60. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/da.js +0 -10
  61. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/de.js +0 -10
  62. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/el.js +0 -10
  63. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-au.js +0 -10
  64. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-ca.js +0 -10
  65. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-gb.js +0 -10
  66. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/eo.js +0 -10
  67. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/es.js +0 -10
  68. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/et.js +0 -10
  69. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/eu.js +0 -10
  70. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fa.js +0 -10
  71. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fi.js +0 -10
  72. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fo.js +0 -10
  73. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fr-ca.js +0 -10
  74. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fr.js +0 -10
  75. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/gl.js +0 -10
  76. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/gu.js +0 -10
  77. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/he.js +0 -10
  78. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hi.js +0 -10
  79. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hr.js +0 -10
  80. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hu.js +0 -10
  81. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/is.js +0 -10
  82. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/it.js +0 -10
  83. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ja.js +0 -10
  84. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ka.js +0 -10
  85. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/km.js +0 -10
  86. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ko.js +0 -10
  87. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ku.js +0 -10
  88. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/lt.js +0 -10
  89. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/lv.js +0 -10
  90. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/mk.js +0 -10
  91. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/mn.js +0 -10
  92. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ms.js +0 -10
  93. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/nb.js +0 -10
  94. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/nl.js +0 -10
  95. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/no.js +0 -10
  96. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pl.js +0 -10
  97. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pt-br.js +0 -10
  98. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pt.js +0 -10
  99. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ro.js +0 -10
  100. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sk.js +0 -10
  101. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sl.js +0 -10
  102. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sr-latn.js +0 -10
  103. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sr.js +0 -10
  104. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sv.js +0 -10
  105. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/th.js +0 -10
  106. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/tr.js +0 -10
  107. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ug.js +0 -10
  108. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/uk.js +0 -10
  109. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/vi.js +0 -10
  110. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/zh-cn.js +0 -10
  111. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/zh.js +0 -10
  112. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -20
  113. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +0 -13
  114. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -13
  115. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -14
  116. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -13
  117. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -13
  118. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -12
  119. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -13
  120. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -12
  121. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -13
  122. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -11
  123. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -13
  124. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -14
  125. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +0 -13
  126. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +0 -13
  127. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -11
  128. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -13
  129. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -11
  130. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +0 -12
  131. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +0 -11
  132. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +0 -13
  133. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +0 -11
  134. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +0 -13
  135. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -12
  136. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -13
  137. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -9
@@ -1,6 +1,6 @@
1
1
  module Ckeditor
2
2
  module Version
3
- GEM = "4.0.2".freeze
3
+ GEM = "4.0.2.1".freeze
4
4
  EDITOR = "4.0.2".freeze
5
5
  end
6
6
  end
@@ -28,7 +28,7 @@ CKEDITOR.editorConfig = function( config )
28
28
  config.filebrowserUploadUrl = "/ckeditor/attachment_files";
29
29
 
30
30
  config.stylesSet = [];
31
- config.extraPlugins = "magicline,codemirror,mediaembed,stylesheetparser,LoremIpsum,CKCss";
31
+ config.extraPlugins = "font,magicline,codemirror,mediaembed,stylesheetparser,LoremIpsum,CKCss";
32
32
  config.contentsCss = "<%= stylesheet_path('ckcontent.css') %>";
33
33
 
34
34
  // Rails CSRF token
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'font', 'en', {
6
+ fontSize: {
7
+ label: 'Size',
8
+ voiceLabel: 'Font Size',
9
+ panelTitle: 'Font Size'
10
+ },
11
+ label: 'Font',
12
+ panelTitle: 'Font Name',
13
+ voiceLabel: 'Font'
14
+ });
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'font', 'ru', {
6
+ fontSize: {
7
+ label: 'Размер',
8
+ voiceLabel: 'Размер шрифта',
9
+ panelTitle: 'Размер шрифта'
10
+ },
11
+ label: 'Шрифт',
12
+ panelTitle: 'Шрифт',
13
+ voiceLabel: 'Шрифт'
14
+ });
@@ -0,0 +1,222 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ (function() {
7
+ function addCombo( editor, comboName, styleType, lang, entries, defaultLabel, styleDefinition, order ) {
8
+ var config = editor.config;
9
+
10
+ // Gets the list of fonts from the settings.
11
+ var names = entries.split( ';' ),
12
+ values = [];
13
+
14
+ // Create style objects for all fonts.
15
+ var styles = {};
16
+ for ( var i = 0; i < names.length; i++ ) {
17
+ var parts = names[ i ];
18
+
19
+ if ( parts ) {
20
+ parts = parts.split( '/' );
21
+
22
+ var vars = {},
23
+ name = names[ i ] = parts[ 0 ];
24
+
25
+ vars[ styleType ] = values[ i ] = parts[ 1 ] || name;
26
+
27
+ styles[ name ] = new CKEDITOR.style( styleDefinition, vars );
28
+ styles[ name ]._.definition.name = name;
29
+ } else
30
+ names.splice( i--, 1 );
31
+ }
32
+
33
+ editor.ui.addRichCombo( comboName, {
34
+ label: lang.label,
35
+ title: lang.panelTitle,
36
+ toolbar: 'styles,' + order,
37
+
38
+ panel: {
39
+ css: [ CKEDITOR.skin.getPath( 'editor' ) ].concat( config.contentsCss ),
40
+ multiSelect: false,
41
+ attributes: { 'aria-label': lang.panelTitle }
42
+ },
43
+
44
+ init: function() {
45
+ this.startGroup( lang.panelTitle );
46
+
47
+ for ( var i = 0; i < names.length; i++ ) {
48
+ var name = names[ i ];
49
+
50
+ // Add the tag entry to the panel list.
51
+ this.add( name, styles[ name ].buildPreview(), name );
52
+ }
53
+ },
54
+
55
+ onClick: function( value ) {
56
+ editor.focus();
57
+ editor.fire( 'saveSnapshot' );
58
+
59
+ var style = styles[ value ];
60
+
61
+ editor[ this.getValue() == value ? 'removeStyle' : 'applyStyle' ]( style );
62
+ editor.fire( 'saveSnapshot' );
63
+ },
64
+
65
+ onRender: function() {
66
+ editor.on( 'selectionChange', function( ev ) {
67
+ var currentValue = this.getValue();
68
+
69
+ var elementPath = ev.data.path,
70
+ elements = elementPath.elements;
71
+
72
+ // For each element into the elements path.
73
+ for ( var i = 0, element; i < elements.length; i++ ) {
74
+ element = elements[ i ];
75
+
76
+ // Check if the element is removable by any of
77
+ // the styles.
78
+ for ( var value in styles ) {
79
+ if ( styles[ value ].checkElementMatch( element, true ) ) {
80
+ if ( value != currentValue )
81
+ this.setValue( value );
82
+ return;
83
+ }
84
+ }
85
+ }
86
+
87
+ // If no styles match, just empty it.
88
+ this.setValue( '', defaultLabel );
89
+ }, this );
90
+ }
91
+ });
92
+ }
93
+
94
+ CKEDITOR.plugins.add( 'font', {
95
+ requires: 'richcombo',
96
+ lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en-au,en-ca,en-gb,en,eo,es,et,eu,fa,fi,fo,fr-ca,fr,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt-br,pt,ro,ru,sk,sl,sr-latn,sr,sv,th,tr,ug,uk,vi,zh-cn,zh', // %REMOVE_LINE_CORE%
97
+ init: function( editor ) {
98
+ var config = editor.config;
99
+
100
+ addCombo( editor, 'Font', 'family', editor.lang.font, config.font_names, config.font_defaultLabel, config.font_style, 30 );
101
+ addCombo( editor, 'FontSize', 'size', editor.lang.font.fontSize, config.fontSize_sizes, config.fontSize_defaultLabel, config.fontSize_style, 40 );
102
+ }
103
+ });
104
+ })();
105
+
106
+ /**
107
+ * The list of fonts names to be displayed in the Font combo in the toolbar.
108
+ * Entries are separated by semi-colons (`';'`), while it's possible to have more
109
+ * than one font for each entry, in the HTML way (separated by comma).
110
+ *
111
+ * A display name may be optionally defined by prefixing the entries with the
112
+ * name and the slash character. For example, `'Arial/Arial, Helvetica, sans-serif'`
113
+ * will be displayed as `'Arial'` in the list, but will be outputted as
114
+ * `'Arial, Helvetica, sans-serif'`.
115
+ *
116
+ * config.font_names =
117
+ * 'Arial/Arial, Helvetica, sans-serif;' +
118
+ * 'Times New Roman/Times New Roman, Times, serif;' +
119
+ * 'Verdana';
120
+ *
121
+ * config.font_names = 'Arial;Times New Roman;Verdana';
122
+ *
123
+ * @cfg {String} [font_names=see source]
124
+ * @member CKEDITOR.config
125
+ */
126
+ CKEDITOR.config.font_names = 'Arial/Arial, Helvetica, sans-serif;' +
127
+ 'Comic Sans MS/Comic Sans MS, cursive;' +
128
+ 'Courier New/Courier New, Courier, monospace;' +
129
+ 'Georgia/Georgia, serif;' +
130
+ 'Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;' +
131
+ 'Tahoma/Tahoma, Geneva, sans-serif;' +
132
+ 'Times New Roman/Times New Roman, Times, serif;' +
133
+ 'Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;' +
134
+ 'Verdana/Verdana, Geneva, sans-serif';
135
+
136
+ /**
137
+ * The text to be displayed in the Font combo is none of the available values
138
+ * matches the current cursor position or text selection.
139
+ *
140
+ * // If the default site font is Arial, we may making it more explicit to the end user.
141
+ * config.font_defaultLabel = 'Arial';
142
+ *
143
+ * @cfg {String} [font_defaultLabel='']
144
+ * @member CKEDITOR.config
145
+ */
146
+ CKEDITOR.config.font_defaultLabel = '';
147
+
148
+ /**
149
+ * The style definition to be used to apply the font in the text.
150
+ *
151
+ * // This is actually the default value for it.
152
+ * config.font_style = {
153
+ * element: 'span',
154
+ * styles: { 'font-family': '#(family)' },
155
+ * overrides: [ { element: 'font', attributes: { 'face': null } } ]
156
+ * };
157
+ *
158
+ * @cfg {Object} [font_style=see example]
159
+ * @member CKEDITOR.config
160
+ */
161
+ CKEDITOR.config.font_style = {
162
+ element: 'span',
163
+ styles: { 'font-family': '#(family)' },
164
+ overrides: [ {
165
+ element: 'font', attributes: { 'face': null }
166
+ }]
167
+ };
168
+
169
+ /**
170
+ * The list of fonts size to be displayed in the Font Size combo in the
171
+ * toolbar. Entries are separated by semi-colons (`';'`).
172
+ *
173
+ * Any kind of "CSS like" size can be used, like `'12px'`, `'2.3em'`, `'130%'`,
174
+ * `'larger'` or `'x-small'`.
175
+ *
176
+ * A display name may be optionally defined by prefixing the entries with the
177
+ * name and the slash character. For example, `'Bigger Font/14px'` will be
178
+ * displayed as `'Bigger Font'` in the list, but will be outputted as `'14px'`.
179
+ *
180
+ * config.fontSize_sizes = '16/16px;24/24px;48/48px;';
181
+ *
182
+ * config.fontSize_sizes = '12px;2.3em;130%;larger;x-small';
183
+ *
184
+ * config.fontSize_sizes = '12 Pixels/12px;Big/2.3em;30 Percent More/130%;Bigger/larger;Very Small/x-small';
185
+ *
186
+ * @cfg {String} [fontSize_sizes=see source]
187
+ * @member CKEDITOR.config
188
+ */
189
+ CKEDITOR.config.fontSize_sizes = '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px';
190
+
191
+ /**
192
+ * The text to be displayed in the Font Size combo is none of the available
193
+ * values matches the current cursor position or text selection.
194
+ *
195
+ * // If the default site font size is 12px, we may making it more explicit to the end user.
196
+ * config.fontSize_defaultLabel = '12px';
197
+ *
198
+ * @cfg {String} [fontSize_defaultLabel='']
199
+ * @member CKEDITOR.config
200
+ */
201
+ CKEDITOR.config.fontSize_defaultLabel = '';
202
+
203
+ /**
204
+ * The style definition to be used to apply the font size in the text.
205
+ *
206
+ * // This is actually the default value for it.
207
+ * config.fontSize_style = {
208
+ * element: 'span',
209
+ * styles: { 'font-size': '#(size)' },
210
+ * overrides: [ { element :'font', attributes: { 'size': null } } ]
211
+ * };
212
+ *
213
+ * @cfg {Object} [fontSize_style=see example]
214
+ * @member CKEDITOR.config
215
+ */
216
+ CKEDITOR.config.fontSize_style = {
217
+ element: 'span',
218
+ styles: { 'font-size': '#(size)' },
219
+ overrides: [ {
220
+ element: 'font', attributes: { 'size': null }
221
+ }]
222
+ };
@@ -1,8 +1,8 @@
1
- /*
1
+ /*
2
2
  Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
- CKEDITOR.plugins.setLang("specialchar","he",{euro:"יורו",lsquo:"Left single quotation mark",rsquo:"Right single quotation mark",ldquo:"Left double quotation mark",rdquo:"Right double quotation mark",ndash:"En dash",mdash:"Em dash",iexcl:"Inverted exclamation mark",cent:"Cent sign",pound:"Pound sign",curren:"Currency sign",yen:"Yen sign",brvbar:"Broken bar",sect:"Section sign",uml:"Diaeresis",copy:"Copyright sign",ordf:"Feminine ordinal indicator",laquo:"Left-pointing double angle quotation mark",
5
+ CKEDITOR.plugins.setLang("specialchar","ru",{euro:"Euro sign",lsquo:"Left single quotation mark",rsquo:"Right single quotation mark",ldquo:"Left double quotation mark",rdquo:"Right double quotation mark",ndash:"En dash",mdash:"Em dash",iexcl:"Inverted exclamation mark",cent:"Cent sign",pound:"Pound sign",curren:"Currency sign",yen:"Yen sign",brvbar:"Broken bar",sect:"Section sign",uml:"Diaeresis",copy:"Copyright sign",ordf:"Feminine ordinal indicator",laquo:"Left-pointing double angle quotation mark",
6
6
  not:"Not sign",reg:"Registered sign",macr:"Macron",deg:"Degree sign",sup2:"Superscript two",sup3:"Superscript three",acute:"Acute accent",micro:"Micro sign",para:"Pilcrow sign",middot:"Middle dot",cedil:"Cedilla",sup1:"Superscript one",ordm:"Masculine ordinal indicator",raquo:"Right-pointing double angle quotation mark",frac14:"Vulgar fraction one quarter",frac12:"Vulgar fraction one half",frac34:"Vulgar fraction three quarters",iquest:"Inverted question mark",Agrave:"Latin capital letter A with grave accent",
7
7
  Aacute:"Latin capital letter A with acute accent",Acirc:"Latin capital letter A with circumflex",Atilde:"Latin capital letter A with tilde",Auml:"Latin capital letter A with diaeresis",Aring:"Latin capital letter A with ring above",AElig:"Latin Capital letter Æ",Ccedil:"Latin capital letter C with cedilla",Egrave:"Latin capital letter E with grave accent",Eacute:"Latin capital letter E with acute accent",Ecirc:"Latin capital letter E with circumflex",Euml:"Latin capital letter E with diaeresis",Igrave:"Latin capital letter I with grave accent",
8
8
  Iacute:"Latin capital letter I with acute accent",Icirc:"Latin capital letter I with circumflex",Iuml:"Latin capital letter I with diaeresis",ETH:"Latin capital letter Eth",Ntilde:"Latin capital letter N with tilde",Ograve:"Latin capital letter O with grave accent",Oacute:"Latin capital letter O with acute accent",Ocirc:"Latin capital letter O with circumflex",Otilde:"Latin capital letter O with tilde",Ouml:"Latin capital letter O with diaeresis",times:"Multiplication sign",Oslash:"Latin capital letter O with stroke",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glebtv-ckeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -128,34 +128,8 @@ files:
128
128
  - vendor/assets/javascripts/ckeditor/plugins/oembed/lang/ru.js
129
129
  - vendor/assets/javascripts/ckeditor/plugins/oembed/images/icon.png
130
130
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js
131
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js
132
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js
133
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js
134
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt
135
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js
136
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js
137
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js
138
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js
139
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js
140
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js
141
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js
142
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js
143
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js
144
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js
145
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js
146
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js
147
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js
148
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js
149
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js
150
131
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js
151
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js
152
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js
153
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js
154
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js
155
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js
156
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js
157
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js
158
- - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js
132
+ - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js
159
133
  - vendor/assets/javascripts/ckeditor/plugins/fakeobjects/images/spacer.gif
160
134
  - vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js
161
135
  - vendor/assets/javascripts/ckeditor/plugins/image/images/noimage.png
@@ -166,52 +140,11 @@ files:
166
140
  - vendor/assets/javascripts/ckeditor/plugins/scayt/README.md
167
141
  - vendor/assets/javascripts/ckeditor/plugins/scayt/LICENSE.md
168
142
  - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js
169
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js
170
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js
171
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js
172
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js
173
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt
174
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js
175
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js
176
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js
177
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js
178
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js
179
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js
180
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js
181
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js
182
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js
183
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js
184
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js
185
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js
186
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js
187
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js
188
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js
189
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js
190
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js
191
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js
192
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js
193
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js
194
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js
195
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js
196
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js
197
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js
198
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js
199
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js
200
143
  - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js
201
144
  - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js
202
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js
203
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js
204
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js
205
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js
206
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js
207
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js
208
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js
209
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js
210
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js
211
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js
212
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js
213
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js
214
- - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js
145
+ - vendor/assets/javascripts/ckeditor/plugins/font/plugin.js
146
+ - vendor/assets/javascripts/ckeditor/plugins/font/lang/en.js
147
+ - vendor/assets/javascripts/ckeditor/plugins/font/lang/ru.js
215
148
  - vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html
216
149
  - vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html
217
150
  - vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css
@@ -279,68 +212,8 @@ files:
279
212
  - vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/foldcode/foldcode.js
280
213
  - vendor/assets/javascripts/ckeditor/plugins/codemirror/js/xml.js
281
214
  - vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js
282
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pt-br.js
283
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fi.js
284
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fo.js
285
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/gu.js
286
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ms.js
287
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fr.js
288
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bs.js
289
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/el.js
290
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ja.js
291
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ca.js
292
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ar.js
293
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/nl.js
294
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/da.js
295
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/gl.js
296
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/cs.js
297
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/zh.js
298
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/is.js
299
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pl.js
300
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/he.js
301
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hu.js
302
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sl.js
303
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fr-ca.js
304
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hi.js
305
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bg.js
306
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/et.js
307
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ug.js
308
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/lv.js
309
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/zh-cn.js
310
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ku.js
311
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/af.js
312
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/es.js
313
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/cy.js
314
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-au.js
315
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/de.js
316
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/km.js
317
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/th.js
318
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/tr.js
319
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-ca.js
320
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-gb.js
321
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/vi.js
322
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/uk.js
323
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ko.js
324
215
  - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en.js
325
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sr-latn.js
326
216
  - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ru.js
327
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/mn.js
328
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bn.js
329
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/it.js
330
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fa.js
331
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/no.js
332
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sk.js
333
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pt.js
334
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/eu.js
335
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/nb.js
336
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sr.js
337
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hr.js
338
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/eo.js
339
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/lt.js
340
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/mk.js
341
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ro.js
342
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sv.js
343
- - vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ka.js
344
217
  - vendor/assets/javascripts/ckeditor/plugins/code/plugin.js
345
218
  - vendor/assets/javascripts/ckeditor/plugins/code/images/code.png
346
219
  - vendor/assets/javascripts/ckeditor/plugins/code/code/code.js