Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKEDITOR.timestamp does not work for CSS files #731

Closed
ghost opened this issue Aug 5, 2017 · 7 comments
Closed

CKEDITOR.timestamp does not work for CSS files #731

ghost opened this issue Aug 5, 2017 · 7 comments
Labels
resolution:invalid Not a valid issue (wrong request type, support requests, etc).

Comments

@ghost
Copy link

ghost commented Aug 5, 2017

Are you reporting a feature request or a bug?

Bug(?)

Check if the issue is already reported

I think it is a bit discussed here (but about config.js):
http://ckeditor.com/forums/CKEditor/Problem-with-config.js-not-updating

Provide detailed reproduction steps (if any)

  1. Exactly after ckeditor.js is executed run this: CKEDITOR.timestamp = 'some_number';
  2. So requests from ckeditor have new timestamp, for example: config.js?t=some_number
  3. But not CSS requests.. It is still: contents.css?t=H5SC

Expected result

contents.css?t=some_number

Actual result

contents.css?t=H5SC

Other details

  • Browser: FF, latest...
  • OS: Win x64
  • CKEditor version: 4.7
  • Installed CKEditor plugins: basic
@mlewand mlewand added the resolution:invalid Not a valid issue (wrong request type, support requests, etc). label Aug 7, 2017
@mlewand
Copy link
Contributor

mlewand commented Aug 7, 2017

The timestamp feature is set during compile-time. It's used to make sure that browser does not use resources from previous version of CKE.

You should just rebuild CKEditor and it will be changed, see Building CKEditor from Source Code.

@mlewand mlewand closed this as completed Aug 7, 2017
@ghost
Copy link
Author

ghost commented Aug 7, 2017

How then can I be sure that my app will reload config.js / styles.js / contents.css files of ckeditor?
I can edit config.js, styles.js, contents.css... and I do not need to rebuild ckeditor for that.
I even never built it myself.. I have downloaded custom bundle from site.

@ghost
Copy link
Author

ghost commented Aug 7, 2017

This question was already discussed:
https://stackoverflow.com/questions/14940452/force-ckeditor-to-refresh-config

And this was labelled as accepted answer... From your point of view it is not... So what is the solution then?

@ghost
Copy link
Author

ghost commented Aug 11, 2017

Any update on this?

@Capenus
Copy link

Capenus commented Dec 6, 2017

I have the same Issue. If you use config.contentsCss = ['contents.css', 'your_own_styles.css']; and make changes to your_own_styles.css, those changes arent reflected in the editor. Even if you set CKEDITOR.timestamp = 'v1.0.1'; to a new value.

@phil123456
Copy link

yes the timestamp trick does not work at all

@LiamDawe
Copy link

LiamDawe commented Sep 18, 2018

I'm also currently seeing this issue with JS files with the latest version of CKEditor, perhaps it has been broken completely? I can't get an updated config file to load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:invalid Not a valid issue (wrong request type, support requests, etc).
Projects
None yet
Development

No branches or pull requests

4 participants