Closed fred-wang closed 10 years ago
CKEditor don't support CSS max-width neitheir max-height. Because of this the best solution that I found to avoid the dialog window overflow the window was set a fix width for the preview:
html: "<div><p><strong>Preview</strong>:</p><p id=\"Preview\" style=\"width:250px; overflow:auto;\"></p></div>",
@fred-wang do you know a better solution for this problem?
What happens if you does not specify "width:250px; overflow:auto;" at all?
If that's a limitation of CKeditor, the best would be to ask the devs.
What happens if you does not specify "width:250px; overflow:auto;" at all?
It works OK for small equations as show below:
The problem is that the dialog window will change its size as the equation became long and for really long equations its overflow the screen as show below:
If that's a limitation of CKeditor, the best would be to ask the devs.
I will do that.
The TeXZilla dialog is resizable, but not the preview box: