[TYPO3-RTE] [Typo3-rte] Wrap rtehtmlarea iframe's content in a DIV

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Jan 27 12:17:48 CET 2006


Stanislas Rolland schrieb am 23.12.2005 07:05:

>> I usually have my content in a <div class="content">. And in my CSS, I
>> specify the formats as ".content P ...". Now if I use rtehtmlarea, I
>> have to create a second CSS with the exact same settings, just without
>> the ".content" selector.
>>
>> My wish would be to instruct rtehtmlarea to wrap the textarea-content
>> inside some user-specified <div> so that I can use the same .css file
>> for the frontend output and for the rtehtmlarea dynamicCSS styles.
>>
>> Maybe this is already possible and I haven't found it?

> No, this is not possible. Perhaps if you could assign a class to the
> body tag of the contents of the editor? Then dynamicCSS could be
> instructed to ignore/skip that class selector? What do you think?

Hi Stanislas, I think I have overlooked your answer, sorry. I think that
might be a viable solution. Is this possible already?

Cheers,
Ernesto



More information about the TYPO3-project-rte mailing list