文本编辑器在 javascript div 弹出窗口中不起作用

发布于 2024-09-24 11:53:37 字数 112 浏览 1 评论 0原文

当我尝试将社交引擎与 ckeditor 集成时(社交引擎样式是弹出更新),我在弹出窗口中加载了 ckeditor,但它没有聚焦文本区域,我认为 javascript 文件彼此冲突,请问有人知道吗?告诉我解决方案

when i try to integrate the social engine with ckeditor ( social engine style is pop up update ) i load the ckeditor in the pop up but it does not focusing the text area i think the javascript files are conflict with each other is any one kanow please tell me the solution

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挖鼻大婶 2024-10-01 11:53:37

我不太确定你遇到了什么问题。但是,我确实在 jqueryui 模式对话框中使用 ckeditor 时遇到了问题。为了让它正常工作,我必须实现对话框打开方法并在打开方法中实例化 ckeditor。

像这样的事情:

$( "#dialog" ).dialog({
    open: function(){
        //create ckeditor instance here
    }
});

也许您在使用 ckeditor 时遇到了类似的问题。

I'm not exactly sure what you are having a problem with. However, I did have a problem with ckeditor inside of a jqueryui modal dialog. For it to work right, I had to implement the dialog open method and instantiate the ckeditor in the open method.

Something like this:

$( "#dialog" ).dialog({
    open: function(){
        //create ckeditor instance here
    }
});

Maybe you are having a similar issue with ckeditor.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文