Ckeditor 无法读取属性';getDirection';未定义的

Ckeditor 无法读取属性';getDirection';未定义的,ckeditor,Ckeditor,使用ckeditor 4.4.7,我不断得到以下错误。。。有人知道我需要修理什么吗 Cannot read property 'getDirection' of undefined Cannot read property 'allow' of undefined 我正在使用CKEDITOR.inline(DIVid,config)创建修改 具有contenteditable='true'属性的DIV您可以尝试以下方法: <div id="editor1" contenteditabl

使用ckeditor 4.4.7,我不断得到以下错误。。。有人知道我需要修理什么吗

Cannot read property 'getDirection' of undefined 
Cannot read property 'allow' of undefined
我正在使用CKEDITOR.inline(DIVid,config)创建修改 具有contenteditable='true'属性的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”元素现在是可编辑的。
或者这个:

<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');
希望两者都能帮助你。如果没有,则在调用事件(document.ready())之前确保div在页面上,并确保在调用CKEDITOR之前加载了所有脚本

资料来源: