effective_ckeditor 1.10.0 → 1.10.1

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
  SHA256:
3
- metadata.gz: dab54ee3409bba6aa9206b5707e7cd7d4ae45185f87a7c7cb17ee6468274df99
4
- data.tar.gz: 2a133310f47b376a643bc7110e634a02868afaf2e77d97863008a82d53d6278b
3
+ metadata.gz: 21ae0b551c0ca4139017410edee20e1a43628b3396547f881ee3c200c479bb7f
4
+ data.tar.gz: 3ad31e5961dca1f069a1806fadcf0c8aaa79d88ea0935bd662c94812b3a2b126
5
5
  SHA512:
6
- metadata.gz: 4506b6d1aa80af4a74e0552f2639bae7cecd6893d19828344a4961d7028dfbe94c7222ed9aa4e10ab46dcfe11c88d1bf62645416e891fb7099262fba2ba45e8a
7
- data.tar.gz: 67622405ddb11c9d383434571345fc5c759017897f25d7cf7e782e454a2f3f4c866b5995a545e6e6221e7f5e295f49af720d9d2c5ce108aecbd1b2c1e02e9a64
6
+ metadata.gz: dabd1eb92934a43775bc1e0767d00a1260a2e1109c27594ec74d085b469c659a47712737da94141f2306c6fded71eca3cbb6bca0b586c5269eaad80b1b23e79d
7
+ data.tar.gz: c1bd293ed776276b961ccd373a9f2c0784b51d46b0384761f52881e9885ed24faa78eea75176e8bffc014088ee8d21abee694749180148560641be45f6e3cde7
@@ -7,7 +7,7 @@ CKEDITOR.plugins.add 'effective_assets',
7
7
 
8
8
  OpenEffectiveAssetsSnippetDialog = {
9
9
  exec: (editor) ->
10
- if (command = editor.getCommand('effective_assets'))
10
+ if (command = editor.getCommand('effective_asset'))
11
11
  command.exec(editor)
12
12
  else if (command = editor.getCommand('ck_asset'))
13
13
  command.exec(editor)
@@ -22,9 +22,9 @@ init = ->
22
22
  $(window).on 'beforeunload', (event) -> promptToSaveIfDirtyWindow(event)
23
23
  $(window).on 'unload', (event) -> $.cookie('effective_regions_editting', '', {path: '/', expires: -1})
24
24
 
25
- $(document).on 'click', 'a', (event) ->
26
- unless $(event.currentTarget).closest('.cke_inner,.cke_dialog').length > 0
27
- promptToSaveIfDirtyLink(event)
25
+ $(document).on 'click', 'a', (event) ->
26
+ unless $(event.currentTarget).closest('.cke_inner,.cke_dialog,.cke_widget_wrapper').length > 0
27
+ promptToSaveIfDirtyLink(event)
28
28
 
29
29
  ckeditors.each ->
30
30
  editor_div = $(this)
@@ -91,7 +91,7 @@ initEditor = (editor_div) ->
91
91
  '/',
92
92
  { name: 'definedstyles', items: ['Format'] },
93
93
  { name: 'links', items: ['Link', 'Unlink', '-', 'Anchor'] },
94
- { name: 'insert', items: ['Image', 'oembed'] },
94
+ { name: 'insert', items: ['Image', 'EffectiveAssets', 'oembed'] },
95
95
  { name: 'lists', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent'] },
96
96
  { name: 'insert2', items: ['Table', 'EffectiveReferences', 'Blockquote', 'HorizontalRule', 'PageBreak'] },
97
97
  { name: 'colors', items: ['TextColor', 'BGColor'] },
@@ -1,3 +1,3 @@
1
1
  module EffectiveCkeditor
2
- VERSION = '1.10.0'.freeze
2
+ VERSION = '1.10.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_ckeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.10.1
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: 2019-08-06 00:00:00.000000000 Z
11
+ date: 2019-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails