Closed jmuheim closed 11 years ago
It's possible that your project don't import redactor.
same here.... rails 3.2.8 redactor-rails 0.3.2
same here.... rails 3.2.8 redactor-rails 0.3.2 too redactor.min.js is loaded
chrome console says: Uncaught TypeError: Cannot read property 'mozilla' of undefined
a.paragraphy a.build a.init a (anonymous function) jQuery.extend.each jquery.js:632 jQuery.fn.jQuery.each jquery.js:254 jQuery.fn.redactor (anonymous function) config.js:9 fire jquery.js:1018 self.fireWith jquery.js:1128 jQuery.extend.ready jquery.js:417 DOMContentLoaded
Found the origin of the problem. The redactor versions before 8.2.2 are not compatible with jquery 1.9 (which is the actual version given by the jquery-rails gem). According to rubygems, the actual version of the gem is from September 4 2012, before the recent update redactor to 8.2.2. It is possible to use a previous version of jquery-rails, waiting for the gem to be actualized.
+1
With the newest version it works. Thanks.
I'm using Carrierwave/Mongoid and run exactly all the steps to install Redactor. Sadly, when wanting to use it on one of my textarea, simply nothing happens.
The textarea stays a plain old textarea. How can I try to track this down to the problem? Thank you.