Problem/Motivation
In #3505370: Remove 'filter tips' page and deprecate the long format API we deprecated the filter tips page for long filter tips. In #3575254: Module deprecation removal part2 we deleted \Drupal\filter\Hook\FilterThemeHooks::preprocessFilterTips. We still render filter-tips.html.twig but since the preprocess is gone, we never see any filter tips. This was found in #3471113: Update to selenium/standalone-chrome:134+ where CKEditor5AllowedTagsTest is consistently failing in newer versions.
Steps to reproduce
- Install demo umami on main
- Log in as admin
- Go to /node/add/page
- Change text format to "Restricted HTML"
Proposed resolution
Restore \Drupal\filter\Hook\FilterThemeHooks::preprocessFilterTips and the initial preprocess from FilterThemeHooks::theme
Move test coverage out of CKEditor5AllowedTagsTest
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3621903
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
Comment #2
mstrelan commentedComment #4
hoxton commentedPartial revert of 49c2dc1 for 'preprocessFilterTips' and 'initial preprocess'.
But removed the description of 'long' optional field to variables in 'preprocessFilterTips' as its deprecated under https://www.drupal.org/node/3567879.
Comment #6
hoxton commentedComment #7
mstrelan commentedFails coding standards, added suggestions. There is still a reference to
$longthat needs to be removed.I think we should move the filter tips test coverage out of CKEditor5AllowedTagsTest.
Comment #8
mstrelan commented@hoxton there are still some coding standards errors you can see here: https://git.drupalcode.org/issue/drupal-3621903/-/jobs/12103471
Comment #9
mstrelan commentedComment #10
smustgrave commentedAppears to be missing part Move test coverage out of CKEditor5AllowedTagsTest