Skip to content
Snippets Groups Projects
Commit 781ec0f8 authored by catch's avatar catch
Browse files

Issue #3432545 by mark_fullmer: AssertionError: assert($editor instanceof Editor)

parent 24cb93d4
No related branches found
No related tags found
No related merge requests found
...@@ -261,7 +261,7 @@ public static function validatePair(EditorInterface $text_editor, FilterFormatIn ...@@ -261,7 +261,7 @@ public static function validatePair(EditorInterface $text_editor, FilterFormatIn
*/ */
public function buildConfigurationForm(array $form, FormStateInterface $form_state) { public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
$editor = $form_state->get('editor'); $editor = $form_state->get('editor');
assert($editor instanceof Editor); assert($editor instanceof EditorEntity);
$language = $this->languageManager->getCurrentLanguage(); $language = $this->languageManager->getCurrentLanguage();
// When enabling CKEditor 5, generate sensible settings from the // When enabling CKEditor 5, generate sensible settings from the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment