cleditor问题jQuery UI的效果()? [英] cleditor problem with jquery ui effect()?
问题描述
我用我的网站之一cleditor,我遇到了一个问题。当我使用效果动画一些div cleditor的所见即所得的编辑器停止工作。编辑器本身就说明了,但我不能输入任何东西进去。我可以查看/编辑在编辑器就好源。
I'm using cleditor on one of my sites and I have run into a problem. When I use effect to animate some divs cleditor's wysiwyg editor stops working. The editor itself shows but I cant type anything into it. I can view/edit the source on the editor just fine.
code我用的div之间切换:
Code I use to toggle between divs:
function emailwizardplace(pold, pnew) {
$("#wizard-" + pold).hide();
$("#wizard-" + pnew).effect('slide');
//$("#wizard-" + pnew).show(); <= This works without problems
}
code调用cleditor:
Code for calling cleditor:
$("#tmessage").cleditor({
width: 680,
height: 400
});
一如往常的任何帮助是AP preciated。
As always any help is appreciated.
推荐答案
这似乎与CLEditor和jQuery.UI之间的相互作用的一个问题。您是否尝试过这个?
This seems to be a problem with the interaction between CLEditor and jQuery.UI. Have you tried this?
$("#tmessage").cleditor()[0].disable(false).refresh();
有一个在谷歌群体相当多的讨论这个问题。下面是概述了问题,别人都做的一环。 https://groups.google.com/forum/?fromgroups#!topic / cleditor / 6W36CyPsaVU
希望这有助于。
这篇关于cleditor问题jQuery UI的效果()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!