Module: NewCkeditor::RailsExt::ViewHelper

Extended by:
ActiveSupport::Concern
Defined in:
lib/new_ckeditor/rails_ext/view_helper.rb

Instance Method Summary collapse

Instance Method Details

#ckeditor_tag(name, content = nil, options = {}) ⇒ Object



6
7
8
# File 'lib/new_ckeditor/rails_ext/view_helper.rb', line 6

def ckeditor_tag(name, content = nil, options = {})
  NewCkeditor::Editor.new(self, options).render_tag(name, content)
end