It renames the plugin from the annoying and long strapi-plugin-rich-text to richtext-editor in the package strapi property. It does not affect the repository name, folder name, or plugin Id.
Why is it needed?
strapi-plugin-rich-text looks pretty ugly in the plugin configuration file and URLs. We chose richtext-editor so it is pretty clear what the plugin does in the plugin file or the URLs.
What does it do?
It renames the plugin from the annoying and long
strapi-plugin-rich-text
torichtext-editor
in the packagestrapi
property. It does not affect the repository name, folder name, or plugin Id.Why is it needed?
strapi-plugin-rich-text
looks pretty ugly in the plugin configuration file and URLs. We choserichtext-editor
so it is pretty clear what the plugin does in the plugin file or the URLs.How to test it?
Just enable the plugin: plugin.ts:
And check the available routes:
Notes