Skip to content
Snippets Groups Projects
Commit 9b4624d7 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2089599 by swentel, Wim Leers, dotoree: Fixed 'Missing text format: .'...

Issue #2089599 by swentel, Wim Leers, dotoree: Fixed 'Missing text format: .' in watchdog logs when visiting Text formats and editors configure page.
parent 9f6d0920
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -171,7 +171,7 @@ public function settingsForm(array $form, array &$form_state, EditorEntity $edit
// Build a fake Editor object, which we'll use to generate JavaScript
// settings for this fake Editor instance.
$fake_editor = entity_create('editor', array(
'format' => '',
'format' => $editor->id(),
'editor' => 'ckeditor',
'settings' => array(
// Single toolbar row that contains all existing buttons.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment