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()

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

just_like_good_vibes created an issue. See original summary.

just_like_good_vibes’s picture

Status: Active » Needs review

code pushed, ready for review.

pdureau’s picture

Status: Needs review » Fixed
pdureau’s picture

Status: Fixed » Closed (fixed)