[TYPO3] quote html code in rtehtmlarea

Tyler Kraft headhunterxiii at yahoo.ca
Tue Sep 18 12:09:36 CEST 2007


break it into multiple content items on a page... Some RTE text before 
the html code, and then if you want some more RTE text after it.



Uschi Renziehausen wrote:
> Hi Matyi and Krystian,
> 
> the fact, that you cannot write about entities in rtehtmlarea is to a 
> bug, that needs fixing:
> http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=3830
> Also see:
> http://bugs.typo3.org/view.php?id=5659
> 
> at Krystian: Why do you think that writing about code inside RTE is not 
> a good idea? Even if you use one of the extensions for that purpose, 
> what you get, is always blocks of code. But what, if you want to write 
> some explanations for that code? You are stuck!
> 
> Regards, Uschi
> 
> Krystian Szymukowicz wrote:
>> Matyi Gábor wrote:
>>> Hi All!
>>>
>>> I have a site where the contents are miscellanous tutorials, so the 
>>> contents contain program code, HTML code, CSS code etc. Unfortunately 
>>> I didn't found quote function in the rtehtmlarea text editor. As I 
>>> tried to quote the HTML code by hand so, that I paste it in html view 
>>> an I put a "pre" and "/pre" html tags to the begin and the end of the 
>>> quoted html code, the some tags in the html code hadn't appeared. 
>>> f.e. (div-s). As iItried to change the greater and less to it's 
>>> htmlentity the htmlarea changed the htmlentity return to greater and 
>>> less.
>>>
>>>
>>> Does anybody how could I to code HTML code with rtehtmlarea?
>>>
>>
>>
>> hi Matyi
>>
>> using rtehtmlarea to put code examples is not a good idea. There are 
>> some specialized extensions for that in TER. Try to search for keyword 
>> "highlight" there. Those extensions will even colorize your code 
>> examples, add linenumbers, highlight lines that are important etc.
>>
>> -- 
>> grtz
>> Krystian Szymukowicz


More information about the TYPO3-english mailing list