diff --git a/CHANGELOG.md b/CHANGELOG.md index fe07f783..e7d8c474 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [UNRELEASED] + +- Fix application of the read-only option on RichText fields. + ## [1.21.28] - 2026-02-16 - Fix template generation diff --git a/templates/fields.html.twig b/templates/fields.html.twig index fa568b2c..861c950f 100644 --- a/templates/fields.html.twig +++ b/templates/fields.html.twig @@ -82,6 +82,7 @@ {% elseif type == 'richtext' %} {{ macros.textareaField(name, value, label, field_options|merge({ 'enable_richtext': true, + 'disabled': readonly, 'field_class': 'col-12', 'label_class': '', 'input_class': '',