Problem/Motivation

The disabled webform text format appears in the allowed list in field config, even though it's disabled. If you select it, it doesn't work.

Disabled format:

Field config:

Empty options:

Steps to reproduce

  1. Edit an existing formatted text field
  2. See the disabled format is listed
  3. Select it as the only allowed format
  4. Edit a node of this type and see there is no format selected

Proposed resolution

This format should not appear here since it shouldn't be used.

Remaining tasks

  1. Create MR for fix
  2. Add tests
  3. Review
  4. Commit

User interface changes

As above.

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

Comments

pameeela created an issue. See original summary.

kostyashupenko’s picture

I can't reproduce on 11.x-dev
Disabled text formats are not showing in the Allowed text formats (so already working as expected)

pameeela’s picture

Title: Disabled text formats appear in the list of allowed formats in field config » Webform text format appear in the list of allowed formats in field config
Project: Drupal core » Webform
Version: 11.1.x-dev » 6.3.x-dev
Component: filter.module » Code
Issue summary: View changes
Related issues: -#2502637: Disabled text formats can't be seen in the GUI

Yeah sorry just realised it's only the Webform one that is doing it, and also not related to the other change. I assumed this was new but seems it's not!

jrockowitz’s picture

Let's see if the tests pass.

jrockowitz’s picture

Status: Active » Closed (duplicate)