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

Extended by:
AbstractFormat
Defined in:
card/tmpsets/set/mod012-card-mod-edit/type/plain_text.rb,
card/tmpsets/set/mod008-card-mod-format/type/plain_text.rb,
card/tmpsets/set/mod011-card-mod-edit/type/plain_text.rb,
card/tmpsets/set/mod007-card-mod-format/type/plain_text.rb

Instance Method Summary collapse

Instance Method Details

#input_typeObject



9
10
11
# File 'card/tmpsets/set/mod008-card-mod-format/type/plain_text.rb', line 9

def input_type
  :text_area
end

#input_type_content_optionsObject



9
10
11
# File 'card/tmpsets/set/mod012-card-mod-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 'card/tmpsets/set/mod008-card-mod-format/type/plain_text.rb', line 13

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