Read more link must have a customisable text, best is to utilise data-readmore-more-text attribute

Created on 15 October 2022, about 2 years ago
Updated 23 April 2023, over 1 year ago

Problem/Motivation

Not all expand/collapse links will say read more, we do need links that say something else. Which will bring more power and vibrance to this module, and thus can be used even for accordion purpose. With title as link and body text.

Right now, despite

Proposed resolution

We can utilise the data-readmore-more-text attribute, which currently isn't being utilised for link text.

Feature request
Status

Needs review

Version

2.0

Component

User interface

Created by

🇵🇰Pakistan isalmanhaider

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Needs work 9 months ago
  • 🇸🇮Slovenia joco_sp

    It has to be ported to 3.x

  • Assigned to joco_sp
  • 🇸🇮Slovenia joco_sp

    This is a good suggestion for a new feature.

    Currently the read more/less texts are defined in the CKEditor settings for the Text format and are the same everywhere. If we want to have different read more/less texts per element there is much more work to be done. The CKEditor5 plugin has to be rewritten to allow for editing the data-readmore-more-text and data-readmore-less-text per element.

    I am keeping the issue open, because it would be a nice feature, but currently there is no plan to implement it. I am also adjusting the tile of the task, so that it reflects the proposed feature.

    Relate issue https://www.drupal.org/project/ckeditor_readmore/issues/3225661 Configuration in field-values Active

Production build 0.71.5 2024