Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Soft hyphen

73 sites Security covered Drupal 9–11
View on drupal.org

This module allows you to add soft hyphens to plain text fields in Drupal. Soft hyphens tell browsers where a word can be broken to improve the display of long words, especially on smaller screens. It can be enabled in field display settings or used in Twig templates.

Use soft hyphen (­) HTML tag in Text (plain) and Text (plain, long) fields (eg. title).

Usage on UI

  1. Create your field (in type of Text (plain) or Text (plain, long) )
  2. Check Enable soft hyphen checkbox on Manage display tab on given field Plain text field formatter setting.
  3. Fill your field data like this: Lorem­Ipsumissimply dummy­textoftheprinting and typesetting industry.

Usage on twig file

You can use shy twig filter in twig file {{ field_name|shy }}

Similar module

CKEditor Soft hyphen Plugin

Background

There is a nice article from Tamás Hajas about this topic, https://integralvision.eu/en/blog/long-words-case-browser

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2023
Latest release
3 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.1 Stable 9–11 Jul 7, 2026
1.0.0 Stable Apr 3, 2023
1.0.x-dev Dev Apr 3, 2023