- Issue created by @nicrodgers
- Assigned to keshavv
- Issue was unassigned.
When you try and uninstall the module, Drupal lets you uninstall it, even when the Anchor Link is being used in one or more text formats. By comparison, if you do the same thing with the LinkIt module, Drupal prevents you from uninstalling until it has been removed from the text formats.
Additionally, once Anchor Link is uninstalled, the existing Anchor Link config within the text format yml remains, which breaks any textfields that use Ckeditor in that format, causing a JS console error: CKEDITOR.plugins.link is undefined
* Install CK Editor Anchor Link
* Add the anchor link button to one or more text formats, eg Basic HTML
* Export your config (eg drush cex)
* Go to /admin/modules/uninstall
* Uninstall CK Editor Anchor Link
* You should not be able to uninstall CK Editor Anchor Link until it has been removed from any active formats. Here's how LinkIt prevents it:
Active
2.0
Code