8
0
فهرست منبع

Improved docs in DocumentSelection.

Szymon Kupś 8 سال پیش
والد
کامیت
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.
 // 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 ) {
 function clearAttributesStoredInElement( model, batch ) {
-	// Clear attributes stored in selection;
 	const differ = model.document.differ;
 	const differ = model.document.differ;
 
 
 	for ( const entry of differ.getChanges() ) {
 	for ( const entry of differ.getChanges() ) {