Sha256: 3f8e70a0f801324927de10644908a72deeec41ffeb5b128adf81537d5141221d

Contents?: true

Size: 344 Bytes

Versions: 12

Compression:

Stored size: 344 Bytes

Contents

basket[:script_calls]["setTinyMCEConfig"] = :tinymce_config
basket[:list_input_options] << "tinymce editor"

format :html do
  def tinymce_config
    Card::Rule.global_setting :tiny_mce
  end

  def tinymce_editor_input
    text_area :content, rows: 3, class: "tinymce-textarea d0-card-content",
                        id: unique_id
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
card-mod-tinymce_editor-0.18.1 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.18.0 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.17.0 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.16.0 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.15.6 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.15.5 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.15.4 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.15.3 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.15.2.pre1 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.15.1.1 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.15.1 set/all/tinymce_editor.rb
card-mod-tinymce_editor-0.15.0 set/all/tinymce_editor.rb