[TYPO3] HTMLAREA annoying issue

Tyler Kraft tyler.kraft at netefficiency.co.uk
Mon Apr 14 18:27:22 CEST 2008


Change it in the page tsconfig of the site root page. If you look into 
the manual for HTMLarea it'll show you the default setup typoscript for 
each version of the RTE (demo, typical, etc). Reading through this will 
give you an idea of how to overwrite this.

hth

CAnet // Canè Alessandro wrote:
> Hi again!
> Well, after the kind suggestion of Christian from Munich I've checked 
> TSConfig via the INFO module and I've seen that:
> 
> RTE.default.FE.proc.entryHTMLparser_db.removeTags = center, font, o:p, 
> sdfield, strike, u
> 
> is probably guilty of removing "underlines" and "colors" I insert in my 
> text...
> How can I disable this? I'd like to remove it simply through template 
> TSConfig but I can't  work it out (poor newbie)...
> 
> tnx
> 
> ------------------------
> Canè Alessandro
> 
> 
> ----- Original Message ----- From: "christian oettinger" 
> <christian.oettinger at gmx.de>
> Newsgroups: typo3.english
> To: <typo3-english at lists.netfielders.de>
> Sent: Sunday, April 13, 2008 5:29 PM
> Subject: Re: [TYPO3] HTMLAREA annoying issue
> 
> 
> Hmm, yes the configuration is quite complicated, but my advise stays:
> 
> Check TSConfig with info module. But this time look for "allowTags" and
> "removeTags" (!)- they are configured at more than one place, probably
> you can figure out, where the tag you use is stripped out.
> 
> I also do not know if your syntax in your configuration is correct.  I'd
> say:
> 
> allowTags = a, b, br, div, em, h1, h2, h3, h4, h5, h6, hr, i, img, li,
> link, ol, p, pre, span, strong, sub, sup, ul, u
> 
> instead of
> 
> allowTags ( a, b, br, div, em, h1, h2, h3, h4, h5, h6, hr, i, img, li,
> link, ol, p, pre, span, strong, sub, sup, ul, u )
> 
> Bu again: with info Tool you can see what actually IS SET in the end,
> not what you intended to set, so will you also find syntax mistakes.
> 
> 
> greetings from munich and good luck!
> 
> oe (christian)
> 
> 
> 
>> Hi Christian,
>> thanks for you hint but unfortunatelly it was not enough :-(
>>
>> In effect "titolo1" and "titolo2" are my css classes but what it's not
>> working here it's just the underline tag ("u" or "em") that's applied on
>> text by clicking on the toolbar button.
>> It seems typo3 rejects this tag...
>> Maybe because of something done by entryHTMLparser_db??? I don't really
>> deeply understand what this does but even removing it the result is the
>> same...
>>
>> I'll keep on trying!
>>
>> Thanks again, ciao
>>
>> ---------------------------------------------
>> canè alessandro
>>
>>
>> 2008/4/12, christian oettinger <christian.oettinger at gmx.de>:
>>> Hi,
>>>
>>> Usually disappearring  classes are stripped out by RTE because you do
>>> not have them expicitly allowed in proc.allowedClasses (not necessaryly
>>> DEFAULT.proc.alowedClasses!).
>>> In your config I can see you allow titolo1 and titolo2.
>>>
>>> I'd advise you to check PageTSConfig with info (web)module, so you can
>>> see what really lies on the page in the end and find maybe interfering
>>> standard configuration.
>>>
>>> hope this helps
>>>
>>> christian (oe)
>>>
>>>> Hi,
>>>> i'm getting crazy 'cause I can't make "underline" and custom colors
>>> work!!!
>>>> While typing I can apply underline style to selected text and my
>>> custom colors as well (RTE preview is fine), but, after saving, the
>>> system clears them!!
>>>> Funny is that this doesn' happen for my custom styles or BOLD or
>>> ITALIC, for example...
>>>> Surely I am doing somewhere wrong, but I can't find out where! :-(
>>>>
>>>>
>>>> the config I use is this:
>>>>
>>>> RTE.default {
>>>>    contentCSS = /fileadmin/templates/css/rte.css
>>>>    showTagFreeClasses = 1
>>>>    useCSS = 1
>>>> }
>>>> RTE.default.proc.allowedClasses = titolo1, titolo2
>>>>
>>>> RTE.colors {
>>>>    verdeScuro {
>>>>       name = verdeScuro
>>>>       value = #153903
>>>>    }
>>>>    verdeMedio {
>>>>       name = verdeMedio
>>>>       value = #92b780
>>>>    }
>>>>    verdeChiaro {
>>>>       name = verdeChiaro
>>>>       value = #b7c0b2
>>>>    }
>>>> }
>>>> RTE.default.colors = verdeScuro, verdeMedio, verdeChiaro
>>>>
>>>> RTE.default.proc {
>>>>  allowTagsOutside = hr
>>>>  allowTags ( a, b, br, div, em, h1, h2, h3, h4, h5, h6, hr, i, img,
>>> li, link, ol, p, pre, span, strong, sub, sup, ul, u )
>>>>  entryHTMLparser_db = 1
>>>>  entryHTMLparser_db {
>>>>   allowTags ( a, b, br, div, em, h1, h2, h3, h4, h5, h6, hr, i, img,
>>> li, link, ol, p, pre, span, strong, sub, sup, ul, u )
>>>>  }
>>>> }
>>>>
>>>> tnx for your kind help!
>>>>
>>>> -------------------------------
>>>> Canè Alessandro
>>> _______________________________________________
>>> TYPO3-english mailing list
>>> TYPO3-english at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>>
>>
>>
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list