Browse Source

Added comment to link FF issue.

Maciej Bukowski 7 years ago
parent
commit
699d48a525
1 changed files with 2 additions and 0 deletions
  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.