module ActionView::Helpers::FormHelper

Monkey patch the trix editor helper into Rails' FormBuilder

Public Instance Methods

trix_editor(object_name, method, options = {}) click to toggle source
# File lib/core_extensions/action_view/helpers/tags/trix_editor.rb, line 36
def trix_editor(object_name, method, options = {})
  Tags::TrixEditor.new(object_name, method, self, options).render
end