Project

epiceditor

0.0
No commit activity in last 3 years
No release in over 3 years
EpicEditor for Rails - Is a Ruby on Rails engine which adds a JavaScript Markdown Editor to Rails 4 with split fullscreen editing, live previewing, automatic draft saving, offline support, and more.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.4.4
~> 3.3.0

Runtime

~> 4.2.0
 Project Readme

EpicEditor for Rails

Gem Version Build Status Code Climate

EpicEditor for Rails - is a Ruby on Rails version of EpicEditor "An Embeddable JavaScript Markdown Editor", ready to drop right into your Rails 4 applications.

NOTE: EpicEditor for Rails version 0.2.2.1 simply adds EpicEditor to the asset pipeline. You can watch this repo to be notified when additional features are added. Additional customization is coming soon.

Installation

Add the following line to your Gemfile:

gem 'epiceditor', '~> 0.2.2'

bundle install and restart your server to make the files available.

Add the javascript file to app/assets/javascripts/application.js just above require_tree .

//= require epiceditor/epiceditor
//= require_tree .

In your application.css, include the css file:

/*
 *= require epiceditor
 */

If you prefer SCSS, add this to your application.css.scss file:

@import "epiceditor";

Mount the engine to your application by adding the following line to your config/routes.rb.

mount EpicEditor::Engine => "/"

Alternatively, if you only want EpicEditor to be available at a specific path change "/" to "/my_custom_path"

Bugs and Feature Requests

Have a bug or a feature request? Please open a new issue. Before opening an issue, please search for existing issues in this repo as well as the OscarGodson/EpicEditor repository.

Versioning

EpicEditor uses Semantic Versioning (ie: 0.2.2). EpicEditor for Rails version numbering will stay in sync with the EpicEditor version number, and be released in the form of 1.x.y.z, where 1.x.y is the release of EpicEditor, and z is the Rails patch version.

Troubleshooting

  • Verify the javascripts and stylesheets assets appear within your application's asset pipeline search path by running y Rails.application.config.assets.paths using rails console. You should see something similar to the following:

    .../epiceditor-0.2.2.1/vendor/assets/stylesheets
    .../epiceditor-0.2.2.1/vendor/assets/javascripts
    

Support

If you're having any problems with EpicEditor for Rails, feel free to open a new ticket. Go ahead and ask us anything and we'll try to help however we can. You can also see if there's someone available at the #epiceditor IRC channel on irc.freenode.net.

Who's Who?

EpicEditor for Rails is a project by AJ Acevedo
EpicEditor is a project by Oscar Godson