activeadmin-settings 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,14 +5,16 @@ enable_redactor = ->
|
|
5
5
|
# the problem is that not current redactors are not
|
6
6
|
# clickable after init.
|
7
7
|
|
8
|
-
window.redactor_settings
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
8
|
+
unless window.redactor_settings
|
9
|
+
window.redactor_settings = {}
|
10
|
+
|
11
|
+
window.redactor_settings["buttons"] = [ 'html', '|',
|
12
|
+
'formatting', '|',
|
13
|
+
'bold', 'italic', 'deleted', '|',
|
14
|
+
'unorderedlist', 'orderedlist', 'outdent', 'indent', '|',
|
15
|
+
'image', 'video', 'file', 'table', 'link', '|',
|
16
|
+
'alignleft', 'aligncenter', 'alignright', 'justify', '|',
|
17
|
+
'fullscreen' ]
|
16
18
|
|
17
19
|
# after tab was clicked there is a workaround to turn on redactor
|
18
20
|
$('#settings_tabs').bind 'easytabs:after', (event, $clicked, $targetPanel, settings) ->
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -103,7 +103,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
segments:
|
105
105
|
- 0
|
106
|
-
hash:
|
106
|
+
hash: 3238340050457452999
|
107
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
108
|
none: false
|
109
109
|
requirements:
|