[TYPO3] quote html code in rtehtmlarea

Uschi Renziehausen typo3news at otherone.de
Thu Sep 20 21:13:13 CEST 2007


Hi Tyler,
Tyler Kraft wrote:
> 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.
This is not what I meant. I cannot make a content element for a single 
'word of code'. It should simply be possible to write about code inside 
RTE, it simply is a bug that is very annoying, if you need to write a 
lot aboute xml or html, as obviously is the case with Matyi.
Prosit, Uschi



> 
> 
> 
> 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