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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21d9ec2de6336e641335a332a6d8522df21c9978
4
- data.tar.gz: db97e0fc11f57c5402405d803257ddbf635f90e5
3
+ metadata.gz: d723a58460d5bcebc72140f305f4d7a07d9988c5
4
+ data.tar.gz: 287e999e4684a9277edd3d00cd690968ee162439
5
5
  SHA512:
6
- metadata.gz: 12ae3eca9db628a373311c8e12fbdb2d3b7d73ab757bab8dd46d90f87dc59c85da12508ee421446a967b626632a74cda67822e1c2880f1a707c5ec23e6f3f7ce
7
- data.tar.gz: d2158efe852a821921bff3f4e19feb9fbdf6a52f4c62898dca13120b2f87db1d92826b4d39270a064c6da4457584abb95a8d510d59f5b7e4727e57c91b00670d
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
@@ -63,6 +63,7 @@ SaveAll = {
63
63
  Exit = {
64
64
  exec: (editor) ->
65
65
  url = $.cookie('effective_regions_editting')
66
+ url ||= window.location.href.replace('?edit=true', '')
66
67
 
67
68
  if url != undefined && url.length > 0
68
69
  window.location = url
@@ -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: 3px; }
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
@@ -1,3 +1,3 @@
1
1
  module EffectiveCkeditor
2
- VERSION = '1.1.1'.freeze
2
+ VERSION = '1.1.2'.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.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-20 00:00:00.000000000 Z
11
+ date: 2015-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails