[TASK] CKEditor RTE: Add button to insert soft hyphen 44/57344/8
authorJosef Glatz <josefglatz@gmail.com>
Sat, 23 Jun 2018 12:21:57 +0000 (14:21 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 26 Jun 2018 07:13:19 +0000 (09:13 +0200)
commit69789334afa97279c79e49fe473fdf6027140091
treeb7e981b8d4484818edfdadbb617422cacde676c1
parent4cb53e828bd5138d180cdf9cac1ccf7fd31086d2
[TASK] CKEditor RTE: Add button to insert soft hyphen

This patch re-adds a missing functionality to CKEditor.

Due to the move from htmlArea to CKEditor, the well-known and actually
important button/shortcut "soft hyphen" for text in responsive webdesign
was gone.

The button is added per default to the existing CKEditor presets "default"
and "full". Existing translations from htmlArea have been migrated and
more were added.

Pasting a soft hyphen is possible via the UI button and a keyboard
shortcut: 'CTRL' + '-'. The shortcut can be deactivated in custom
RTE presets.

Resolves: #85361
Releases: master, 8.7
Change-Id: Iec97f4c9d1ede269e2df5cb4fe795df0ef5ca558
Reviewed-on: https://review.typo3.org/57344
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Sebastian Klein <laitnin@gmx.net>
Tested-by: Sebastian Klein <laitnin@gmx.net>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
18 files changed:
typo3/sysext/core/Documentation/Changelog/master/Important-85361-EXTrte_ckeditor-Re-addTheSoftHyphenButton.rst [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Configuration/RTE/Default.yaml
typo3/sysext/rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml
typo3/sysext/rte_ckeditor/Configuration/RTE/Full.yaml
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/icons/hidpi/softhyphen.png [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/icons/softhyphen.png [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/icons/softhyphen.svg [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/lang/da.js [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/lang/de.js [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/lang/en.js [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/lang/fr.js [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/lang/he.js [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/lang/hr.js [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/lang/hu.js [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/lang/it.js [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/lang/nl.js [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/lang/ru.js [new file with mode: 0644]
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/plugin.js [new file with mode: 0644]