[FEATURE] Implement configuration for CKEditor 19/50919/20
authorBenni Mack <benni@typo3.org>
Tue, 17 Jan 2017 20:38:07 +0000 (21:38 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 1 Feb 2017 08:09:23 +0000 (09:09 +0100)
commitbb177195cb8e2a1552e56ef0bcc52f5cb1cc8321
tree8bec3ff2c35da6f575c936e186355ba4a1f6cf3e
parenta483d7a203bcdaeefc0df40b7d4f96b566ed06e7
[FEATURE] Implement configuration for CKEditor

The main problem with the current RTE configuration relies in the fact
that it is *only* configurable via pageTS.

CKEditor can now be configured via YAML, but the configuration preset
can be overriden via pageTS.

Additionally, the CKEditor Form Element is cleaned up.

A different preset can be used via PageTS config:
- RTE.default.preset = minimal
- RTE.config.tt_content.bodytext.preset = full

Once included, the next features will be
- a configuration backend module for ckeditor
- Make sure to re-add the feature for RTE.anchorClasses
- Check the languages of CKeditor that they are in line with the TYPO3
languages (possibility to add others)
- image handling
- table handling

Resolves: #78917
Releases: master
Change-Id: Ia222b73072b9e3fdb3a120d0be0a24a913552126
Reviewed-on: https://review.typo3.org/50919
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
18 files changed:
.editorconfig
typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php [new file with mode: 0644]
typo3/sysext/core/Classes/Configuration/Richtext.php
typo3/sysext/core/Classes/Html/RteHtmlParser.php
typo3/sysext/core/Documentation/Changelog/master/Feature-79216-AddYAMLConfigurationForCKEditorRTE.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Configuration/Loader/YamlFileLoaderTest.php [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php
typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php
typo3/sysext/rte_ckeditor/Configuration/RTE/Default.yaml [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Configuration/RTE/Editor/Base.yaml [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Configuration/RTE/Full.yaml [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Configuration/RTE/Minimal.yaml [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Configuration/RTE/Processing.yaml [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/Css/contents.css
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/typo3link.js
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/defaultconfig.js [deleted file]
typo3/sysext/rte_ckeditor/ext_localconf.php