Explorar o código

Updated to latest changes on master.

Kuba Niegowski %!s(int64=5) %!d(string=hai) anos
pai
achega
be65b28d4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/ckeditor5-link/src/linkediting.js

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

@@ -514,7 +514,7 @@ function shouldCopyAttributes( model ) {
 	}
 
 	// ...or it isn't the text node...
-	if ( !nodeAtFirstPosition.is( 'text' ) ) {
+	if ( !nodeAtFirstPosition.is( '$text' ) ) {
 		return false;
 	}