Project

editor

0.0
No commit activity in last 3 years
No release in over 3 years
wyswyg and code editor for active admin
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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