ckeditor和jquery UI对话框不起作用 [英] ckeditor and jquery UI dialog not working

查看:92
本文介绍了ckeditor和jquery UI对话框不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无休止地尝试着,现在您解决了我遇到的这种令人沮丧的情况.我试图让ckEditor在jQuery UI对话框中工作.完美地包含了该编辑器,它用ckeditor皮肤替换了textarea,但是我无法在内容块中编辑/添加内容.我现在看到的唯一可行的解​​决方案是,如果在编辑器中单击源代码"并取消单击它,则可以向其中添加内容.

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.

我的意思仅仅是<script type='text/javascript' src='ckeditor/ckeditor.js'></script>,而我没有添加任何其他信息/代码.有什么想法吗?

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?

推荐答案

有同样的问题,

从模态中消除效果有助于: 已删除:

removing effects from modal helped : Removed :

show: "scale",
hide: "puff",

现在我的呼叫看起来像这样:

Now my call looks like this :

$("#report").dialog({
        title: "<?php echo caption("REPORT_EDITOR"); ?>",
        bgiframe: true,
          autoOpen: false,
          width: 990,
          height: 620,
          modal: true,

          draggable: true,
          resizable: true,
          resizeStop: function(event, ui) {
              var y = $(event.target).height();
              repEditor.resize( "99%", y - 10 );
          },

          buttons: {
            'Close': function() {
              $(this).dialog('close');
            }
          } 
        });

这篇关于ckeditor和jquery UI对话框不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆