Sha256: 7cf8029eb10d428cfde4f6650b3bd0fa0d9fc48975e99f83360e3af6cb5bc34a

Contents?: true

Size: 208 Bytes

Versions: 6

Compression:

Stored size: 208 Bytes

Contents

module MarkItZero
  module EditorHelper

    ActionView::Helpers::FormBuilder.class_eval do
      def markdown(conf, *opts)
        self.text_area(conf, :class => 'mark-it-zero')
      end
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mark_it_zero-0.3.2 app/helpers/mark_it_zero/editor_helper.rb
mark_it_zero-0.3.1 app/helpers/mark_it_zero/editor_helper.rb
mark_it_zero-0.3.0 app/helpers/mark_it_zero/editor_helper.rb
mark_it_zero-0.2.0 app/helpers/mark_it_zero/editor_helper.rb
mark_it_zero-0.1.1 app/helpers/mark_it_zero/editor_helper.rb
mark_it_zero-0.1.0 app/helpers/mark_it_zero/editor_helper.rb