W.I.P. implementing TinyMCE editor and deprecating CKEditor:

- Implement vfs file selector
- Add/remove more actions from toolbar
This commit is contained in:
Hadi Nategh
2018-10-23 13:04:20 +02:00
parent 987727f5fa
commit f62c5d8ea5
4 changed files with 41 additions and 10 deletions

View File

@ -526,7 +526,7 @@ class Vfs extends File
'app' => self::get_apps()
));
if ($content['method'] === 'ckeditor')
if ($content['method'] === 'download')
{
$download_baseUrl = \EGroupware\Api\Vfs::download_url($content['path']);
if ($download_baseUrl[0] == '/') $download_baseUrl = \EGroupware\Api\Egw::link($download_baseUrl);