[TYPO3-project-formidable] renderlet TinyMCE: spellchecker plugin: if you click the button the position changes

Hauke Hain newgrp at googlemail.com
Wed Feb 25 14:35:45 CET 2009


Hello,

if I click the spellcheck button the position is changed to the left.

I use this in my HTML-Template:
<table style="width:610px;"><tr><td 
style="width:110px;vertical-align:top;">{myText.label}</td><td>{myText.input}</td></tr></table>

and in the XML a tinyMCE renderlet with the name "myText".

You can also achieve the same result without a template, if you add to your 
stylesheet this:
label{display:block;float:left;width:110px;}

If you click the ABC-Button the Editor gets nearer to the left.
If I look throug the sourcecode nothing seems to have changed, if I use 
Firebug in Firefox a mysterious HTML line is added:
<div style="position: relative;"/>
Right after the span and the hidden textarea.

If I delete this line everything goes to normal, but I didn't find the 
JavaScript line where this HTML line is included.

In Firefox I get this div only once, in the IE as often as I click the 
button.


My workaround so that the position doesn't change is a new line of CSS:
.mceEditor div{display:inline;}
The result ist, that the div doesn't use a full line anymore. It doesn't 
content anything, so it is not remarkable.


If you have the same experiences and know a better solution of this problem, 
please let me know.

Regards,
Hauke



More information about the TYPO3-project-formidable mailing list