Textarea disappears when switching to source in IE 8/9
|Reported by:||pfibbe||Owned by:|
|Component:||UI : Source View||Version:|
When switching to 'Source' the textarea disappears. This is caused by the following code in /plugins/sourcearea/plugin.js:66:
textarea.hide(); textarea.setStyle( 'height', holderElement.$.clientHeight + 'px' );
Because of the hiding of the textarea the height of the holderElement.$ is reduced to 0 and so the textarea becomes invissible. I can't find a reason why this height would not be initialized BEFORE hiding the textarea, it it possible to do so?
var clientHeight = holderElement.$.clientHeight; textarea.hide(); textarea.setStyle( 'height', clientHeight + 'px' );
We are using the ckeditor in an 'absolute positioned environment', which is working fine, but on a rare occasion needs some adjustment which we put in a separate file. Since this will only be for the better of the ckeditor itself and won't effect any existing behaviour in other browsers it would be nice to have it fixed this way.
Tested on the nighlty build as well.
Change History (6)
comment:2 Changed 5 years ago by j.swiderski
- Status changed from new to pending
- Version 3.6.3 (SVN - trunk) deleted
comment:5 Changed 5 years ago by j.swiderski
- Resolution set to invalid
- Status changed from pending to closed