Class: Para::AttributeField::WysiwygEditor
- Inherits:
-
AttributeField::Base
- Object
- AttributeField::Base
- Para::AttributeField::WysiwygEditor
- Includes:
- ActionView::Helpers::SanitizeHelper, ActionView::Helpers::TextHelper
- Defined in:
- lib/para/attribute_field/wysiwyg_editor.rb
Instance Method Summary collapse
-
#initialize(model, options = {}) ⇒ WysiwygEditor
constructor
A new instance of WysiwygEditor.
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 |