Преглед на файлове

ChangeOperation._execute fixed condition.

Szymon Cofalik преди 10 години
родител
ревизия
6c087b863a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-utils/src/document/operation/changeoperation.js

+ 1 - 1
packages/ckeditor5-utils/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 ) ) {
 						/**