New to Rails and you started probably with the hardest cracker by my
opinion ;-)
CK loads setting dynamical when it is loaded into browser. Which can not
be done right with assets pipeline.
If you read documentation on github you will see this:
----------
Customize ckeditor
In order to configure the ckeditor default options, create files:
app/assets/javascripts/ckeditor/config.js
app/assets/javascripts/ckeditor/contents.css
----------
It should probably work. I don't use this gem.
I kinda made CK work by myself and I put config files directly to public
folder (I can have multiple configs for multiple sites). Location of
configuration files can be set in javascript when object is initialized.
by
TheR
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d8619aa42f7669162421235679b002f7%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment