Does anybody know how to set the size of the window that pops up when we press the "Preview" button in the CKEditor toolbar?
I see that this question has been asked in past topics, but never answered.
If possible, I would like to have as much control as possible over the preview window.. position, size, CSS, etc.
I see that this question has been asked in past topics, but never answered.
If possible, I would like to have as much control as possible over the preview window.. position, size, CSS, etc.

Re: Size of Preview Window
var iWidth = 640, // 800 * 0.8, iHeight = 420, // 600 * 0.7, iLeft = 80; // (800 - 0.8 * 800) /2 = 800 * 0.1. try { var screen = window.screen; iWidth = Math.round( screen.width * 0.8 ); iHeight = Math.round( screen.height * 0.7 ); iLeft = Math.round( screen.width * 0.1 ); }