소스 검색

ChangeOperation._execute fixed condition.

Szymon Cofalik 10 년 전
부모
커밋
cbedd68d96
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/ckeditor5-engine/src/document/operation/changeoperation.js

+ 1 - 1
packages/ckeditor5-engine/src/document/operation/changeoperation.js

@@ -80,7 +80,7 @@ CKEDITOR.define( [
 			}
 
 			// Remove or change.
-			if ( oldAttr !== null && newAttr === null ) {
+			if ( oldAttr !== null ) {
 				for ( value of this.range ) {
 					if ( !value.node.hasAttr( oldAttr ) ) {
 						/**