Read more field using Bartik theme
Read more field when opened.
The same field, but with custom CSS styling applied to it.
Editing the contents of the read more field

This module adds a field type that makes it easy to add content with a 'read more' link. It does so by providing 2 separate (formatted) text-fields, that allow to place content in either the visible or the (initially) hidden textfield. You are free to leave the hidden field empty if you don't need it, in that case it will act as a regular formatted text field.

The default implementation uses the details and summary elements to handle the show/hide logic. It has decent browser-support (The details element polyfill is included to enable browser-support for IE10/11 and other browsers), is keyboard-accessible and prevents for complicated and error-prone custom logic. However, if you feel the need you can override the default twig template and supply your own implementation. You can also use CSS to change the appearance of the details-element, without losing functionality.

Supporting organizations: 
Development time.

Project information

Releases