initial work on custom cmsms_filepicker (triggered with default tinymce file options) and cmsms_filebrowser (custom cmsms button) plugins. Do not touch any template or js files, it's work in progress. TO DO: please add a check against file type in action.filepicker.php, the parameter is already provided from /lib/js/tinymce/plugins/cmsms_filepicker/function.min.js through file_browser_callback tinymce function (see browser console for types, click on file picker in a link button is 'file', click on image button is 'image' click on media button is 'media')
disable newly added plugins for frontend in tinymce configuration.