spohlenz / tinymce-rails

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

Fixed error no route match skin.min.css.map #242

Closed pulkit21 closed 6 years ago

pulkit21 commented 6 years ago

Getting error in version 4.7.9 ActionController::RoutingError (No route matches [GET] "/assets/tinymce/skins/lightgray/skin.min.css.map") Reference

spohlenz commented 6 years ago

The request to skin.min.css.map is Chrome devtools attempting to fetch the source map file, which tinymce-rails does not package (as it does not come as part of the Community download from https://www.tinymce.com/download/).

I believe the correct fix would be to have TinyMCE (i.e. in https://github.com/tinymce/tinymce) remove those source map lines as part of their build process. However I would also accept a PR that strips out these lines as part of the update task in https://github.com/spohlenz/tinymce-rails/blob/master/Rakefile.

Faq commented 2 years ago

they kinda removed it in TinyMCE 5.2.1