effective_ckeditor 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ckeditor/plugins/effective_menus/plugin.js.coffee +1 -0
- data/app/assets/javascripts/ckeditor/plugins/effective_regions/plugin.js.coffee +1 -0
- data/app/assets/stylesheets/effective_ckeditor/menu_editor.scss +3 -5
- data/lib/effective_ckeditor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d723a58460d5bcebc72140f305f4d7a07d9988c5
|
4
|
+
data.tar.gz: 287e999e4684a9277edd3d00cd690968ee162439
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c7a3afd1178f8ab36887d8ca4c507df2189f8ac9c0e77bd16e42dfeb785ed732c033b680997a94a2bc1eaaa469f3a5dcdc248678be622a0adeb1e9a57db74d1
|
7
|
+
data.tar.gz: df6f2fc29d5244b3ab531f6dd6d6925706de233bcf4ce2fe4badb7853fa7ee1a2b31a933e656b71c0901f57d0295e7121b092f41ec56c61c798cc3c0885b8c9c
|
@@ -422,6 +422,7 @@ CKEDITOR.plugins.add 'effective_menus',
|
|
422
422
|
commit: (element) ->
|
423
423
|
if this.getDialog().getValueOf('item', 'source') == 'Divider'
|
424
424
|
element.children('.menu-item').children("input[name$='[special]']").val('divider')
|
425
|
+
element.children('a').html('')
|
425
426
|
else if this.getElement().isVisible()
|
426
427
|
element.children('.menu-item').children("input[name$='[special]']").val(this.getValue())
|
427
428
|
else
|
@@ -1,7 +1,4 @@
|
|
1
|
-
.effective-menu.dragging
|
2
|
-
cursor: move !important; // I'm having trouble getting the cursor working
|
3
|
-
li, a, * { cursor: move !important; }
|
4
|
-
|
1
|
+
.effective-menu.dragging {
|
5
2
|
> .actions {
|
6
3
|
.remove-item { display: inline-block; }
|
7
4
|
}
|
@@ -9,12 +6,13 @@
|
|
9
6
|
|
10
7
|
.effective-menu {
|
11
8
|
position: relative;
|
9
|
+
|
12
10
|
border: 1px dotted #4195fc; // Match the effective_regions editable border color
|
13
11
|
|
14
12
|
min-width: 30px; // What to do with an empty menu...
|
15
13
|
min-height: 30px;
|
16
14
|
|
17
|
-
li.divider { height:
|
15
|
+
li.divider { min-height: 4px; min-width: 4px; }
|
18
16
|
.menu-item { display: none; } // under each li, Contains the form controls. Nothing to view here
|
19
17
|
|
20
18
|
// Sub-level placeholder
|
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.1.
|
4
|
+
version: 1.1.2
|
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-01-
|
11
|
+
date: 2015-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|