kolo 0.7.6 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6a39218f422a4b340ecdcf07d4e8c0854eef7b6
4
- data.tar.gz: 88289a7d8c26f9e62267fb2a220aa5dbf561864a
3
+ metadata.gz: 45eb80b2835841128389a7f756c4eff7788a9cf8
4
+ data.tar.gz: d1b60b0010fb3e541bdd04c6e0822801da3cf36e
5
5
  SHA512:
6
- metadata.gz: 6270a310819302ae261a332297efc6d5c597a9c93cf3a8bec3f9ec510cf4dcc8f90f9f83caaaf6f95caf1f7afce4c228c791ba0fb9b8c5f99c502b2889976b60
7
- data.tar.gz: 70d2bd2edad47d66f05a7f203ae445af5b4bde5d5041f3e0b61bed488c4710141a00e8146b87b7b80aa578041532be705db5fbb8bf21ab6f7ca832200a3097a4
6
+ metadata.gz: 30e821b218929cf8462869e137cd6561908f590cf4c4dd7c86975d0c0a67e3ade8d2815e2ee1458727a2eaceb8c812be8a55641b74afe262b3dce2c2039d9095
7
+ data.tar.gz: b29f2176e97e068f23c73f7261d4592cce1ec2b4747743b277cc2144e96941a4a075c13040ff20cff55df85a3dfcab0cd68ca35216e398b79fe526438238a399
@@ -204,7 +204,7 @@ ko.bindingHandlers.wysiwyg =
204
204
  init: (element, valueAccessor, allBindingsAccessor)->
205
205
  value = ko.utils.unwrapObservable valueAccessor()
206
206
  $(element).attr('id', "ckeditor-#{Math.floor((Math.random() * 100000) + 10000)}") unless $(element).attr('id')?
207
- editor = CKEDITOR.replace(element)
207
+ editor = CKEDITOR.replace element, { allowedContent: true }
208
208
  document.recalc() if document.recalc?
209
209
 
210
210
  editor.on 'change', (evt)->
data/lib/kolo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kolo
2
- VERSION = "0.7.6"
2
+ VERSION = "0.7.7"
3
3
  end
@@ -321,7 +321,9 @@
321
321
  if ($(element).attr('id') == null) {
322
322
  $(element).attr('id', "ckeditor-" + (Math.floor((Math.random() * 100000) + 10000)));
323
323
  }
324
- editor = CKEDITOR.replace(element);
324
+ editor = CKEDITOR.replace(element, {
325
+ allowedContent: true
326
+ });
325
327
  if (document.recalc != null) {
326
328
  document.recalc();
327
329
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kolo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahoul Baruah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-02 00:00:00.000000000 Z
11
+ date: 2014-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler