Module: Card::Set::Type::PlainText::HtmlFormat

Extended by:
AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod011-edit/type/plain_text.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/plain_text.rb

Instance Method Summary collapse

Instance Method Details

#input_typeObject



9
10
11
# File 'platypus/tmp/set/gem-defaults/mod004-format/type/plain_text.rb', line 9

def input_type
  :text_area
end

#input_type_content_optionsObject



9
10
11
# File 'platypus/tmp/set/gem-defaults/mod011-edit/type/plain_text.rb', line 9

def input_type_content_options
  ["text area", "text field", "ace editor"]
end

#view: coreObject



13
14
15
# File 'platypus/tmp/set/gem-defaults/mod004-format/type/plain_text.rb', line 13

view :core do
  process_content CGI.escapeHTML(_render_raw)
end