Skip to content

Commit f7038e1

Browse files
authored
Fix: Readonly on RichText (#1159)
1 parent 369d742 commit f7038e1

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [UNRELEASED]
9+
10+
- Fix application of the read-only option on RichText fields.
11+
812
## [1.21.28] - 2026-02-16
913

1014
- Fix template generation

templates/fields.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
{% elseif type == 'richtext' %}
8383
{{ macros.textareaField(name, value, label, field_options|merge({
8484
'enable_richtext': true,
85+
'disabled': readonly,
8586
'field_class': 'col-12',
8687
'label_class': '',
8788
'input_class': '',

0 commit comments

Comments
 (0)