Bug #103824
closedRTE language_list
0%
Description
In TYPO3 version 11 CKeditor version 4 uses language_list so editors can give a paragraph or line in a foreign language the correct output: https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-language_list
Example:
config.language_list: ['de:German', 'fr:French', 'en:English', 'uk:Ukrain']
This function seems to have been migrated to: https://ckeditor.com/docs/ckeditor5/latest/features/language.html. The configuration is different from the latter and doesn't seem to work.
Example:
config.language.textPartLanguage:
- { title: 'German', languageCode: 'de'}
- { title: 'French', languageCode: 'fr'}
- { title: 'English', languageCode: 'en'}
- { title: 'Ukrain', languageCode: 'uk'}
According to CK Editor developer the above configuration should work. They claim the TextPartLanguage plugin is missing.
Updated by Georg Ringer 5 months ago
maybe you wanna try https://github.com/Gugler-GmbH/ckeditor5-language/tree/main?
until core adds @ckeditor/ckeditor5-language
Updated by Emile Blume 4 months ago ยท Edited
@Georg Thanks but I find it very strange that I would have to use an additional extension (which I can't seem to get working) to make use of something that's a default option in CK Editor 5.
Updated by Georg Ringer 4 months ago
- Status changed from New to Accepted
problem is that ckeditor5 split its features up in multiple plugins but currently not all have been provided within typo3
Updated by Gerrit Code Review 4 months ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84653
Updated by Gerrit Code Review 4 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84653
Updated by Georg Ringer 4 months ago
- Related to Story #101906: CKEditor5 missing plugins added
Updated by Georg Ringer 4 months ago
- Status changed from Under Review to Closed
closed in favor of #101906 where this will be handled