我不断地尝试,现在你解决了我一直遇到的这个完全令人沮丧的情况。我正在尝试让 ckEditor 在 jQuery UI 对话框中工作。编辑器被完美地包含在内,它用 ckeditor 皮肤替换了文本区域,但我无法在内容 block 中编辑/添加内容。我现在看到的唯一可行的解决方案是,如果我在编辑器中单击“源代码”并取消单击它,我就可以向其中添加内容。
我的暗示纯粹只是<script type='text/javascript' src='ckeditor/ckeditor.js'></script>
我没有添加任何额外的信息/代码。有什么想法吗?
最佳答案
有同样的问题,
从模态中删除效果有帮助: 已删除:
show: "scale",
hide: "puff",
现在我的通话如下所示:
$("#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');
}
}
});
关于jquery - ckeditor 和 jquery UI 对话框不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9399793/