Sha256: 1192b8c59a256d0853a3ff3dadd4fc3e4d74833667635efc2b2760a1dae0ee36

Contents?: true

Size: 241 Bytes

Versions: 5

Compression:

Stored size: 241 Bytes

Contents

format :html do
  view :editor do |args|
    args[:ace_mode] ||= "html"
    text_area :content, rows: 5,
                        class: "card-content ace-editor-textarea",
                        "data-ace-mode" => args[:ace_mode]
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.20.4 mod/ace_editor/set/abstract/ace_editor.rb
card-1.20.3 mod/ace_editor/set/abstract/ace_editor.rb
card-1.20.2 mod/ace_editor/set/abstract/ace_editor.rb
card-1.20.1 mod/ace_editor/set/abstract/ace_editor.rb
card-1.20.0 mod/ace_editor/set/abstract/ace_editor.rb