diff --git a/core/modules/editor/engines/framed.js b/core/modules/editor/engines/framed.js index 2266ce742..45958ff06 100644 --- a/core/modules/editor/engines/framed.js +++ b/core/modules/editor/engines/framed.js @@ -135,7 +135,11 @@ FramedEngine.prototype.setText = function(text,type) { Update the DomNode with the new text */ FramedEngine.prototype.updateDomNodeText = function(text) { - this.domNode.value = text; + try { + this.domNode.value = text; + } catch(e) { + // Ignore + } }; /* diff --git a/core/modules/editor/engines/simple.js b/core/modules/editor/engines/simple.js index fe65d1fd9..e1b6bda64 100644 --- a/core/modules/editor/engines/simple.js +++ b/core/modules/editor/engines/simple.js @@ -85,7 +85,11 @@ SimpleEngine.prototype.setText = function(text,type) { Update the DomNode with the new text */ SimpleEngine.prototype.updateDomNodeText = function(text) { - this.domNode.value = text; + try { + this.domNode.value = text; + } catch(e) { + // Ignore + } }; /*