Simple module to insert a soft hyphen (­) into the content using the provided button.

Uses

During content creation, the author may add a soft hyphen (­) to break words across lines.

Soft hyphen is an invisible character.

Installation

Install the module then follow the instructions for installing the CKEditor plugins below. The recommended way to install this module is via Composer.

Configuration

Go to the 'Text formats and editors' configuration page: /admin/config/content/formats, and for each text format/editor combo where you want to use SHY, do the following:

  • Drag and drop the 'SHY' button into the Active toolbar.
  • Enable filter "Cleanup SHY markup".
  • If the "Limit allowed HTML tags and correct faulty HTML" filter is disabled you dont have anything to do with this text format.
    Otherwise, add the class attribute to <span> in the "allowed HTML tags" field (Eg. <span class>).

🇺🇦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.
Supporting organizations: 
Drupal 8 Development
Bug fixing, support and feature requests.
Bug fixing, support and feature requests.

Project information

Releases