Typogrify does not validate its settings

Created on 7 May 2024, 2 months ago
Updated 23 May 2024, about 2 months ago

Problem/Motivation

The Typogrify filter has settings, declared in its plugin annotations. After πŸ“Œ Add validation constraints to filter.settings Fixed , these settings need a config schema so that they can be validated.

Steps to reproduce

Install Drupal 10.3.x or 11.x.
Install and enable the Typogrify module.
Edit a text format, such as basic_html. Enable the Typogrify filter and save.
There will be an error message when the text format is saved.

Proposed resolution

Declare the structure of the settings in config/schema/typogrify.schema.yml.

Remaining tasks

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes

Warn users that settings will be validated. If they have invalid configuration, then it will lead to errors when saving their text format and it might cause problems when displaying text fields.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States benjifisher Boston area

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024