Skip to content

A Formtastic input component to render a SimpleMDE editor field in Active Admin used by Datarade.

License

Notifications You must be signed in to change notification settings

datarade/active_admin-markdown_editor

Repository files navigation

About

This repository contains a Formtastic input component to render a SimpleMDE editor field.

Example of the Component

Installation

  1. Add gem 'active_admin-markdown_editor' to your Gemfile and execute bundle.

  2. Append //= require active_admin/markdown_editor to your active_admin.js file.

  3. Append @import "active_admin/markdown_editor"; to your active_admin.scss file.

Usage

You can transform any input to a markdown editor by using the as parameter:

f.input 'About', as: :markdown_editor

About

A Formtastic input component to render a SimpleMDE editor field in Active Admin used by Datarade.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published