浏览代码

Update comment.

Maciej Gołaszewski 5 年之前
父节点
当前提交
64ae08b149

+ 1 - 1
packages/ckeditor5-engine/src/conversion/downcastdispatcher.js

@@ -285,7 +285,7 @@ export default class DowncastDispatcher {
 	 *
 	 * @fires insert
 	 * @fires attribute
-	 * @param {module:engine/model/range~Range} range The inserted range.
+	 * @param {module:engine/model/range~Range} range The inserted range (must contain only one element).
 	 * @param {String} name Name of main item to refresh.
 	 * @param {module:engine/view/downcastwriter~DowncastWriter} writer The view writer that should be used to modify the view document.
 	 */

+ 2 - 1
packages/ckeditor5-table/src/converters/table-cell-refresh-post-fixer.js

@@ -50,7 +50,8 @@ function tableCellRefreshPostFixer( differ, mapper ) {
 	}
 
 	// Always return false to prevent the refresh post-fixer from re-running on the same set of changes and going into an infinite loop.
-	// See https://github.com/ckeditor/ckeditor5/issues/1936.
+	// This "post-fixer" does not change the model structure so there shouldn't be need to run other post-fixers again.
+	// See https://github.com/ckeditor/ckeditor5/issues/1936 & https://github.com/ckeditor/ckeditor5/issues/8200.
 	return false;
 }