Javascript 不能按空格键CKEDITOR inline
我在使用ckeditor 4(内联模式)时遇到问题。我可以单击一个div并编辑它,但我不能按空格键。请告诉我如何解决这个问题 这是我的密码Javascript 不能按空格键CKEDITOR inline,javascript,jquery,html,ckeditor,spaces,Javascript,Jquery,Html,Ckeditor,Spaces,我在使用ckeditor 4(内联模式)时遇到问题。我可以单击一个div并编辑它,但我不能按空格键。请告诉我如何解决这个问题 这是我的密码 <div id="editor1" contenteditable="true"> <h1>Inline Editing in Action!</h1> <p>The "div" element that contains this text is now editable. </div&
<div id="editor1" contenteditable="true">
<h1>Inline Editing in Action!</h1>
<p>The "div" element that contains this text is now editable.
</div>
<script>
// Turn off automatic editor creation first.
CKEDITOR.disableAutoInline = true;
CKEDITOR.inline( 'editor1' );
</script>
在线编辑开始了!
包含此文本的“div”元素现在是可编辑的。
//首先关闭自动编辑器创建。
CKEDITOR.disableAutoInline=true;
CKEDITOR.inline('editor1');
我也遇到了同样的问题,经过数小时的研究,我发现是jquery.hotkeys.js导致了这个问题
尝试删除对jquery热键的任何引用,看看它是否有效,因为这显然不是正常行为,所以您必须做一些事情来导致它,所以您需要显示所有相关代码,最好是以a或其他网页的形式显示一个工作示例。这是什么浏览器?你有任何控制台错误吗?我在使用FF 32.0.3和FireBug。未找到控制台错误