Closed longkt90 closed 11 years ago
The README in the master branch still corresponds to TinyMCE 3.5. See the tinymce-4 branch (https://github.com/spohlenz/tinymce-rails/tree/tinymce-4) for the updated README for TinyMCE 4.
At some point in the future I will promote TinyMCE 4 to the master branch, but I'm not prepared to demote the 3.5 branch just yet.
Ah, I still use the master branch (mce 3.5) with rails 4, but get error that advanced/theme.js not found. I did some search and removed the advanced theme when initializing mce and it works.
this is my gemfile: ruby '2.0.0' gem 'rails', '4.0.0' gem 'tinymce-rails'
Looks like you're depending on the latest gem version, which means you'll be on TinyMCE 4 by default.
You can either follow the TinyMCE 4 README I posted above, or depend on TinyMCE 3.5 by changing the gem line to:
gem 'tinymce-rails', '~> 3.5.8.3'
remove 'advanced theme' since tinymce 4 no longer support 'advanced theme'