Feature #19852
closedhtmlArea RTE: Add support for editing lang attribute
0%
Description
Allow to assign lang attribute to elements.
1. Two new toolbar elements: language (drop-down list of languages) and showlanguagemarks (toggle button)
2. Language markup may be done with lang or xml:lang attribute or both.
3. Showing language marks is done through css attribute selector and will not work when the xml:lang attribute is used alone.
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 additional language property used, when set, as default language mark on the abbr/acronym element
6. Display of the language attribute value, if any, in the status bar is as: element[language-code]
7. 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
8. Localization of language labels in the drop-down list is obtained from localization extensions of Static Info Tables.
(issue imported from #M10182)
Files
Updated by Stanislas Rolland almost 16 years ago
Committed to SVN TYPO3core trunk (revision 4860).
Updated by Stanislas Rolland almost 16 years ago
The attached follow-up patch modifies the configuration of the language options.
By default, all languages found in table static_languages are listed. The list maybe shortened with RTE.default.buttons.language.restrictToItems = list-of-language-ISO-codes.
Property RTE.default.buttons.language.items is dropped.
Updated by Stanislas Rolland almost 16 years ago
Committed to SVN TYPO3core trunk (revision 5005).
Updated by Stanislas Rolland almost 16 years ago
Typographic error raises error in frontend.
Updated by Stanislas Rolland almost 16 years ago
Further follow-up committed to trunk (revision 5007).