浏览代码

Updated to latest changes on master.

Kuba Niegowski 5 年之前
父节点
当前提交
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;
 	}