effective_bootstrap 0.9.35 → 0.9.36
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94b89263c7cf0d7564203f9559a68cfdbd2b07746a89f35628f0555162d2e898
|
4
|
+
data.tar.gz: dcee74c0acec05c3d0a7786e26b1ecf9f2a0468aeb1057cac836968ecf2880e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40bff96ef02ba73728037aded9304d3e8b8f630b4916c64788ca8ab417e5630ed15415a5f70fa831ee3f7af73703698276a3b0c463d874b8f94bdfabe365cefa
|
7
|
+
data.tar.gz: c3865baf35793093b672a90da1e191d3d31e8ab1f97677927cfa33cc89d522493c255d9de109d1b1c6b815867d6d65065a43bd41fee28aca11a134a9264cf19d
|
@@ -6,9 +6,9 @@ module Effective
|
|
6
6
|
def self.defaults
|
7
7
|
{
|
8
8
|
active_storage: nil,
|
9
|
-
css: '/assets/article_editor/',
|
9
|
+
css: ['/assets/article_editor/arx-frame.min.css'],
|
10
10
|
custom: {
|
11
|
-
css: ['/assets/
|
11
|
+
css: ['/assets/effective_bootstrap_article_editor.css']
|
12
12
|
},
|
13
13
|
classes: {
|
14
14
|
body: 'article-editor-body',
|
@@ -40,7 +40,7 @@ module Effective
|
|
40
40
|
'12': 'col-sm-12'
|
41
41
|
}
|
42
42
|
},
|
43
|
-
plugins: ['blockcode', 'cellcolor', 'imageposition', 'imageresize', 'inlineformat', 'removeformat', 'reorder', 'style'],
|
43
|
+
plugins: ['blockcode', 'cellcolor', 'imageposition', 'imageresize', 'inlineformat', 'listitem', 'removeformat', 'reorder', 'style'],
|
44
44
|
quote: {
|
45
45
|
template: '<blockquote><p></p></blockquote>'
|
46
46
|
},
|
@@ -75,7 +75,15 @@ module Effective
|
|
75
75
|
end
|
76
76
|
|
77
77
|
def input_js_options
|
78
|
-
self.class.defaults.merge(active_storage: active_storage)
|
78
|
+
self.class.defaults.merge(active_storage: active_storage, custom: { css: custom_css })
|
79
|
+
end
|
80
|
+
|
81
|
+
def custom_css
|
82
|
+
[
|
83
|
+
(@template.asset_pack_path('application.css') if @template.respond_to?(:asset_pack_path)),
|
84
|
+
(@template.asset_path('application.css') if @template.respond_to?(:asset_path)),
|
85
|
+
('/assets/effective_bootstrap_article_editor.css')
|
86
|
+
]
|
79
87
|
end
|
80
88
|
|
81
89
|
def active_storage
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.36
|
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: 2021-
|
11
|
+
date: 2021-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|