tramway-admin 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/ckeditor/config.js +29 -0
  3. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1259 -0
  4. data/app/assets/javascripts/ckeditor/plugins/image/icons/hidpi/image.png +0 -0
  5. data/app/assets/javascripts/ckeditor/plugins/image/icons/image.png +0 -0
  6. data/app/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
  7. data/app/assets/javascripts/ckeditor/plugins/image/lang/af.js +25 -0
  8. data/app/assets/javascripts/ckeditor/plugins/image/lang/ar.js +25 -0
  9. data/app/assets/javascripts/ckeditor/plugins/image/lang/az.js +25 -0
  10. data/app/assets/javascripts/ckeditor/plugins/image/lang/bg.js +25 -0
  11. data/app/assets/javascripts/ckeditor/plugins/image/lang/bn.js +25 -0
  12. data/app/assets/javascripts/ckeditor/plugins/image/lang/bs.js +25 -0
  13. data/app/assets/javascripts/ckeditor/plugins/image/lang/ca.js +25 -0
  14. data/app/assets/javascripts/ckeditor/plugins/image/lang/cs.js +25 -0
  15. data/app/assets/javascripts/ckeditor/plugins/image/lang/cy.js +25 -0
  16. data/app/assets/javascripts/ckeditor/plugins/image/lang/da.js +25 -0
  17. data/app/assets/javascripts/ckeditor/plugins/image/lang/de-ch.js +25 -0
  18. data/app/assets/javascripts/ckeditor/plugins/image/lang/de.js +25 -0
  19. data/app/assets/javascripts/ckeditor/plugins/image/lang/el.js +25 -0
  20. data/app/assets/javascripts/ckeditor/plugins/image/lang/en-au.js +25 -0
  21. data/app/assets/javascripts/ckeditor/plugins/image/lang/en-ca.js +25 -0
  22. data/app/assets/javascripts/ckeditor/plugins/image/lang/en-gb.js +25 -0
  23. data/app/assets/javascripts/ckeditor/plugins/image/lang/en.js +25 -0
  24. data/app/assets/javascripts/ckeditor/plugins/image/lang/eo.js +25 -0
  25. data/app/assets/javascripts/ckeditor/plugins/image/lang/es-mx.js +25 -0
  26. data/app/assets/javascripts/ckeditor/plugins/image/lang/es.js +25 -0
  27. data/app/assets/javascripts/ckeditor/plugins/image/lang/et.js +25 -0
  28. data/app/assets/javascripts/ckeditor/plugins/image/lang/eu.js +25 -0
  29. data/app/assets/javascripts/ckeditor/plugins/image/lang/fa.js +25 -0
  30. data/app/assets/javascripts/ckeditor/plugins/image/lang/fi.js +25 -0
  31. data/app/assets/javascripts/ckeditor/plugins/image/lang/fo.js +25 -0
  32. data/app/assets/javascripts/ckeditor/plugins/image/lang/fr-ca.js +25 -0
  33. data/app/assets/javascripts/ckeditor/plugins/image/lang/fr.js +25 -0
  34. data/app/assets/javascripts/ckeditor/plugins/image/lang/gl.js +25 -0
  35. data/app/assets/javascripts/ckeditor/plugins/image/lang/gu.js +25 -0
  36. data/app/assets/javascripts/ckeditor/plugins/image/lang/he.js +25 -0
  37. data/app/assets/javascripts/ckeditor/plugins/image/lang/hi.js +25 -0
  38. data/app/assets/javascripts/ckeditor/plugins/image/lang/hr.js +25 -0
  39. data/app/assets/javascripts/ckeditor/plugins/image/lang/hu.js +25 -0
  40. data/app/assets/javascripts/ckeditor/plugins/image/lang/id.js +25 -0
  41. data/app/assets/javascripts/ckeditor/plugins/image/lang/is.js +25 -0
  42. data/app/assets/javascripts/ckeditor/plugins/image/lang/it.js +25 -0
  43. data/app/assets/javascripts/ckeditor/plugins/image/lang/ja.js +25 -0
  44. data/app/assets/javascripts/ckeditor/plugins/image/lang/ka.js +25 -0
  45. data/app/assets/javascripts/ckeditor/plugins/image/lang/km.js +25 -0
  46. data/app/assets/javascripts/ckeditor/plugins/image/lang/ko.js +25 -0
  47. data/app/assets/javascripts/ckeditor/plugins/image/lang/ku.js +25 -0
  48. data/app/assets/javascripts/ckeditor/plugins/image/lang/lt.js +25 -0
  49. data/app/assets/javascripts/ckeditor/plugins/image/lang/lv.js +25 -0
  50. data/app/assets/javascripts/ckeditor/plugins/image/lang/mk.js +25 -0
  51. data/app/assets/javascripts/ckeditor/plugins/image/lang/mn.js +25 -0
  52. data/app/assets/javascripts/ckeditor/plugins/image/lang/ms.js +25 -0
  53. data/app/assets/javascripts/ckeditor/plugins/image/lang/nb.js +25 -0
  54. data/app/assets/javascripts/ckeditor/plugins/image/lang/nl.js +25 -0
  55. data/app/assets/javascripts/ckeditor/plugins/image/lang/no.js +25 -0
  56. data/app/assets/javascripts/ckeditor/plugins/image/lang/oc.js +25 -0
  57. data/app/assets/javascripts/ckeditor/plugins/image/lang/pl.js +25 -0
  58. data/app/assets/javascripts/ckeditor/plugins/image/lang/pt-br.js +25 -0
  59. data/app/assets/javascripts/ckeditor/plugins/image/lang/pt.js +25 -0
  60. data/app/assets/javascripts/ckeditor/plugins/image/lang/ro.js +25 -0
  61. data/app/assets/javascripts/ckeditor/plugins/image/lang/ru.js +25 -0
  62. data/app/assets/javascripts/ckeditor/plugins/image/lang/si.js +25 -0
  63. data/app/assets/javascripts/ckeditor/plugins/image/lang/sk.js +25 -0
  64. data/app/assets/javascripts/ckeditor/plugins/image/lang/sl.js +25 -0
  65. data/app/assets/javascripts/ckeditor/plugins/image/lang/sq.js +25 -0
  66. data/app/assets/javascripts/ckeditor/plugins/image/lang/sr-latn.js +25 -0
  67. data/app/assets/javascripts/ckeditor/plugins/image/lang/sr.js +25 -0
  68. data/app/assets/javascripts/ckeditor/plugins/image/lang/sv.js +25 -0
  69. data/app/assets/javascripts/ckeditor/plugins/image/lang/th.js +25 -0
  70. data/app/assets/javascripts/ckeditor/plugins/image/lang/tr.js +25 -0
  71. data/app/assets/javascripts/ckeditor/plugins/image/lang/tt.js +25 -0
  72. data/app/assets/javascripts/ckeditor/plugins/image/lang/ug.js +25 -0
  73. data/app/assets/javascripts/ckeditor/plugins/image/lang/uk.js +25 -0
  74. data/app/assets/javascripts/ckeditor/plugins/image/lang/vi.js +25 -0
  75. data/app/assets/javascripts/ckeditor/plugins/image/lang/zh-cn.js +25 -0
  76. data/app/assets/javascripts/ckeditor/plugins/image/lang/zh.js +25 -0
  77. data/app/assets/javascripts/ckeditor/plugins/image/plugin.js +184 -0
  78. data/app/assets/javascripts/tramway/admin/application.js.coffee +1 -0
  79. data/app/views/layouts/tramway/admin/application.html.haml +0 -5
  80. data/config/initializers/ckeditor.rb +1 -1
  81. data/lib/tramway/admin/version.rb +1 -1
  82. metadata +78 -4
  83. data/app/assets/config/tramway_admin_manifest.js +0 -2
  84. data/app/assets/javascripts/tramway/admin/ckeditor/config.js +0 -3
@@ -0,0 +1,25 @@
1
+ /*
2
+ Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'image', 'zh-cn', {
6
+ alt: '替换文本',
7
+ border: '边框大小',
8
+ btnUpload: '上传到服务器',
9
+ button2Img: '确定要把当前图像按钮转换为普通图像吗?',
10
+ hSpace: '水平间距',
11
+ img2Button: '确定要把当前图像改变为图像按钮吗?',
12
+ infoTab: '图像信息',
13
+ linkTab: '链接',
14
+ lockRatio: '锁定比例',
15
+ menu: '图像属性',
16
+ resetSize: '原始尺寸',
17
+ title: '图像属性',
18
+ titleButton: '图像域属性',
19
+ upload: '上传',
20
+ urlMissing: '缺少图像源文件地址',
21
+ vSpace: '垂直间距',
22
+ validateBorder: '边框大小必须为整数格式',
23
+ validateHSpace: '水平间距必须为整数格式',
24
+ validateVSpace: '垂直间距必须为整数格式'
25
+ } );
@@ -0,0 +1,25 @@
1
+ /*
2
+ Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'image', 'zh', {
6
+ alt: '替代文字',
7
+ border: '框線',
8
+ btnUpload: '傳送到伺服器',
9
+ button2Img: '請問您確定要將「圖片按鈕」轉換成「圖片」嗎?',
10
+ hSpace: 'HSpace',
11
+ img2Button: '請問您確定要將「圖片」轉換成「圖片按鈕」嗎?',
12
+ infoTab: '影像資訊',
13
+ linkTab: '連結',
14
+ lockRatio: '固定比例',
15
+ menu: '影像屬性',
16
+ resetSize: '重設大小',
17
+ title: '影像屬性',
18
+ titleButton: '影像按鈕屬性',
19
+ upload: '上傳',
20
+ urlMissing: '遺失圖片來源之 URL ',
21
+ vSpace: 'VSpace',
22
+ validateBorder: '框線必須是整數。',
23
+ validateHSpace: 'HSpace 必須是整數。',
24
+ validateVSpace: 'VSpace 必須是整數。'
25
+ } );
@@ -0,0 +1,184 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ /**
7
+ * @fileOverview The Image plugin.
8
+ */
9
+
10
+ ( function() {
11
+
12
+ CKEDITOR.plugins.add( 'image', {
13
+ requires: 'dialog',
14
+ // jscs:disable maximumLineLength
15
+ lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
16
+ // jscs:enable maximumLineLength
17
+ icons: 'image', // %REMOVE_LINE_CORE%
18
+ hidpi: true, // %REMOVE_LINE_CORE%
19
+ init: function( editor ) {
20
+ var pluginName = 'image';
21
+
22
+ // Abort when Easyimage or Image2 are to be loaded since this plugins
23
+ // share the same functionality (#1791).
24
+ if ( editor.plugins.detectConflict( pluginName, [ 'easyimage', 'image2' ] ) ) {
25
+ return;
26
+ }
27
+
28
+ // Register the dialog.
29
+ CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/image.js' );
30
+
31
+ var allowed = 'img[alt,!src]{border-style,border-width,float,height,margin,margin-bottom,margin-left,margin-right,margin-top,width}',
32
+ required = 'img[alt,src]';
33
+
34
+ if ( CKEDITOR.dialog.isTabEnabled( editor, pluginName, 'advanced' ) )
35
+ allowed = 'img[alt,dir,id,lang,longdesc,!src,title]{*}(*)';
36
+
37
+ // Register the command.
38
+ editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName, {
39
+ allowedContent: allowed,
40
+ requiredContent: required,
41
+ contentTransformations: [
42
+ [ 'img{width}: sizeToStyle', 'img[width]: sizeToAttribute' ],
43
+ [ 'img{float}: alignmentToStyle', 'img[align]: alignmentToAttribute' ]
44
+ ]
45
+ } ) );
46
+
47
+ // Register the toolbar button.
48
+ editor.ui.addButton && editor.ui.addButton( 'Image', {
49
+ label: editor.lang.common.image,
50
+ command: pluginName,
51
+ toolbar: 'insert,10'
52
+ } );
53
+
54
+ editor.on( 'doubleclick', function( evt ) {
55
+ var element = evt.data.element;
56
+
57
+ if ( element.is( 'img' ) && !element.data( 'cke-realelement' ) && !element.isReadOnly() )
58
+ evt.data.dialog = 'image';
59
+ } );
60
+
61
+ // If the "menu" plugin is loaded, register the menu items.
62
+ if ( editor.addMenuItems ) {
63
+ editor.addMenuItems( {
64
+ image: {
65
+ label: editor.lang.image.menu,
66
+ command: 'image',
67
+ group: 'image'
68
+ }
69
+ } );
70
+ }
71
+
72
+ // If the "contextmenu" plugin is loaded, register the listeners.
73
+ if ( editor.contextMenu ) {
74
+ editor.contextMenu.addListener( function( element ) {
75
+ if ( getSelectedImage( editor, element ) )
76
+ return { image: CKEDITOR.TRISTATE_OFF };
77
+ } );
78
+ }
79
+ },
80
+ afterInit: function( editor ) {
81
+ // Abort when Image2 is to be loaded since both plugins
82
+ // share the same button, command, etc. names (https://dev.ckeditor.com/ticket/11222).
83
+ if ( editor.plugins.image2 )
84
+ return;
85
+
86
+ // Customize the behavior of the alignment commands. (https://dev.ckeditor.com/ticket/7430)
87
+ setupAlignCommand( 'left' );
88
+ setupAlignCommand( 'right' );
89
+ setupAlignCommand( 'center' );
90
+ setupAlignCommand( 'block' );
91
+
92
+ function setupAlignCommand( value ) {
93
+ var command = editor.getCommand( 'justify' + value );
94
+ if ( command ) {
95
+ if ( value == 'left' || value == 'right' ) {
96
+ command.on( 'exec', function( evt ) {
97
+ var img = getSelectedImage( editor ),
98
+ align;
99
+ if ( img ) {
100
+ align = getImageAlignment( img );
101
+ if ( align == value ) {
102
+ img.removeStyle( 'float' );
103
+
104
+ // Remove "align" attribute when necessary.
105
+ if ( value == getImageAlignment( img ) )
106
+ img.removeAttribute( 'align' );
107
+ } else {
108
+ img.setStyle( 'float', value );
109
+ }
110
+
111
+ evt.cancel();
112
+ }
113
+ } );
114
+ }
115
+
116
+ command.on( 'refresh', function( evt ) {
117
+ var img = getSelectedImage( editor ),
118
+ align;
119
+ if ( img ) {
120
+ align = getImageAlignment( img );
121
+
122
+ this.setState(
123
+ ( align == value ) ? CKEDITOR.TRISTATE_ON : ( value == 'right' || value == 'left' ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
124
+
125
+ evt.cancel();
126
+ }
127
+ } );
128
+ }
129
+ }
130
+ }
131
+ } );
132
+
133
+ function getSelectedImage( editor, element ) {
134
+ if ( !element ) {
135
+ var sel = editor.getSelection();
136
+ element = sel.getSelectedElement();
137
+ }
138
+
139
+ if ( element && element.is( 'img' ) && !element.data( 'cke-realelement' ) && !element.isReadOnly() )
140
+ return element;
141
+ }
142
+
143
+ function getImageAlignment( element ) {
144
+ var align = element.getStyle( 'float' );
145
+
146
+ if ( align == 'inherit' || align == 'none' )
147
+ align = 0;
148
+
149
+ if ( !align )
150
+ align = element.getAttribute( 'align' );
151
+
152
+ return align;
153
+ }
154
+
155
+ } )();
156
+
157
+ /**
158
+ * Determines whether dimension inputs should be automatically filled when the image URL changes in the Image plugin dialog window.
159
+ *
160
+ * config.image_prefillDimensions = false;
161
+ *
162
+ * @since 4.5
163
+ * @cfg {Boolean} [image_prefillDimensions=true]
164
+ * @member CKEDITOR.config
165
+ */
166
+
167
+ /**
168
+ * Whether to remove links when emptying the link URL field in the Image dialog window.
169
+ *
170
+ * config.image_removeLinkByEmptyURL = false;
171
+ *
172
+ * @cfg {Boolean} [image_removeLinkByEmptyURL=true]
173
+ * @member CKEDITOR.config
174
+ */
175
+ CKEDITOR.config.image_removeLinkByEmptyURL = true;
176
+
177
+ /**
178
+ * Padding text to set off the image in the preview area.
179
+ *
180
+ * config.image_previewText = CKEDITOR.tools.repeat( '___ ', 100 );
181
+ *
182
+ * @cfg {String} [image_previewText='Lorem ipsum dolor...' (placeholder text)]
183
+ * @member CKEDITOR.config
184
+ */
@@ -1,3 +1,4 @@
1
1
  #= require jquery
2
2
  #= require jquery_ujs
3
+ #= require ckeditor/init
3
4
  #= require_tree .
@@ -2,13 +2,8 @@
2
2
  %head
3
3
  %meta{content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
4
4
  %title Tramway admin
5
- = javascript_include_tag Ckeditor.cdn_url
6
5
  = stylesheet_link_tag "tramway/admin/application", media: "all"
7
6
  = javascript_include_tag "tramway/admin/application"
8
- :javascript
9
- CKEDITOR.replace( 'post_content', {
10
- customConfig: "#{javascript_url('tramway/admin/ckeditor/config.js')}"
11
- } );
12
7
  = csrf_meta_tags
13
8
  %body
14
9
  = render 'layouts/tramway/admin/shared/navbar'
@@ -1,3 +1,3 @@
1
1
  Ckeditor.setup do |config|
2
- config.cdn_url = "//cdn.ckeditor.com/4.6.1/basic/ckeditor.js"
2
+ config.assets_plugins = [ 'image', 'copyformatting', 'filebrowser', 'sourcedialog' ]
3
3
  end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Admin
3
- VERSION = '1.3.3'
3
+ VERSION = '1.3.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-19 00:00:00.000000000 Z
11
+ date: 2018-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-kaminari-views
@@ -128,9 +128,83 @@ files:
128
128
  - MIT-LICENSE
129
129
  - README.md
130
130
  - Rakefile
131
- - app/assets/config/tramway_admin_manifest.js
131
+ - app/assets/javascripts/ckeditor/config.js
132
+ - app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js
133
+ - app/assets/javascripts/ckeditor/plugins/image/icons/hidpi/image.png
134
+ - app/assets/javascripts/ckeditor/plugins/image/icons/image.png
135
+ - app/assets/javascripts/ckeditor/plugins/image/images/noimage.png
136
+ - app/assets/javascripts/ckeditor/plugins/image/lang/af.js
137
+ - app/assets/javascripts/ckeditor/plugins/image/lang/ar.js
138
+ - app/assets/javascripts/ckeditor/plugins/image/lang/az.js
139
+ - app/assets/javascripts/ckeditor/plugins/image/lang/bg.js
140
+ - app/assets/javascripts/ckeditor/plugins/image/lang/bn.js
141
+ - app/assets/javascripts/ckeditor/plugins/image/lang/bs.js
142
+ - app/assets/javascripts/ckeditor/plugins/image/lang/ca.js
143
+ - app/assets/javascripts/ckeditor/plugins/image/lang/cs.js
144
+ - app/assets/javascripts/ckeditor/plugins/image/lang/cy.js
145
+ - app/assets/javascripts/ckeditor/plugins/image/lang/da.js
146
+ - app/assets/javascripts/ckeditor/plugins/image/lang/de-ch.js
147
+ - app/assets/javascripts/ckeditor/plugins/image/lang/de.js
148
+ - app/assets/javascripts/ckeditor/plugins/image/lang/el.js
149
+ - app/assets/javascripts/ckeditor/plugins/image/lang/en-au.js
150
+ - app/assets/javascripts/ckeditor/plugins/image/lang/en-ca.js
151
+ - app/assets/javascripts/ckeditor/plugins/image/lang/en-gb.js
152
+ - app/assets/javascripts/ckeditor/plugins/image/lang/en.js
153
+ - app/assets/javascripts/ckeditor/plugins/image/lang/eo.js
154
+ - app/assets/javascripts/ckeditor/plugins/image/lang/es-mx.js
155
+ - app/assets/javascripts/ckeditor/plugins/image/lang/es.js
156
+ - app/assets/javascripts/ckeditor/plugins/image/lang/et.js
157
+ - app/assets/javascripts/ckeditor/plugins/image/lang/eu.js
158
+ - app/assets/javascripts/ckeditor/plugins/image/lang/fa.js
159
+ - app/assets/javascripts/ckeditor/plugins/image/lang/fi.js
160
+ - app/assets/javascripts/ckeditor/plugins/image/lang/fo.js
161
+ - app/assets/javascripts/ckeditor/plugins/image/lang/fr-ca.js
162
+ - app/assets/javascripts/ckeditor/plugins/image/lang/fr.js
163
+ - app/assets/javascripts/ckeditor/plugins/image/lang/gl.js
164
+ - app/assets/javascripts/ckeditor/plugins/image/lang/gu.js
165
+ - app/assets/javascripts/ckeditor/plugins/image/lang/he.js
166
+ - app/assets/javascripts/ckeditor/plugins/image/lang/hi.js
167
+ - app/assets/javascripts/ckeditor/plugins/image/lang/hr.js
168
+ - app/assets/javascripts/ckeditor/plugins/image/lang/hu.js
169
+ - app/assets/javascripts/ckeditor/plugins/image/lang/id.js
170
+ - app/assets/javascripts/ckeditor/plugins/image/lang/is.js
171
+ - app/assets/javascripts/ckeditor/plugins/image/lang/it.js
172
+ - app/assets/javascripts/ckeditor/plugins/image/lang/ja.js
173
+ - app/assets/javascripts/ckeditor/plugins/image/lang/ka.js
174
+ - app/assets/javascripts/ckeditor/plugins/image/lang/km.js
175
+ - app/assets/javascripts/ckeditor/plugins/image/lang/ko.js
176
+ - app/assets/javascripts/ckeditor/plugins/image/lang/ku.js
177
+ - app/assets/javascripts/ckeditor/plugins/image/lang/lt.js
178
+ - app/assets/javascripts/ckeditor/plugins/image/lang/lv.js
179
+ - app/assets/javascripts/ckeditor/plugins/image/lang/mk.js
180
+ - app/assets/javascripts/ckeditor/plugins/image/lang/mn.js
181
+ - app/assets/javascripts/ckeditor/plugins/image/lang/ms.js
182
+ - app/assets/javascripts/ckeditor/plugins/image/lang/nb.js
183
+ - app/assets/javascripts/ckeditor/plugins/image/lang/nl.js
184
+ - app/assets/javascripts/ckeditor/plugins/image/lang/no.js
185
+ - app/assets/javascripts/ckeditor/plugins/image/lang/oc.js
186
+ - app/assets/javascripts/ckeditor/plugins/image/lang/pl.js
187
+ - app/assets/javascripts/ckeditor/plugins/image/lang/pt-br.js
188
+ - app/assets/javascripts/ckeditor/plugins/image/lang/pt.js
189
+ - app/assets/javascripts/ckeditor/plugins/image/lang/ro.js
190
+ - app/assets/javascripts/ckeditor/plugins/image/lang/ru.js
191
+ - app/assets/javascripts/ckeditor/plugins/image/lang/si.js
192
+ - app/assets/javascripts/ckeditor/plugins/image/lang/sk.js
193
+ - app/assets/javascripts/ckeditor/plugins/image/lang/sl.js
194
+ - app/assets/javascripts/ckeditor/plugins/image/lang/sq.js
195
+ - app/assets/javascripts/ckeditor/plugins/image/lang/sr-latn.js
196
+ - app/assets/javascripts/ckeditor/plugins/image/lang/sr.js
197
+ - app/assets/javascripts/ckeditor/plugins/image/lang/sv.js
198
+ - app/assets/javascripts/ckeditor/plugins/image/lang/th.js
199
+ - app/assets/javascripts/ckeditor/plugins/image/lang/tr.js
200
+ - app/assets/javascripts/ckeditor/plugins/image/lang/tt.js
201
+ - app/assets/javascripts/ckeditor/plugins/image/lang/ug.js
202
+ - app/assets/javascripts/ckeditor/plugins/image/lang/uk.js
203
+ - app/assets/javascripts/ckeditor/plugins/image/lang/vi.js
204
+ - app/assets/javascripts/ckeditor/plugins/image/lang/zh-cn.js
205
+ - app/assets/javascripts/ckeditor/plugins/image/lang/zh.js
206
+ - app/assets/javascripts/ckeditor/plugins/image/plugin.js
132
207
  - app/assets/javascripts/tramway/admin/application.js.coffee
133
- - app/assets/javascripts/tramway/admin/ckeditor/config.js
134
208
  - app/assets/stylesheets/tramway/admin/application.sass
135
209
  - app/controllers/tramway/admin/application_controller.rb
136
210
  - app/controllers/tramway/admin/records_controller.rb
@@ -1,2 +0,0 @@
1
- //= link_directory ../javascripts/tramway/admin .js
2
- //= link_directory ../stylesheets/tramway/admin .css
@@ -1,3 +0,0 @@
1
- CKEDITOR.editorConfig = function (config) {
2
- config.extraPlugins = 'image,copyformatting,filebrowser';
3
- }