Closed tsankaste closed 1 year ago
Try first migrate to latest 5.x, that would be 5.10.7 and if all works then 6.1. Step by step. And with rails 6.1 using Sprockets 4? Project is publicly available, so can check it out?
Check that you don't have any precompiled assets in public/assets
.
You may also need to clear your Sprockets cache:
bundle exec rake tmp:clear:cache
On the second attempt clearing the cache and removing everything in app/assets/builds
did the job. Hopefully it goes well in production as well. Thank you!
I am using rails 6.1.7.3 and tried to upgrade tinymce-rails from 5.2.0 to 6.4.2.
With tinymce-rails 5.2.0 I was linking the asset in my manifest.js file:
//= link tinymce-jquery.js
But after upgrading to 6.4.2 it tells me the file could not be found:
I removed the line from my manifest and included tinymce_assets directly in my view file:
= tinymce_assets
The theme.js file says it has version 5.10.2 and it seems to me the toolbar errors and 'TypeError: n.ui.isDisabled is not a function' come from this.