gpt4 book ai didi

javascript - CKEditor 不工作(灰色按钮)

转载 作者:行者123 更新时间:2023-11-30 10:03:43 26 4
gpt4 key购买 nike

我正在测试 CKEditor 的配置,但我不能打字,按钮是这样的:

Grayed buttons

这是在 Chrome 42.0.2311.152 m(64 位)上,但同样发生在 Firefox 和 IE 上。

这是我加载 CKEditor 的方式:

<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="ckeditor.js"></script>
</head>
<body>
<textarea id="teste"></textarea>
<script>
CKEDITOR.replace('teste');
</script>
</body>
</html>

这是我的 CKEditor 构建的链接:link

此外,这是我尝试单击两个下拉菜单之一或两个可单击按钮之一时得到的结果:

Error

这是 ckeditor.js:618 行:

showBlock:function(a,b,c,i,f,h){var j=this._.panel,l=j.showBlock(a);this.allowBlur(!1);a=this._.editor.editable();this._.returnFocus=a.hasFocus?a:new CKEDITOR.dom.element(CKEDITOR.document.$.activeElement);this._.hideTimeout=0;var d=this.element,a=this._.iframe,a=CKEDITOR.env.ie?a:new CKEDITOR.dom.window(a.$.contentWindow),g=d.getDocument(),o=this._.parentElement.getPositionedAncestor(),p=b.getDocumentPosition(g),g=o?o.getDocumentPosition(g):{x:0,y:0},m="rtl"==this._.dir,e=p.x+(i||0)-g.x,k=p.y+(f||

抱歉,如果我遗漏了什么,我不是一个很好的程序员。有人可以帮帮我吗?

最佳答案

这个包坏了!您可以通过直接转到 ckeditor/samples/jquery.html 来查看 - 结果相同。

我刚刚下载了新的 CKEditor 4.4.7 版标准包(来自 http://ckeditor.com/download ),它工作得很好。尝试做同样的事情 ;)

关于javascript - CKEditor 不工作(灰色按钮),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30357010/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com