diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7aadf0ccf4e72152613bfa93fc1e847edd17deb2..1d77399a987c741de6e2f2e4621b4deff6ade951 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -15,6 +15,7 @@ Wysiwyg 7.x-3.x, xxxx-xx-xx Wysiwyg 6.x-3.x, xxxx-xx-xx --------------------------- +#659200 by TwoD: Fixed YUI Editor content lost in IE. #594928 by ericbellot, TwoD, sun: Fixed 'attribs' button missing in TinyMCE. #557090 by TwoD: Fixed Whizzywig 56 instance not removed on detach(). #667848 by TwoD, kaakuu: Fixed FCKeditor is not properly detached in IE. diff --git a/editors/js/yui.js b/editors/js/yui.js index 7cce8fddcce66db4c34104e791327aa7f99d6f1c..184eef6a47630cebb28da51517ff77de4706eab6 100644 --- a/editors/js/yui.js +++ b/editors/js/yui.js @@ -21,7 +21,6 @@ Drupal.wysiwyg.editor.detach.yui = function(context, params) { if (typeof params != 'undefined') { var instance = YAHOO.widget.EditorInfo.getEditorById(params.field); if (instance) { - instance.saveHTML(); instance.destroy(); } } @@ -29,10 +28,7 @@ Drupal.wysiwyg.editor.detach.yui = function(context, params) { for (var e in YAHOO.widget.EditorInfo._instances) { // Save contents of all editors back into textareas. var instance = YAHOO.widget.EditorInfo._instances[e]; - instance.saveHTML(); instance.destroy(); - // Remove all editor instances. - //nicEditors.editors[e].nicInstances = []; } } };