glebtv-ckeditor 4.2.1.3 → 4.2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/rails_admin/main/_form_ckeditor.html.haml +4 -1
- data/lib/ckeditor/tasks.rake +0 -1
- data/lib/ckeditor/version.rb +1 -1
- data/lib/glebtv-ckeditor.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: 2dfeda36417dd95cbab911148d637218f7d4e0c2
|
4
|
+
data.tar.gz: 4b6514580e1bdfd2c1b62eb706fa51f03ac141b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f83bee00073a0ab4ce7c96a95a0f80856e62614e1b5b2de473a92e362e80dfab9ad71d5c04f416a18281823ca6b39ed723cc1fca12d3c994e57d14bd91ee7b6
|
7
|
+
data.tar.gz: 9fafcc079714c60cd8dbc5a3daedcbef84312f11f231d3f43ca2a68509c4045504f4e939e81457d851fdead247a7ac6f838f1e728c92fd68228878fb89206e89
|
@@ -1,4 +1,7 @@
|
|
1
1
|
= javascript_include_tag "ckeditor/init"
|
2
2
|
|
3
|
-
|
3
|
+
- if field.respond_to? :form_value
|
4
|
+
= form.cktext_area field.method_name, field.html_attributes.reverse_merge(value: field.form_value )
|
5
|
+
- else
|
6
|
+
= form.cktext_area field.method_name, field.html_attributes.reverse_merge((hdv = field.html_default_value).nil? ? { :value => field.formatted_value } : { :value => hdv })
|
4
7
|
|
data/lib/ckeditor/tasks.rake
CHANGED
data/lib/ckeditor/version.rb
CHANGED
data/lib/glebtv-ckeditor.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require 'ckeditor'
|
1
|
+
require 'ckeditor'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glebtv-ckeditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.1.
|
4
|
+
version: 4.2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GlebTv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mime-types
|