Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298791

Switching between editors on the format configuration causes errors upon save

$
0
0

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:

  1. Install Drupal
  2. Head to admin/config/content/formats/manage/basic_html
  3. Switch Text Editor to None
  4. Switch Text Editor back to CKEditor
  5. Save configuration

Ckeditor error

Proposed resolution

Fix it

Remaining tasks

Do it

User interface changes

None

API changes

None

Data model changes

None


Viewing all articles
Browse latest Browse all 298791

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>