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

Changed: Removed unnecessary condition.

Szymon Cofalik 8 лет назад
Родитель
Сommit
b7158bb99b
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      packages/ckeditor5-autoformat/src/blockautoformatengine.js

+ 0 - 4
packages/ckeditor5-autoformat/src/blockautoformatengine.js

@@ -68,10 +68,6 @@ export default class BlockAutoformatEngine {
 
 			for ( const entry of changes ) {
 				if ( entry.type == 'insert' && entry.name == '$text' ) {
-					if ( entry.position.root.rootName == '$graveyard' ) {
-						continue;
-					}
-
 					const item = entry.position.textNode || entry.position.nodeAfter;
 
 					if ( !item.parent.is( 'paragraph' ) ) {