jquery uieffect() 的 ceditor 问题?
我在我的一个网站上使用 cleditor,但遇到了问题。当我使用效果来动画某些 div 时,cleditor 的所见即所得编辑器停止工作。编辑器本身会显示,但我无法在其中输入任何内容。我可以在编辑器上查看/编辑源代码。
我用来在 div 之间切换的代码:
function emailwizardplace(pold, pnew) {
$("#wizard-" + pold).hide();
$("#wizard-" + pnew).effect('slide');
//$("#wizard-" + pnew).show(); <= This works without problems
}
调用 ceditor 的代码:
$("#tmessage").cleditor({
width: 680,
height: 400
});
一如既往,我们将不胜感激。
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 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 for calling cleditor:
$("#tmessage").cleditor({
width: 680,
height: 400
});
As always any help is appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这似乎是 CLEditor 和 jQuery.UI 之间交互的问题。你试过这个吗?
谷歌小组对这个问题有很多讨论。这是一个概述了问题以及其他人所做的事情的链接。 https://groups.google.com/forum/?fromgroups#!topic /cleditor/6W36CyPsaVU
希望这有帮助。
This seems to be a problem with the interaction between CLEditor and jQuery.UI. Have you tried this?
There's quite a bit of discussion in google groups on this problem. Here's one link that outlines the problem and what others have done. https://groups.google.com/forum/?fromgroups#!topic/cleditor/6W36CyPsaVU
Hope this helps.
您必须将对 cleditor 的调用放在 .show() 内
You have to place the call for the cleditor inside the .show()