Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295826

Add an option to 'hide filter tips' on text fields

$
0
0

Problem/Motivation

https://www.drupal.org/project/allowed_formats is popular module (over 50 000 reported installations on D9/D10), the main feature was added to core on #784672: Allow text field to enforce a specific text format, but missed the option to hide sometimes confusing "about text formats" link and associated guidelines.

Steps to reproduce

Proposed resolution

Remaining tasks

  • Decision: Should the option to hide happen on field or widget level
  • update hook
  • tests for update hook

User interface changes

API changes

Data model changes

Release notes snippet

Original post by Berdir

We've seen that case in production with contrib, you are then forced to pick a new format, I don't think that's very problematic. But yes, test coverage makes sense.

There's one thing I'm wondering about. Beside this feature, the allowed_formats contrib module also has settings to hide the lengthy text format explanations, a feature that we use often. I'm a bit unsure how to handle that, for now you'd still need to use the contrib module for that, so it would require a new major version with a (post) update function and just those two settings? definitely don't want to delay this issue even further, maybe a follow-up that would allow us to move those into the same minor version?


Viewing all articles
Browse latest Browse all 295826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>