[TYPO3-core] FYI: Added feature #10182: htmlArea RTE: Add support for editing lang attribute
Stanislas Rolland
typo3 at sjbr.ca
Mon Jan 26 15:41:55 CET 2009
FYI: The attached SVN patch was committed.
Type:
Feature
Problem:
There is currently no way for authors using the RTE to assign lang
attribute to elements.
Solution:
1. Add two new toolbar elements: language (drop-down list of languages)
and showlanguagemarks (toggle button)
2. The language drop-down list is used to add, change or remove language
attributes on an element. Language marking may be done with lang or
xml:lang attribute or both.
3. Localization of language labels in the drop-down list is obtained
from localization extensions of Static Info Tables.
4. The language marking drop-down list is also available in the image,
table/column/row/cell and acronym/abbreviation dialogues.
5. Acronym/abbreviation table has an additional language property which
is used, when set, as default language mark on the abbr/acronym element.
6. Showing language marks in the RTE may be toggled on and off using the
showlanguagemarks button. Showing language marks is done through css
attribute selector and will not work when the xml:lang attribute is used
alone. In browsers that support css attribute selectors (all but IE6), a
small icon is shown in front of the marked text (rule defined by skin).
In browsers that support css attribute value selectors (all but IE), the
icon is followed by the language code (rule added dynamically).
7. Display of the language attribute value, if any, in the status bar is
as follows: element[language-code].
8. Page TSConfig properties are:
RTE.default.buttons.language.items = list-of-language-iso-codes
RTE.default.buttons.language.prefixLabelWithCode = boolean
RTE.default.buttons.language.postfixLabelWithCode = boolean
RTE.default.buttons.language.useLangAttribute = boolean
RTE.default.buttons.language.useXmlLangAttribute = boolean
9. The manual is updated.
Notes:
Thanks to Technische Universität Ilmenau and Universität Erfurt for
sponsoring this feature. Many thanks to Ursula Renziehausen for her
invaluable support and inspiration, specifications, ideas and
validation, and patient testing.
Bugtracker references:
http://bugs.typo3.org/view.php?id=10182
Branches:
trunk (revision 4860)
Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_feature_10182_v4.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090126/683fed12/attachment-0001.txt
More information about the TYPO3-team-core
mailing list