【发布时间】:2014-10-16 07:11:04
【问题描述】:
我在使用 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>
<script>
// Turn off automatic editor creation first.
CKEDITOR.disableAutoInline = true;
CKEDITOR.inline( 'editor1' );
</script>
【问题讨论】:
-
因为这显然不是正常的行为,所以你必须做一些事情来导致它,所以你需要显示所有 相关 代码,最好是一个工作示例fiddle 或其他网页的形式。
-
这是什么浏览器?您是否收到任何控制台错误?
-
我正在使用 FF 32.0.3 和 FireBug。未发现控制台错误
标签: javascript jquery html ckeditor spaces