Trim support for title field loose format and link

Created on 20 August 2020, over 4 years ago
Updated 31 October 2023, about 1 year ago

Problem/Motivation

When the user set trim format to a title field, the title field show as a single text plain trimmed.

Proposed resolution

Modify the plugin to show title fields trimmed without losing your format and link.

Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇧🇴Bolivia vacho Cochabamba

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.

  • 🇪🇸Spain jordiserra

    I was facing the same issue, and I made a simple patch to have the entity url available in the twig template so I can easily customize and recover the link functionality.

    Once applied the patch, the twig could be something like that:

    {% if wrap_output == true %}
      <h2 class="{{ wrapper_class }}">
        <a href="{{ entity_url }}">{{ output['#text'] }}</a>
      </h2>
    {% else %}
    

    Hope this helps.

Production build 0.71.5 2024