Sha256: a2577865b7f45c5c42f5528c1232a96f764944382a801c62ccccecc71292d0c4

Contents?: true

Size: 658 Bytes

Versions: 5

Compression:

Stored size: 658 Bytes

Contents

require 'simple_form'

require 'simple_form_markdown_editor/configuration'
require 'simple_form_markdown_editor/engine'
require 'simple_form_markdown_editor/markdown_editor_input'
require 'simple_form_markdown_editor/renderer'
require 'simple_form_markdown_editor/version'

require 'i18n'

# ---------------------------------------------------------------------

module SimpleForm
  class FormBuilder
    map_type :markdown_editor, to: SimpleFormMarkdownEditor::MarkdownEditorInput
  end
end

# ---------------------------------------------------------------------

I18n.load_path += Dir.glob(File.join(File.dirname(__FILE__), 'config', 'locales', '*.yml'))

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_form_markdown_editor-0.0.10 lib/simple_form_markdown_editor.rb
simple_form_markdown_editor-0.0.9 lib/simple_form_markdown_editor.rb
simple_form_markdown_editor-0.0.8 lib/simple_form_markdown_editor.rb
simple_form_markdown_editor-0.0.7 lib/simple_form_markdown_editor.rb
simple_form_markdown_editor-0.0.6 lib/simple_form_markdown_editor.rb