8
0
Просмотр исходного кода

Updated to latest changes on master.

Kuba Niegowski 5 лет назад
Родитель
Сommit
be65b28d4d
1 измененных файлов с 1 добавлено и 1 удалено
  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;
 	}