Summary Field edit form screenshot

This project is not covered by Drupal’s security advisory policy.

Automatically create and store a summary from a text field with trim rules.
UI shows authors what the trimmed summary will be.
Authors can override the automated rule.

The Long text with summary field is moving to contrib in Drupal 12.
This is an enhanced version that provides a similar functionality, but better usability and more flexibility.
It works with long text w/ summary and other long text fields.

Features

* Smart trim integration.
* Use first element of type (default p) as summary.
* Update existing content with drush command.

Post-Installation

Enable as the form widget on long text with summary fields.
Add summary field to entities that need one.
Configure trim rules.

Additional Requirements

Smart Trim is an optional dependency.

Other Modules

Smart Trim is potentially usable on it's own. This shows the author how content will be trimmed, helping them decide whether to override it.

Node Summary Token From P Tags does something similar.

Ideas for improvement

* AI summary integration.
* Select rule during edit.
* Field migration assistance.

Supporting this Module

Try it out, report issues.

AI Disclosure

Built with AI.

Project information

Releases