Problem/Motivation
I see/hear about the setup test module, mercury_editor_setup_test, in many videos about Mercury Editor (including this 2024 Stanford WebCamp recording from just a few weeks ago) -- but, it isn't actually available to enable, in the Drupal UI (/admin/modules
), or via command line (drush en mercury_editor_setup_test
).
As far as I can tell, this sub-module (mercury_editor_setup_test) is in mercury_editor/tests/modules
-- so, I definitely don't know for sure, but I imagine this location of the sub-module is why I can't enable it? Probably just needs to be moved to mercury_editor/modules
?
Steps to reproduce
Add Mercury editor to your project, i.e. composer require drupal/mercury_editor
In Drupal UI ("Extend"), look for the "Mercury Editor Setup Test" module (I have Module Filter, so I just searched for "mercury")
In a terminal, try to enable mercury_editor_setup_test with drush.
Attached screenshots:
Looking for "Mercury Editor Setup Test" module in Drupal UI (on a site with Module Filter).
Trying to enable (and then trying to find) mercury_editor_setup_test module via command line.
Proposed resolution
Move the sub-module to mercury_editor/modules
??
I did this locally (i.e. mv web/modules/contrib/mercury_editor/tests/modules/mercury_editor_setup_test/ web/modules/contrib/mercury_editor/modules/
), and after doing that, I was able to enable the module just fine.
Remaining tasks
User interface changes
API changes
Data model changes