简体   繁体   中英

Can not press space key CKEDITOR inline

I have an issue when using ckeditor 4 ( inline mode). I can click a div and edit it, but I cant press space key. Please tell me how to fix this. 在此处输入图片说明

Here is my code

<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>

I had same issue, after hours of research figured out that jquery.hotkeys.js is causing the issue.

Try removing any reference to jquery hot keys and see if it works,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM