Class: Formalist::Elements::RichTextArea

Inherits:
Field show all
Defined in:
lib/formalist/elements/standard/rich_text_area.rb

Instance Attribute Summary

Attributes inherited from Formalist::Element

#children, #errors, #name

Instance Method Summary collapse

Methods inherited from Field

#fill, #to_ast

Methods inherited from Formalist::Element

#==, build, fill, #fill, #initialize, #to_ast, #type

Methods included from Formalist::Element::ClassInterface

#attribute, #attributes_schema, #type

Constructor Details

This class inherits a constructor from Formalist::Element

Instance Method Details

#attributesObject

FIXME: it would be tidier to have a reader method for each attribute



14
15
16
# File 'lib/formalist/elements/standard/rich_text_area.rb', line 14

def attributes
  super.merge(embeddable_forms: embeddable_forms_config)
end

#inputObject



18
19
20
# File 'lib/formalist/elements/standard/rich_text_area.rb', line 18

def input
  input_compiler.(@input)
end