text: tinymce.PluginManager.add('imageupload', function(editor, url) {
  	editor.addButton('imageupload', {
  		tooltip: 'آپلود تصویر',
  		icon : 'image',
  		onclick: function() {
  			editor.windowManager.open({
  			title: 'آپلود تصویر',
  
  			//change this route to the one that returns the '_image-dialog.blade.php' file as a view
  			file : '../../image_upload',
  			width : 360,
  			height: 310,
  			buttons: [
  			{
  				text: 'Close',
  				onclick: 'close'
  			}]
  			});
  		}
  	});
  });