Prevent type error from CkEditor widgets

pull/1/head
yflory 4 years ago
parent 009e4f9bc8
commit 2fb4fd86da

@ -984,7 +984,11 @@ define([
displayMediaTags(framework, inner, mediaTagMap);
// MEDIATAG: Initialize mediatag widgets inserted in the document by other users
try {
editor.widgets.checkWidgets();
} catch (e) {
console.error(e);
}
if (framework.isReadOnly()) {
var $links = $inner.find('a');

Loading…
Cancel
Save