drg_default_html_editor 0.4.21 → 0.5.0
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 +4 -4
- data/README.md +3 -3
- data/lib/drg_default_html_editor/version.rb +1 -1
- data/lib/patches/drgcms_form_field.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f43670cbff0f1ea8c6fc13bb1c3d491f7538a67
|
|
4
|
+
data.tar.gz: 2faa10b1c9aad45288475bc6a853c7ea7612891e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b94110a8636be5dbd594be664ece50a3ec3b4c9bffc0af017ab5cb0731f5a592fcb987b432e16a2c2c4cbc4bc252a1ac755a830334b5d8e47dd3f0486ec796ca
|
|
7
|
+
data.tar.gz: bbda14e5d71b49a0000c99ec1ef3547dcfedf5f0d257ec99cd0d033adefe4b1820e381bab53e8be3ca6329400edc22a6a176e908feeb95ef112fbbe4c3d7be79
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DrgDefaultHtmlEditor
|
|
2
2
|
|
|
3
|
-
Default HTML editor and file manager plugin for DRG CMS. Since DRG CMS doesn't come with HTML editor
|
|
3
|
+
Default HTML editor and file manager plugin for DRG CMS. Since DRG CMS doesn't come with HTML editor, DrgDefaultHtmlEditor gem adds html_field and file_select data entry fields to DRG CMS forms.
|
|
4
4
|
|
|
5
5
|
DrgDefaultHtmlEditor consists of CK editor component and EL Finder file manager component.
|
|
6
6
|
|
|
@@ -35,7 +35,7 @@ Usage in Forms:
|
|
|
35
35
|
Optional configuration in Site document:
|
|
36
36
|
```yaml
|
|
37
37
|
html_editor: ckeditor
|
|
38
|
-
|
|
38
|
+
ckeditor:
|
|
39
39
|
config_file: /files/ck_config.js
|
|
40
40
|
css_file: /files/ck_css.css
|
|
41
41
|
file_select: elfinder
|
|
@@ -74,4 +74,4 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
74
74
|
Credits
|
|
75
75
|
-------
|
|
76
76
|
|
|
77
|
-
Damjan Rems: damjan dot rems at gmail dot com
|
|
77
|
+
Damjan Rems: damjan dot rems at gmail dot com
|
|
@@ -91,7 +91,7 @@ def render
|
|
|
91
91
|
# read configuration from site settings
|
|
92
92
|
ck_config = '/assets/ckeditor_config.js'
|
|
93
93
|
ck_css = '/assets/ckeditor_css.css'
|
|
94
|
-
ck = @parent.dc_get_site ? @parent.dc_get_site.params['
|
|
94
|
+
ck = @parent.dc_get_site ? @parent.dc_get_site.params['ckeditor'] : nil # site might not be available yet
|
|
95
95
|
if ck
|
|
96
96
|
ck_config = ck['config_file'] if ck['config_file']
|
|
97
97
|
ck_css = ck['css_file'] if ck['css_file']
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: drg_default_html_editor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Damjan Rems
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-05-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -52,8 +52,8 @@ dependencies:
|
|
|
52
52
|
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
|
-
description: 'DRG CMS: Default HTML editor
|
|
56
|
-
and
|
|
55
|
+
description: 'DRG CMS: Default HTML editor and file manager plugin. Package includes
|
|
56
|
+
of CK editor component and elFinder file manager component.'
|
|
57
57
|
email:
|
|
58
58
|
- damjan.rems@gmail.com
|
|
59
59
|
executables: []
|