meirankri/filesystem
Composer 安装命令:
composer require meirankri/filesystem
包简介
file manager for tinymce
README 文档
README
#File System
V1.4
Simple file system made with php and jquery work with two parameters, the first is the absolute path, second is the relative path that have to be call with the class 'FileSystem'
usage in php :
new FileSystem('C:\\your\\path', 'image');
this file system made especially for images,
to add more extension to be show, add them in the array ext,
to add it as a plugin for tiny copy this folder into plugins folder of tinymce, then add this script into the file
tinymce.init({ selector: "textarea",theme: "modern",width: 680,height: 300, plugins: [ " advlist autolink link filesystem image lists charmap print preview hr anchor pagebreak", "searchreplace wordcount visualblocks visualchars insertdatetime media nonbreaking", "table contextmenu table directionality emoticons paste textcolor code" ], toolbar1: "undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect", toolbar2: "| link unlink anchor | image media | forecolor backcolor | print preview code " });
and this style
.mce-filesystem{ width: 80% !important; left:10% !important; top: 10% !important; height: 80% !important; } .mce-filesystem .mce-container-body{ width: 100% !important; height: 100% !important; } .mce-reset{ height: 100% !important; }
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2019-02-20