Skip to content

lemmycaution/editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Editor

Install

add below line into Gemfile

gem "editor", '~> 0.0.5'

then run

rails g editor:install

Configuration

open config/initializers/editor.rb and add model names you want to use editor in active admin

Notes

editor built on active admin, so you have to add active_admin.css and active_admin.js into assets precompile path if you didn’t already!

Update from 0.0.1

remove below file from config/initializers

  • editor_active_admin.rb

remove below lines from assets precompile path

  • ace/ace.js

  • ace/mode-html.js

  • ace/theme-tomorrow_night.js

add below lines into assets precompile path

  • tinymce/themes/advanced/skins/cirkuit/ui.css

  • tinymce/themes/advanced/skins/cirkuit/content.css

  • tinymce/themes/advanced/skins/cirkuit/dialog.css

About

wyswyg and code editor for active admin

Resources

Stars

Watchers

Forks

Packages

No packages published