[TYPO3-rte] Buttons for HTML phrase tags (cite, dfn, samp, q, kbd, code, ...)

Joerg Wagner [DigiLog] news.netfielders.de at digilog.de
Mon Jan 18 17:08:02 CET 2010


Filed a bug report now, so the issue won't get lost:
http://bugs.typo3.org/view.php?id=13282

Cheers, Jörg.


schrieb Joerg Wagner [DigiLog] am 11.01.2010 12:49:
> Hi Stanislas,
>
> thanks for taking the time to help. Although I searched the manual I did
> not find the correct passage. Maybe this problem could be added to the
> manual as an additional hint under the topic "FAQ: Why can't I get all
> buttons to be displayed?":
> 5. If the inline elements buttons (dfn, cite, code,...) and the dropdown
> list of inline elements don't show up, make sure to activate "Enable
> additional inline elements" in Extension Manager.
>
>
> _Important:_
> Now that I get the inline elements buttons and the dropdown box I found
> a bug in the evaluation of
> page.RTE.default.buttons.formattext.restrictTo
>
> This setting is ignored because of a copy and paste error in
> /typo3/sysext/rtehtmlarea/extensions/InlineElements/class.tx_rtehtmlarea_inlineelements.php
>
> (At least it is ignored as long as you don't also set the param
> "restrictToItems"!)
>
> Around line 164 this change needs to be made:
> OLD
> // Restriction clause
> if ($this->thisConfig['buttons.']['formattext.']['restrictToItems']) {
> NEW
> // Restriction clause
> if ($this->thisConfig['buttons.']['formattext.']['restrictTo']) {
>
> It's a nowbrainer, so do you need a bug report for that?
>
> Cheers, Jörg.
>
>
>
> schrieb Stanislas Rolland am 10.01.2010 22:21:
>> Joerg Wagner [DigiLog] a écrit :
>>> Hi all,
>>>
>>> quite sure you are all sick and tired of this kind of question, but I
>>> am quite experienced with htmlArea RTE but find myself helpless after
>>> many trials.
>>>
>>> My problem are the HTML phrase tags like cite, dfn, samp, q, kbd,
>>> code,...
>>> I tried to activate the available RTE buttons (citation, definition,
>>> sample, ...) for these tags but did not succeed.
>>
>> You need to check the "Enable additional inline elements" in the
>> Extension Manager.
>>
>> The reason for this is that these buttons behave slightly differently
>> than the default six buttons. See the manual for details.
>>
>> Regards,
>> Stanislas
>>


More information about the TYPO3-project-rte mailing list