Problem/Motivation
On a fresh installation when someone accidentally switches the text editor from CKEditor to None and then back to CKEditor an unexpected error occurs.
Drupal\Core\Entity\EntityStorageException: 'editor' entity with ID 'basic_html' already exists. in Drupal\Core\Entity\EntityStorageBase->doPreSave() (line 430 of /home/r0kr9/www/core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Steps to reproduce:
- Install Drupal
- Head to
admin/config/content/formats/manage/basic_html
- Switch Text Editor to None
- Switch Text Editor back to CKEditor
- Save configuration
Proposed resolution
Fix it
Remaining tasks
Do it
User interface changes
None
API changes
None
Data model changes
None