Class: Activeadmin::Redactor::RedactorOpts
- Inherits:
-
Options
- Object
- Options
- Activeadmin::Redactor::RedactorOpts
show all
- Defined in:
- lib/activeadmin/redactor_opts.rb
Instance Method Summary
collapse
Methods inherited from Options
#initialize
Instance Method Details
#css ⇒ Object
18
19
20
|
# File 'lib/activeadmin/redactor_opts.rb', line 18
def css
opts[:css] || []
end
|
#focus ⇒ Object
14
15
16
|
# File 'lib/activeadmin/redactor_opts.rb', line 14
def focus
opts[:focus] === true
end
|
#fullpage ⇒ Object
10
11
12
|
# File 'lib/activeadmin/redactor_opts.rb', line 10
def fullpage
opts[:fullpage] === true
end
|
#iframe ⇒ Object
6
7
8
|
# File 'lib/activeadmin/redactor_opts.rb', line 6
def iframe
opts[:iframe] === true
end
|
#imageupload ⇒ Object
26
27
28
|
# File 'lib/activeadmin/redactor_opts.rb', line 26
def imageupload
opts[:imageupload] || false
end
|
#minheight ⇒ Object
22
23
24
|
# File 'lib/activeadmin/redactor_opts.rb', line 22
def minheight
opts[:minheight] || false
end
|
#plugins ⇒ Object
30
31
32
|
# File 'lib/activeadmin/redactor_opts.rb', line 30
def plugins
opts[:plugins] || []
end
|