Allow NRT field to display HTML markup

Created on 25 January 2025, 2 months ago

Problem/Motivation

In the previous version 8.x-1.11 I used to modify the template reading-time.html.twig to show a small icon next to the minute, eg:

<div class="time-wrapper">
<div class="time-icon"><a class="icon">AD</a></div>
<div class="time-read"><a class="minutes">{{ reading_time }}</a></div>
</div>

But now in the node view manager the NRT field format has plain text by default.
Is there any way to change or implement this to have a themed field?

Many thanks for your interest

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.15

Component

User interface

Created by

🇮🇹Italy senzaesclusiva

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

Comments & Activities

Production build 0.71.5 2024