Class: Para::AttributeField::WysiwygEditor
- Includes:
- ActionView::Helpers::SanitizeHelper, ActionView::Helpers::TextHelper
- Defined in:
- lib/para/attribute_field/wysiwyg_editor.rb
Instance Attribute Summary
Attributes inherited from Base
#field_method, #field_type, #model, #name, #options, #type
Instance Method Summary collapse
-
#initialize(model, options = {}) ⇒ WysiwygEditor
constructor
A new instance of WysiwygEditor.
Methods inherited from Base
#attribute_column_path, #determine_name_and_field_method!, #excerptable_value?, #field_name, field_option, #field_options, field_types, #parse_input, register, #searchable?, #type?, #value_for
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, = {}) .reverse_merge!(type: 'text', field_type: 'wysiwyg_editor') super(model, ) end |