avblink / read_more_formatter
Drupal 8 text_with_summary field formatter. Adds 'Read more' button to expand/collapse full content.
Installs: 1 101
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:drupal-module
Requires
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2025-04-20 20:28:12 UTC
README
Drupal 8 'text_with_summary' field formatter. Renders 'Summary' field with 'Read more' and 'Read less' buttons. Clicking 'Read more' button will replace summary text with that in the main field. Alternatively one can user <!--break-->
delimiter in the main field in which case formatter will use text above the delimiter instead of that specified in summary field.
To install this module with composer
Add the following to your local compoaser.json file and run 'composer install' command.
{ "require": { "avblink/read_more_formatter": "dev-master" }, "extra": { "installer-paths": { "modules/contrib/{$name}/": [ "type:drupal-module" ] } }, "repositories": { "avblink": { "type": "vcs", "url": "https://github.com/avblink/read_more_formatter.git" } } }