Prevent type error from CkEditor widgets

pull/1/head
yflory 4 years ago committed by ansuz
parent 9d6d5b3ed3
commit 1d47d3d94e

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

Loading…
Cancel
Save