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

Added comment to link FF issue.

Maciej Bukowski 8 лет назад
Родитель
Сommit
699d48a525
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      packages/ckeditor5-engine/src/view/domconverter.js

+ 2 - 0
packages/ckeditor5-engine/src/view/domconverter.js

@@ -982,6 +982,8 @@ export default class DomConverter {
 			data = data.replace( / $/, '' );
 		}
 
+		// Firefox inserts whitespace and <br> instead of non-breaking space. To prevent normal space from
+		// being removed inline filler is removed after first string replaces. See ckeditor5#692.
 		data = getDataWithoutFiller( new Text( data ) );
 
 		// At this point we should have removed all whitespaces from DOM text data.