diff --git a/asset/ckeditor/plugin.js b/asset/ckeditor/plugin.js index 4b9e89c..d59553f 100644 --- a/asset/ckeditor/plugin.js +++ b/asset/ckeditor/plugin.js @@ -542,7 +542,7 @@ var Assets; data['html'] = dataProcessor.toHtml(data['html']); } catch (e) { - if (typeof(console) !== 'undefined') { + if (typeof(console) !== 'undefined' && typeof(editor.lang.asset) !== 'undefined') { console.log(editor.lang.asset.assets_error_paste); } }