ckeditor 和 jquery UI 对话框不工作
我不断地尝试,现在你解决了我一直遇到的这个完全令人沮丧的情况。我试图让 ckEditor 在 jQuery UI 对话框中工作。编辑器完美包含在内,它用 ckeditor 皮肤替换了文本区域,但我无法在内容块中编辑/添加内容。我现在看到的唯一可行的解决方案是,如果我单击编辑器中的“源代码”并取消单击它,我就可以向其中添加内容。
我的实现纯粹只是 并且我没有添加任何其他信息/代码。有什么想法吗?
I tried endlessly now you resolve this utter frustrating situation I have been having. I am trying to get ckEditor to work within a jQuery UI dialog box. The editor is included perfectly, and it replaces the textarea with the ckeditor skin, but I am unable to edit/add content in the content block. The only working solution I have seen now was if I click on "Source Code" within the editor and unclick it, I am able to add content to it.
My implimentation was purely just <script type='text/javascript' src='ckeditor/ckeditor.js'></script>
and I have not added any additional information / code. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
遇到了同样的问题,
从模态中删除效果有帮助:
已删除:
现在我的通话如下所示:
Had the same issue,
removing effects from modal helped :
Removed :
Now my call looks like this :
对于 jQuery-UI (1.10+) 和 jQuery (1.10+) 版本以及 CKEditor 3.6,这个解决方案似乎有效:
您可以在线编辑文件(不推荐),或者只是覆盖默认值jQuery-UI 功能位于单独的 JS 文件中,该文件在 jQuery-UI 之后、创建对话框之前加载。
For versions of jQuery-UI (1.10+) and jQuery (1.10+), and CKEditor 3.6, this solution seems to work:
You can either edit the file in-line (not recommended), or just override the default jQuery-UI functionality in a separate JS file that is loaded after jQuery-UI, but before the dialog is created.
作为保留“表演”和“表演”的替代方案。 “隐藏”动画,在“显示”事件完成后创建编辑器实例,并使用完整的回调函数:“显示”选项
As an alternative to keep the "show" & "hide" animation, create your editor instance after the "show" event finishes with a callback function for the complete: option of "show"