Text format "plain text" is visible after updating to 6.2.0 beta-4

Created on 25 January 2023, almost 2 years ago
Updated 14 February 2023, almost 2 years ago

Problem/Motivation

The text format "plain text" is visible on the text format list now.

This seems to be caused by the `processTextFormat` method of the "WebformHtmlEditor.php" file as it's not removing the fallback format from the "#allowed_formats" array when there are other available formats and causing the format to not be removed.

The code below is how Drupal core handling the fallback format.

Steps to reproduce

1. Install webform version greater than 6.2.0 beta4
2. Go to node create page.

Proposed resolution

The format should only be visible when there is no other available formats

πŸ› Bug report
Status

Fixed

Version

6.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sker101 NYC

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024