How to resize CKEditor from javascript
I am using CKEditor 3.2, trying to change ckeditor width and height from javascript, I have used several methods, all unsatisfactory:
// doesnt work 1:
CKEDITOR.instances.myinstance.width = 500;
// doesnt work 2:
CKEDITOR.instances.myinstance.width = 500;
CKEDITOR.instances.myinstance.updateElement();
// doesnt work 3:
CKEDITOR.instances.myinstance.config.width = 500;
// doesnt work 4:
CKEDITOR.instances.myinstance.config.width = 500;
CKEDITOR.instances.myinstance.updateElement();
Does anyone know how to do this?
+2
a source to share