Feature: #94081 - TCA readOnly for t3editor

See forge#94081

Description

The TCA 'type' => 'text' (texarea) based FormEngine render type 'renderType' => 't3editor' now supports the 'readOnly' => true option. If set, syntax highlighting is applied as usual, but the corresponding text can not be edited.

Example:

't3editor_2' => [
    'label' => 't3editor_2',
    'description' => 'readOnly=true',
    'config' => [
        'type' => 'text',
        'renderType' => 't3editor',
        'format' => 'html',
        'readOnly' => true,
    ],
],
Copied!

Impact

This minor feature allows rendering highlighted code without the edit option.