tinymce-rails
tinymce-rails copied to clipboard
document base not get update when config.tinymce.base changes
I have dynamic assets path set like this:
config.tinymce.base = config.action_controller.asset_host.call + Rails.application.config.assets.prefix + "/tinymce"
in the compiled tinymce js I got:
window.tinymce = window.tinymce || {
base: "https://assets.*.com/assets/BQ9P2RZJEDX/tinymce",
suffix: ""
},
however, when the config changes, it won't get update, base won't get update unless I clean sprockets cache.