tinymce-rails icon indicating copy to clipboard operation
tinymce-rails copied to clipboard

document base not get update when config.tinymce.base changes

Open Ehekatl opened this issue 8 years ago • 0 comments

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.

Ehekatl avatar Jan 18 '17 13:01 Ehekatl