how to change a loaded stylesheet after initialisation of ckeditor
ckeditor
Solution
You could combine the code given in the answer to this SO question (How to dynamically add style sheets during runtime) with the accepted answer to this SO question (How to access the `body` element of a CKEditor instance in JavaScript).
Problem
Is it possible to dynamically change the loaded stylesheet for a ckeditor instance? i.e. i have a ckeditor instance with the following config: CKEDITOR.replace('_content', {"resize_enabled":true, "customConfig":"/kmt/js/ckeditor_config.js","contentsCss":"/custom/ckeditorstyle.css","contentWidth":"240"}); Not very complicated. Afterwards i want to allow the user to dynamically change the contentscss attribute...