ckeditor - 无法使用 JS 更改工具栏
有人可以解释为什么这不会改变工具栏吗?
我已经使用了示例代码并遵循了可下载存档中提供的示例,但仍然没有任何乐趣 - 任何想法。
我已将代码添加到此处:- http://pastebin.com/YXiNjh7A
Can someone explain why this isn't changing the toolbar?
I have used the sample code and followed the example that is provided within the downloadable archive but still have not had any joy - any ideas.
I have added the code to pastebin here :-
http://pastebin.com/YXiNjh7A
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您在第 6 行对 CKEDITOR.replace 的调用失败,因为 textarea 尚不存在,然后它会被自动替换(使用默认设置),因为它具有“ckeditor”类
,请使用 Doctype,我们'不是1995年。
Your call to CKEDITOR.replace at line 6 is failing because the textarea doesn't exist yet, and then it's being automatically being replaced (with the default settings) because it has the class "ckeditor"
And please, use a Doctype, we're not in 1995.