htmlArea RTE: Allow to specify default content language in BE
|Priority:||Should have||Due date:|
|Assignee:||Stanislas Rolland||% Done:||
Some RTE features that insert content, usually in the form of values of html tag attributes, need to know what language to use when the language of the content element is not specified.
EM variable defaultDictionary was used for this purpose. But this is conceptually wrong, because the installation may not be using the Spell Checker. Moreover, the content language is known in the FE from the $TSFE object.
Page TSConfig property RTE.default.defaultContentLanguage will be used to set the default language in the BE.
The value found on the $TSFE object will be used in the FE.
(issue imported from #M10510)