Deprecation: #99454 - Restore visibility for soft hyphens and non-breaking spaces¶
See forge#99454
Description¶
Non-breaking spaces and soft hyphens are now visible in the rich-text editor to help the editor to identify them visually.
Keyboard shortcuts are now working for non-breaking spaces and soft hyphens and use more common defaults:
- ctrl + shift + space for non-breaking space
- ctrl + shift + dash for soft hyphen
The SoftHyphen
plugin for the CKEditor is now deprecated and
replaced with a new whitespace plugin that handles
non-breaking spaces and soft hyphens. Loading the
SoftHyphen
will trigger a console warning.
Impact¶
Including the SoftHyphen
plugin will trigger a deprecation warning.
Affected installations¶
All installations that include the SoftHyphen
plugin manually.
Migration¶
Replace the module to resolve the deprecation.
Before¶
editor:
config:
importModules:
- '@typo3/rte-ckeditor/plugin/soft-hyphen.js'
Copied!
After¶
editor:
config:
importModules:
- { module: '@typo3/rte-ckeditor/plugin/whitespace.js', exports: ['Whitespace'] }
Copied!