Hi I know there is the ability to link css to the editor with:
CKEDITOR.config.contentsCss = '/mycustom.css';
However, I allow the user to change the CSS on the same page as the content. It polls every 10 seconds and destorys the old ckeditor instance and creates a new one.
The problem is that the css is not saved to a file, it is inline...so how would I add this to ckeditor on each refresh?
I would need to save the css in the css editing window as text, and then parse it to the ckeditor instance. is there a particular method to do this (specifically talking with regards to CKEditor 4).
Would I have to pass the variable like so:
CKEDITOR.config.contentsCss = &myvar;
Is that possible?