Generated with the help of an LLM.
Problem/Motivation
Long filter tips have been deprecated: https://www.drupal.org/node/3567879.
That introduced a regression that broke short tips: #3621903: [regression] Filter tips not working due to missing preprocess.
Services are injected into filter plugins in #3534414: Filter plugins - inject renderer.
FilterHtml loads services for the long text, so both need to be removed together.
Steps to reproduce
https://git.drupalcode.org/project/drupal/-/blob/main/core/modules/filte...
https://git.drupalcode.org/project/drupal/-/blob/main/core/modules/filte...
https://git.drupalcode.org/project/drupal/-/blob/main/core/modules/filte...
...
The filter_html_help option should also be removed, which provides the long tips link.
Proposed resolution
Remove code related to long tips.
Remove injected services used for long tips in FilterHtml.
Remaining tasks
Write patch.
User interface changes
Removal of filter_html_help option in filter settings.
Data model changes
filter_html_help schema needs removal/update.
Release notes snippet
Issue fork drupal-3639038
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments