﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13895	Add a hook to allow use of a javascript image/upload and file browser	hmoore71		"this is what I did to {{{plugins/filebrowse/plugin.js}}}

{{{ 
function browseServer() {             
     //mappro modification
     if (typeof editor.mappro === 'object'){
          var q = new BrowseImagesDialog(editor.mappro.options.args, editor, params.CKEditorFuncNum);
     }else{
         // TODO: V4: Remove backward compatibility (#8163).
         editor.popup(url, ..........
     }
}
}}}
--------------------------------------------------
{{{     
 var editor = $('.desc').ckeditor().editor;
 editor.mappro = mappro;
}}}
--------------------------------------------------
I will be using this in my Wordpress plugin IBS Mappro. I am also working on an upload too.

I would like the hook integrated more robustly though;
{{{
     if(typeof editor.userHookBrowser === 'object'){

     new editor.userHookBrowser.dialog(editor.userHookBowser.options, params.CKEditorFuncNum)
}}}"	New Feature	confirmed	Normal		File Browser	4.0			
