Commit 9b4624d7 authored by webchick's avatar webchick

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
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment