spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
815 stars 256 forks source link

Tinymce invoke error #254

Open ramachandranv opened 5 years ago

ramachandranv commented 5 years ago

I am getting following error on invoking tinymce <%= tinymce %>

undefined method `attributes_for' for #

poyzn commented 4 years ago

I also got this error, after some digging in the code found out that it searches for a language file in assets array if language parameter is not set in configuration. Setting language: en in config/tinymce.yml seems to solve the problem.