assets/scripts/medium-insert/images.js
function(buttonLabels){
			var label = 'Img';
			if (buttonLabels === 'fontawesome' || typeof buttonLabels === 'object' && !!(buttonLabels.fontawesome)) {
				label = '<i class="fa fa-picture-o"></i>';
			}
			
			if (typeof buttonLabels === 'object' && buttonLabels.img) {
				label = buttonLabels.img;
			}

			return '<button data-addon="images" data-action="add" class="medium-editor-action mediumInsert-action">'+label+'</button>';
		}
function(buttonLabels){
			var label = 'Img';
			if (buttonLabels === 'fontawesome' || typeof buttonLabels === 'object' && !!(buttonLabels.fontawesome)) {
				label = '<i class="fa fa-picture-o"></i>';
			}
			
			if (typeof buttonLabels === 'object' && buttonLabels.img) {
				label = buttonLabels.img;
			}

			return '<button data-addon="images" data-action="add" class="medium-editor-action mediumInsert-action">'+label+'</button>';
		}
function ( buttonLabels ) { var label = 'Img' ; if ( buttonLabels === 'fontawesome' || typeof buttonLabels === 'object' && ! ! ( buttonLabels . fontawesome ) ) { label = '<i class="fa fa-picture-o"></i>' ; } if ( typeof buttonLabels === 'object' && buttonLabels . img ) { label = buttonLabels . img ; } return '<button data-addon="images" data-action="add" class="medium-editor-action mediumInsert-action">' + label + '</button>' ; }
Returns insert button

@param {string} buttonLabels
@return {string}
Returns insert button