effective_ckeditor 1.7.7 → 1.7.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40b4cc6e42c89f89fe06e7b5a1f0622bc19b7cf0
4
- data.tar.gz: bbdffae6023a4db5bc9693bd923f5c0a706515c9
3
+ metadata.gz: 4b0a05f40c694ab149fe1366586d1e0a77171899
4
+ data.tar.gz: 206cd4b7fadfbe021b3d2da7a577f8c1a7ee1395
5
5
  SHA512:
6
- metadata.gz: c24ff78bab1b7c7da832856be171dced264792453ab5680b4817a42478ad65c24b17c0eefae281647418651afd77af098b3c0d9f33ec16dc3920e7adde1235e5
7
- data.tar.gz: f93f700c41d5d463a424f1ada85745652b4c03b93f421a2aff44a924178842ed4a6f295082d07f4c57f1c18866c5d5e4b6e6c11eb7d99b48d60101cdc112e8ff
6
+ metadata.gz: d28366db589784e482189a3f3cd71e0acceeec82b78e987cc41f5a97f6aee351c0a0a308c3c1e1ba9f0bd29ddffd4e7182c1235ee0c0d1914e2aa054c4c6fea8
7
+ data.tar.gz: ba85d2486b839c9495b3fdf5b10e245c04ea9281524481f1397fbcff26e8d1a24da7dc5092dce6f4ed68a4b38ed6d152848b420f62f946a95b73f911599761c8
@@ -53,7 +53,7 @@ initEditor = (editor_div) ->
53
53
  startupOutlineBlocks = false
54
54
  toolbar = 'simple'
55
55
 
56
- CKEDITOR.inline(editor_div.id,
56
+ ckeditor = CKEDITOR.inline(editor_div.id,
57
57
  toolbar: toolbar
58
58
  allowedSnippets: $(editor_div).data('allowed-snippets')
59
59
  effectiveRegionType: region
@@ -106,6 +106,11 @@ initEditor = (editor_div) ->
106
106
  ]
107
107
  )
108
108
 
109
+ ckeditor.on 'insertElement', (event) ->
110
+ element = $(event.data.$)
111
+ if element.is('table')
112
+ element.removeAttr('style').addClass('table')
113
+
109
114
  initTemplates = ->
110
115
  templates = ((CKEDITOR.config['effective_regions'] || {})['templates'] || {})
111
116
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveCkeditor
2
- VERSION = '1.7.7'.freeze
2
+ VERSION = '1.7.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_ckeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.7
4
+ version: 1.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-10 00:00:00.000000000 Z
11
+ date: 2016-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sass-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Wraps the CKEditor Javscript library (http://ckeditor.com/) for use with
@@ -46,15 +46,20 @@ executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
+ - MIT-LICENSE
50
+ - README.md
51
+ - Rakefile
52
+ - app/assets/javascripts/HOW_TO_UPGRADE_CKEDITOR.txt
49
53
  - app/assets/javascripts/after_update.sh
54
+ - app/assets/javascripts/ckeditor/CHANGES.md
55
+ - app/assets/javascripts/ckeditor/LICENSE.md
56
+ - app/assets/javascripts/ckeditor/README.md
50
57
  - app/assets/javascripts/ckeditor/adapters/jquery.js
51
58
  - app/assets/javascripts/ckeditor/build-config.js
52
- - app/assets/javascripts/ckeditor/CHANGES.md
53
59
  - app/assets/javascripts/ckeditor/ckeditor.js
54
60
  - app/assets/javascripts/ckeditor/config.js
55
61
  - app/assets/javascripts/ckeditor/contents.css
56
62
  - app/assets/javascripts/ckeditor/lang/en.js
57
- - app/assets/javascripts/ckeditor/LICENSE.md
58
63
  - app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js
59
64
  - app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js
60
65
  - app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js
@@ -88,11 +93,11 @@ files:
88
93
  - app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png
89
94
  - app/assets/javascripts/ckeditor/plugins/magicline/images/icon-rtl.png
90
95
  - app/assets/javascripts/ckeditor/plugins/magicline/images/icon.png
96
+ - app/assets/javascripts/ckeditor/plugins/oembed/LICENSE.md
97
+ - app/assets/javascripts/ckeditor/plugins/oembed/README.md
91
98
  - app/assets/javascripts/ckeditor/plugins/oembed/icons/hidpi/oembed.png
92
99
  - app/assets/javascripts/ckeditor/plugins/oembed/icons/oembed.png
93
100
  - app/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.min.js
94
- - app/assets/javascripts/ckeditor/plugins/oembed/LICENSE.md
95
- - app/assets/javascripts/ckeditor/plugins/oembed/README.md
96
101
  - app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif
97
102
  - app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js
98
103
  - app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png
@@ -117,7 +122,6 @@ files:
117
122
  - app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif
118
123
  - app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif
119
124
  - app/assets/javascripts/ckeditor/plugins/widget/images/handle.png
120
- - app/assets/javascripts/ckeditor/README.md
121
125
  - app/assets/javascripts/ckeditor/skins/moonocolor/dialog.css.erb
122
126
  - app/assets/javascripts/ckeditor/skins/moonocolor/dialog_ie.css.erb
123
127
  - app/assets/javascripts/ckeditor/skins/moonocolor/dialog_ie7.css.erb
@@ -143,11 +147,11 @@ files:
143
147
  - app/assets/javascripts/ckeditor/skins/moonocolor/images/spinner.gif
144
148
  - app/assets/javascripts/ckeditor/skins/moonocolor/readme.md
145
149
  - app/assets/javascripts/ckeditor/styles.js
150
+ - app/assets/javascripts/effective_ckeditor.js
146
151
  - app/assets/javascripts/effective_ckeditor/before_init.js.erb
147
152
  - app/assets/javascripts/effective_ckeditor/init.js.coffee
148
- - app/assets/javascripts/effective_ckeditor.js
149
- - app/assets/javascripts/HOW_TO_UPGRADE_CKEDITOR.txt
150
153
  - app/assets/javascripts/vendor/jquery.cookie.js
154
+ - app/assets/stylesheets/effective_ckeditor.scss
151
155
  - app/assets/stylesheets/effective_ckeditor/layout.scss
152
156
  - app/assets/stylesheets/effective_ckeditor/overrides.scss
153
157
  - app/assets/stylesheets/effective_ckeditor/plugins/dialog.scss.erb
@@ -158,21 +162,20 @@ files:
158
162
  - app/assets/stylesheets/effective_ckeditor/plugins/oembed.scss.erb
159
163
  - app/assets/stylesheets/effective_ckeditor/plugins/showblocks.scss.erb
160
164
  - app/assets/stylesheets/effective_ckeditor/plugins/snippets.scss.erb
161
- - app/assets/stylesheets/effective_ckeditor.scss
165
+ - lib/effective_ckeditor.rb
162
166
  - lib/effective_ckeditor/engine.rb
163
167
  - lib/effective_ckeditor/version.rb
164
- - lib/effective_ckeditor.rb
165
168
  - lib/generators/effective_ckeditor/install_generator.rb
166
169
  - lib/generators/templates/README
167
170
  - lib/tasks/effective_ckeditor_tasks.rake
168
- - MIT-LICENSE
169
- - Rakefile
170
- - README.md
171
+ - spec/dummy/README.rdoc
172
+ - spec/dummy/Rakefile
171
173
  - spec/dummy/app/assets/javascripts/application.js
172
174
  - spec/dummy/app/assets/stylesheets/application.css
173
175
  - spec/dummy/app/controllers/application_controller.rb
174
176
  - spec/dummy/app/helpers/application_helper.rb
175
177
  - spec/dummy/app/views/layouts/application.html.erb
178
+ - spec/dummy/config.ru
176
179
  - spec/dummy/config/application.rb
177
180
  - spec/dummy/config/boot.rb
178
181
  - spec/dummy/config/database.yml
@@ -188,14 +191,11 @@ files:
188
191
  - spec/dummy/config/initializers/wrap_parameters.rb
189
192
  - spec/dummy/config/locales/en.yml
190
193
  - spec/dummy/config/routes.rb
191
- - spec/dummy/config.ru
192
194
  - spec/dummy/db/schema.rb
193
195
  - spec/dummy/public/404.html
194
196
  - spec/dummy/public/422.html
195
197
  - spec/dummy/public/500.html
196
198
  - spec/dummy/public/favicon.ico
197
- - spec/dummy/Rakefile
198
- - spec/dummy/README.rdoc
199
199
  - spec/dummy/script/rails
200
200
  - spec/dummy/spec_link
201
201
  - spec/effective_ckeditor_spec.rb
@@ -211,17 +211,17 @@ require_paths:
211
211
  - lib
212
212
  required_ruby_version: !ruby/object:Gem::Requirement
213
213
  requirements:
214
- - - '>='
214
+ - - ">="
215
215
  - !ruby/object:Gem::Version
216
216
  version: '0'
217
217
  required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  requirements:
219
- - - '>='
219
+ - - ">="
220
220
  - !ruby/object:Gem::Version
221
221
  version: '0'
222
222
  requirements: []
223
223
  rubyforge_project:
224
- rubygems_version: 2.0.14
224
+ rubygems_version: 2.4.5.1
225
225
  signing_key:
226
226
  specification_version: 4
227
227
  summary: Wraps the CKEditor Javscript library (http://ckeditor.com/) for use with