Project

General

Profile

Actions

Feature #19852

closed

htmlArea RTE: Add support for editing lang attribute

Added by Stanislas Rolland over 15 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-01-19
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

Actions #1

Updated by Stanislas Rolland over 15 years ago

Committed to SVN TYPO3core trunk (revision 4860).

Actions #2

Updated by Stanislas Rolland about 15 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.

Actions #3

Updated by Stanislas Rolland about 15 years ago

Committed to SVN TYPO3core trunk (revision 5005).

Actions #4

Updated by Stanislas Rolland about 15 years ago

Typographic error raises error in frontend.

Actions #5

Updated by Stanislas Rolland about 15 years ago

Further follow-up committed to trunk (revision 5007).

Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF