Przeglądaj źródła

Set high priority to prevent ContextualToolbar from being displayed.

Oskar Wróbel 8 lat temu
rodzic
commit
8099fe4ec8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/ckeditor5-image/src/image.js

+ 1 - 1
packages/ckeditor5-image/src/image.js

@@ -54,7 +54,7 @@ export default class Image extends Plugin {
 				if ( selectedElement && isImageWidget( selectedElement ) ) {
 					evt.stop();
 				}
-			} );
+			}, { priority: 'high' } );
 		}
 	}
 }