Browse Source

Updated changes from master.

Kuba Niegowski 5 years ago
parent
commit
050689dd37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-link/src/utils.js

+ 1 - 1
packages/ckeditor5-link/src/utils.js

@@ -132,5 +132,5 @@ export function isImageAllowed( element, schema ) {
 		return false;
 	}
 
-	return element.is( 'image' ) && schema.checkAttribute( 'image', 'linkHref' );
+	return element.is( 'element', 'image' ) && schema.checkAttribute( 'image', 'linkHref' );
 }