CKEditor 与 CKFinder - 禁用文件浏览器、保留上传功能

发布于 2024-09-16 21:01:27 字数 102 浏览 2 评论 0原文

我正在使用 CKEditor 中集成的 CKFinder。 我想保持上传功能处于活动状态,但废弃浏览服务器选项,因为我不希望用户这样做。

我该怎么做?

谢谢。

I am using CKFinder integrated in CKEditor.
I want to keep the Upload feature active, but scrap the Browse Server option as I don't want users doing this.

How can I do this?

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尐籹人 2024-09-23 21:01:27

简写是在设置 CKFinder 与 CKEditor 集成后,覆盖 FileBrowser 的 URL:

//Prevent the fileBrowser button and option
$CKEditor->config['filebrowserBrowseUrl']='';
$CKEditor->config['filebrowserImageBrowseUrl']='';
$CKEditor->config['filebrowserFlashBrowseUrl']='';

The shorthand is after you setup the CKFinder integration with CKEditor, override the URLs to the FileBrowser:

//Prevent the fileBrowser button and option
$CKEditor->config['filebrowserBrowseUrl']='';
$CKEditor->config['filebrowserImageBrowseUrl']='';
$CKEditor->config['filebrowserFlashBrowseUrl']='';
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文