Bug #83626
openCKEditor styling: CSS file changes are not visible because of cache handling
0%
Description
When styling the CKEditor editor (yaml file: editor:config:contentsCss:editor.css), the CSS file is being cached, so no further changes are visible unless I reopen the browser. Deleting typo3temp also did not work.
Updated by Jan Kornblum about 6 years ago
- Priority changed from Should have to Must have
- TYPO3 Version changed from 8 to 9
Still seems not have been solved (9.5.1). Using this workaround: https://stackoverflow.com/questions/43758574/css-file-in-rte-ckeditor-in-typo3-8-7-1-is-not-reloaded-after-modification
Updated by Benni Mack over 5 years ago
- Target version changed from next-patchlevel to Candidate for patchlevel
Updated by Rémy DANIEL over 5 years ago
- Related to Bug #88369: Ckeditor: customs plugins are not refreshed because of browser cache added
Updated by Rémy DANIEL over 5 years ago
When ckeditor loads its resources, it adds a "timestamp" parameter to the url of the resource:
This timestamp changes with every version of ckeditor: with ckeditor 4.11.1 it is "?t=IE8A".
But this timestamp is not added for contentsCss.
I think this should be reported in upstream ckeditor.
Loading of contentsCss is done here: https://github.com/ckeditor/ckeditor-dev/blob/4.11.1/core/tools.js#L346 (timestamp not appended to CSS url)
Loading of other resources uses this: See https://github.com/ckeditor/ckeditor-dev/blob/4.11.1/core/ckeditor_base.js#L177 (timestamp appended to resource url)
Updated by David Menzel over 3 years ago
This is still an issue in TYPO3 10.4.14!
I added some new CSS to an CSS file in contentsCss. The changes were not picked up from the BE editor.
After I cleared the browser cache the style was present in the BE.
Updated by Garvin Hicking about 2 months ago
- Has duplicate Bug #105320: TYPO3 does not apply cachebusting to RTE contentsCss added