Sha256: 772bc62636387f81bf320c24fba8d0b8dd4a0783ccc28d7da1fa94cee3673e65

Contents?: true

Size: 352 Bytes

Versions: 3

Compression:

Stored size: 352 Bytes

Contents

module CustomInputs
  class MarkdownEditorInput < SimpleForm::Inputs::StringInput
    include UiBibz::Ui::Core::Forms::Textareas

    def input(wrapper_options)
      options = @options.merge({ builder: @builder })
      UiBibz::Ui::Core::Forms::Textareas::MarkdownEditorField.new(attribute_name, options, input_html_options).render
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ui_bibz-2.0.0.alpha28 app/inputs/custom_inputs/markdown_editor_input.rb
ui_bibz-2.0.0.alpha27 app/inputs/custom_inputs/markdown_editor_input.rb
ui_bibz-2.0.0.alpha26 app/inputs/custom_inputs/markdown_editor_input.rb