Module: Card::Set::Abstract::AceEditor::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
tmpsets/set/mod009-ace_editor/abstract/ace_editor.rb

Instance Method Summary collapse

Instance Method Details

#ace_editor_inputObject



9
10
11
12
13
# File 'tmpsets/set/mod009-ace_editor/abstract/ace_editor.rb', line 9

def ace_editor_input
  text_area :content, rows: 5,
                      class: "d0-card-content ace-editor-textarea",
                      "data-ace-mode" => ace_mode
end

#ace_modeObject



15
16
17
# File 'tmpsets/set/mod009-ace_editor/abstract/ace_editor.rb', line 15

def ace_mode
  :html
end