Force CKEDITOR to refresh config

前端 未结 10 2306
鱼传尺愫
鱼传尺愫 2020-12-13 06:36

I created a cms application that use CKEDITOR and when I add some functionality to CKEDITOR I need to refresh some CKEDITOR .js /.css file.

But CKEDITOR force the

10条回答
  •  再見小時候
    2020-12-13 07:17

    For me setting CKEDITOR.timestamp = +new Date works super fine. I wrote it in a JS that will be loaded before any other CKEditor JS will be loaded (see my custom Drupal module).

    Now the query that is appended to the custom plugin or custom config JS gets refreshed every time I reload my browser. I guess that might work with custom CSS as well, but I didn't test that.

提交回复
热议问题