Class: ActiveScaffold::Bridges::TinyMce
Defined Under Namespace
Modules: Helpers
Class Method Summary
collapse
prepare, run, stylesheets
Class Method Details
3
4
5
|
# File 'lib/active_scaffold/bridges/tiny_mce.rb', line 3
def self.install
ActionView::Base.class_eval { include ActiveScaffold::Bridges::TinyMce::Helpers }
end
|
.install? ⇒ Boolean
7
8
9
|
# File 'lib/active_scaffold/bridges/tiny_mce.rb', line 7
def self.install?
Object.const_defined? :TinyMCE
end
|
.javascripts ⇒ Object
11
12
13
|
# File 'lib/active_scaffold/bridges/tiny_mce.rb', line 11
def self.javascripts
['tinymce', 'jquery/tiny_mce_bridge']
end
|