Skip to content
Snippets Groups Projects
Commit cd621730 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

FIX: Check whether edit_mod.app actually exists

parent ebdc1436
No related branches found
No related tags found
2 merge requests!68DOC: update CHANGELOG,!61FIX: Replace text areas if edit mode is already open
Pipeline #17175 passed
......@@ -82,7 +82,7 @@ var ext_editmode_wysiwyg_text = function ($, logger, ClassicEditor, edit_mode, g
}
var init = function () {
if (edit_mode.app.entity) {
if (edit_mode.app && edit_mode.app.entity) {
// replace text areas if we're already in the edit mode and all
// events did fire already.
replaceTextAreas(edit_mode.app.entity);
......
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