I have a very strang
Posted: 19 Mar 2008, 13:58
I have a very strange bug produced by the editor (mceEditor, Joomla 1.5). The textarea is way too large in height.
This is the generated HTML-snippet:
<td colspan="4">
<textarea id="content" name="content" cols="100" rows="100" style="width: 400px; hei
ght: 200px; display: none;" class="mceEditor"></textarea>
<span id="mce_editor_0_parent" class="mceEditorContainer">
<table class="mceEditor" style="width: 402px; height: 1986px;" border="0" cellpaddin
g="0" cellspacing="0" height="1986" width="402">
...
Take a look at the height-attribute of the table. Where does this come from? As you can see in the textarea-tag there is the "normal" height-attribute - I have not chenged anything according to these parameters.
This is the generated HTML-snippet:
<td colspan="4">
<textarea id="content" name="content" cols="100" rows="100" style="width: 400px; hei
ght: 200px; display: none;" class="mceEditor"></textarea>
<span id="mce_editor_0_parent" class="mceEditorContainer">
<table class="mceEditor" style="width: 402px; height: 1986px;" border="0" cellpaddin
g="0" cellspacing="0" height="1986" width="402">
...
Take a look at the height-attribute of the table. Where does this come from? As you can see in the textarea-tag there is the "normal" height-attribute - I have not chenged anything according to these parameters.