如何在tinyMCE中成功集成文件管理器



我正在为我的项目使用tinyMCE,我想将文件管理器插件集成到其中,以提及我正在开发localhost(xampp)。我的插件和上传目录文件夹的结构: xampp/htdocs/tutorials/js/tinymce/plugins/filemanagerxampp/htdocs/tutorials/js/tinymce/images

$base_url="http://localhost/tutorials"; //url base of site if you want only relative url leave empty
$upload_dir = './js/tinymce/images/'; // path from base_url to upload base dir
$current_path = '../../../../images/'; // relative path from filemanager folder to upload files folder

但是当我在 tinymce 编辑器中单击文件管理器按钮时,文件管理器弹出窗口显示错误

有错误!根文件夹不存在。

查看此评论和您提供的路径,您应该只备份两个级别,而不是四个级别?另外,您确定应该以/结束它吗?

$current_path = '../../images/'; // relative path from filemanager folder to upload files folder

相关内容

最新更新