Add more Twig blocks to the block--fences.html.twig

Created on 21 February 2023, almost 2 years ago
Updated 25 June 2024, 6 months ago

Problem/Motivation

Currently there is only block "content", I think we should have further ones, so themes dont need to override the full template.

Steps to reproduce

Proposed resolution

Add further Twig blocks:
- block (surrounds the whole markup, but not the classes array)
- label (wraps the label wrapper)
- label_inner (wraps only the label value)
- content_inner (wraps only the content value)

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024