vadimon/filemanager

A file upload/editor intended for use with Laravel 5


Keywords
file, manager, upload, filemanager, angularjs, Laravel 5.2, getuikit
License
MIT

Documentation

FileManager - laravel 5.2 + angularjs + uikit

Route::controller('filemanager', '\Vadimon\Filemanager\controllers\FileManagerController');

$(function() { var editor_config = { path_absolute : "/", selector: "textarea", height: 500, plugins: [ "table contextmenu directionality template textcolor paste fullpage textcolor colorpicker textpattern" ], toolbar1: "undo redo | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | styleselect formatselect fontselect fontsizeselect", menubar: false, relative_urls: false, file_browser_callback : function(field_name, url, type, win) { console.log(field_name); tinymce.activeEditor.windowManager.open({ file: '/admin/filemanager/wysiwyg-editor?field_name='+field_name, title: 'elFinder 2.0', width: 900, height: 450, resizable: 'yes' }, { setUrl: function (url) { win.document.getElementById(field_name).value = url; } }); return false; } };

tinymce.init(editor_config);

});