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

Improved docs in DocumentSelection.

Szymon Kupś 8 лет назад
Родитель
Сommit
83f2a97e5d
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      packages/ckeditor5-engine/src/model/documentselection.js

+ 4 - 1
packages/ckeditor5-engine/src/model/documentselection.js

@@ -999,8 +999,11 @@ function getAttrsIfCharacter( node ) {
 }
 
 // Removes selection attributes from element which is not empty anymore.
+//
+// @private
+// @param {module:engine/model/model~Model} model
+// @param {module:engine/model/batch~Batch} batch
 function clearAttributesStoredInElement( model, batch ) {
-	// Clear attributes stored in selection;
 	const differ = model.document.differ;
 
 	for ( const entry of differ.getChanges() ) {