gpt4 book ai didi

javascript - ckeditor: "a is undefined"

转载 作者:数据小太阳 更新时间:2023-10-29 04:01:27 25 4
gpt4 key购买 nike

我刚刚将 CKEditor 添加到我的网站,但我的控制台出现以下错误:

http://i.imgur.com/p4c3J4E.png

我关注了 installation guide正如它所写的那样,所以我不知道出了什么问题。

下面是我的电话的简要情况:

<textarea id="full-editor" name="full-editor" rows="10" columns="6"></textarea>

<script type="text/javascript">
CKEDITOR.replace('#full-editor');
</script>

最佳答案

啊..试试这个

CKEDITOR.replace('#full-editor'); 中的选择器中删除 #

根据您分享的安装指南,这就是您所需要的

CKEDITOR.replace('full-editor'); // NO #. You must have got confused with jQuery

关于javascript - ckeditor: "a is undefined",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26597939/

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