Sha256: ca08cb71ade7096f2b2d32247c5988186318a98f380488c05dfd3c376c27ef16
Contents?: true
Size: 474 Bytes
Versions: 38
Compression:
Stored size: 474 Bytes
Contents
module Locomotive class MarkdownInput < Locomotive::RteInput def input(wrapper_options) input_html_options[:class] << 'form-control' toolbar_html + @builder.text_area(attribute_name, input_html_options) end def toolbar_html template.render( partial: 'locomotive/shared/rte/markdown_toolbar', locals: { wysihtml5_prefix: wysihtml5_prefix, image_popover: image_popover, }) end end end
Version data entries
38 entries across 38 versions & 1 rubygems