text: const plugin = function(editor) {
  	const $ = editor.$
    const settings = editor.settings.google_photos
    if (!settings.open_handler) {
      return
    }
  	
    editor.addCommand('google-photos', settings.open_handler)
    editor.ui.registry.addIcon('google-photos', '<img src="../src/images/google-photos-logo.png">')
    
  	editor.ui.registry.addButton('google-photos', {
  		icon: 'google-photos',
      tooltip: 'Google Photos',
      onAction: () => {
        editor.execCommand('google-photos')
      }
  	})
  }
  
  export default plugin
  