Prevent type error from CkEditor widgets
parent
9d6d5b3ed3
commit
1d47d3d94e
www/pad
|
@ -984,7 +984,11 @@ define([
|
|||
displayMediaTags(framework, inner, mediaTagMap);
|
||||
|
||||
// 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()) {
|
||||
var $links = $inner.find('a');
|
||||
|
|
Loading…
Reference in New Issue