Class: Para::AttributeField::WysiwygEditor

Inherits:
AttributeField::Base
  • Object
show all
Includes:
ActionView::Helpers::SanitizeHelper, ActionView::Helpers::TextHelper
Defined in:
lib/para/attribute_field/wysiwyg_editor.rb

Instance Method Summary collapse

Constructor Details

#initialize(model, options = {}) ⇒ WysiwygEditor

Returns a new instance of WysiwygEditor.



9
10
11
12
# File 'lib/para/attribute_field/wysiwyg_editor.rb', line 9

def initialize(model, options = {})
  options.reverse_merge!(type: 'text', field_type: 'wysiwyg_editor')
  super(model, options)
end