- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
FYI this came up again in 📌 Add validation constraints to filter.settings Fixed .
filter.settings:fallback_format
is impossible to validate.This issue would allow removing that from config!
The plain_text
fallback format was only ever meant as a (literal) fallback format.
Its introduction was caused by technical edge-case scenarios only. Specifically:
That's the one and only reason for why the fallback format exists. There are multiple possible ways to reach that situation, so we were not able to say "Stuff that, that edge-case is caused by a bogus configuration, fix your configuration instead." Hence, we introduced the fallback format to resolve that problem.
That is also the reason for why the plain_text
fallback format is super-restrictive and escapes all HTML.
It was a pretty big mistake to expose it as a configurable format in the administrative UI and we need to fix that.
The fallback format was not meant to be exposed in the visible way it is today.
Remove all traces of the fallback format from the administrative Filter module UI.
This inherently means that the fallback format is no longer configurable.
Add an API-level condition to disallow filter configuration changes to the fallback format.
Since we do not know whether the fallback format was reconfigured on existing sites:
'none'
in D8, as a replacement for the previous plain_text
format.plain_text
format becomes a regular, configurable format.Remove the additional configuration setting that was introduced with #788114: Unprivileged users should only get one text format by default →
With properly set up text formats, anonymous users are able to access (at least) one actual text format.
Active
11.0 🔥
Refactors an existing API or subsystem for consistency, performance, modularization, flexibility, third-party integration, etc. May imply an API change. Frequently used during the Code Slush phase of the release cycle.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
FYI this came up again in
📌
Add validation constraints to filter.settings
Fixed
. filter.settings:fallback_format
is impossible to validate.
This issue would allow removing that from config!