English 中文(简体)
TinyMCE - unfin e , j , t 第二次装入轮胎箱
原标题:TinyMCE - undefined e , j , t when loading for a second time in fancyboxm

上午

目前,我正试图在我的申请中增加一个速效的特点。 我仅仅通过了一些数据,使用箱管束将适当的数据输入微粒。

The problem being once i have closed the fancybox down for the first time and move onto the second item to edit and click, everything loads up ok visualy (including tinyMCE) but i cannot edit within the wysiwyg editor with firebug displaying undefined e or t or d whichever one it decides to show...

任何帮助都会受到高度赞赏。

EDIT

try{
    function remove_mce(){
        tinyMCE.execCommand( mceRemoveControl ,false, elm1 );   
    }
    $( #tree a ).bind( click , function(){
        $( #tree ul li ul ).removeClass( showBranch );
        var ob = $(this);
        var ob_parent = ob.parent( li );
        ob_parent.removeClass( branch ).addClass( branch-open );
        ob.parents( ul ).addClass( showBranch );
        $( ~ li , ob_parent).children( :first ).addClass( showBranch );
        return false;
    });
    $("#tree .product a").fancybox({
         autoDimensions :   false,
         width          :    750 ,
         height         :    90% ,
         transitionIn   :    elastic ,
         transitionOut  :    elastic ,
         speedIn        :   600, 
         speedOut       :   200, 
         overlayShow    :   true,
         hideOnOverlayClick  : false,
         onCleanup      :   remove_mce()
    });
}catch(err){alert(err.message);}
问题回答

锡里娅·马利卡埃如果其控制被后来又重新开放,则会遇到问题,因为似乎ancy子正在这样做。

如果可能的话,在利用这一指挥打开租赁箱时,你应当建立锡里卡马塞卡控制:

tinyMCE.execCommand( mceAddControl , false, "control id here");

然后,在轮胎箱被关闭后,锡奈马委员会控制也关闭:

tinyMCE.execCommand( mceRemoveControl , false, "control id here");  




相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...

热门标签