|  
 
 
js如何实现iframe多步的撤销反撤销功能 
<div id="htmlEditorPanel" style="border:1px solid #bbb;border-top:0px;"><iframe class="HtmlEditor" id="HtmlEditor" name="HtmlEditor" style="height:100%;width:100%;margin:0px;padding:0px 0px 0px 0px;" frameborder="0" marginHeight="0" marginwidth="0" src="../blank.html" onload="undoRedo();SetEdit();"></iframe></div> 
在这个iframe当中实现撤销反撤销 求大神指导  我是实在没有办法了。。  
ifr_doc.execCommand('Undo',false,param); //撤销 ifr_doc.execCommand('Redo',false,param); //重做 
电脑没那么智能,哪知道你要恢复到哪步 
只能提供的返回或者重做一次的代码,给别人返回或者重做到他需要的步骤去  
 |