Trim support for title field loose format and link

Created on 20 August 2020, almost 4 years ago
Updated 31 October 2023, 8 months 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.69.0 2024