[2.0.0-alpha3] WysiwygWidget bug with one text format

Created on 20 June 2024, 5 months ago
Updated 3 July 2024, 5 months ago

Problem/Motivation

When a website has only one text format, the WysiwygWidget is not behaving well on multiple editions.
First Edit, shows the format selector. successive edits do not show anymore the selector, and the format is then missing from the configuration,
provoking bugs.

This behavior is a side effect of TextFormat class under certain conditions.

Proposed resolution

We alter the text_format element to undo some weird things done in \Drupal\filter\Element\TextFormat::processTextFormat()

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France just_like_good_vibes PARIS

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