-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
It may be interesting to explore a method of registering a command type, and supporting a method to filter a via that type—perhaps based on an input prefix.
In this exploration below, if you type "?" into the input, you would see all available documentation type commands. Typing a search query afterwards would the filter the results by the input value and the documentation type. This would allow for helpful documentation links within the WordPress experience, while not overwhelming the existing editor interface.
Plugins should also be able to register commands within a specific type (just like how pattern categories work). In the example I have a link that could be registered via the Gutenberg plugin (fetching the version number perhaps), which links to the latest news on Gutenberg. Third-party plugins could add help documentation; hosts even.
Visuals
