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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21ae0b551c0ca4139017410edee20e1a43628b3396547f881ee3c200c479bb7f
|
4
|
+
data.tar.gz: 3ad31e5961dca1f069a1806fadcf0c8aaa79d88ea0935bd662c94812b3a2b126
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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('
|
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'] },
|
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.
|
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-
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|