Piotrek Koszuliński пре 6 година
родитељ
комит
f9722c0bd0
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      packages/ckeditor5-engine/src/view/document.js

+ 1 - 0
packages/ckeditor5-engine/src/view/document.js

@@ -130,6 +130,7 @@ export default class Document {
 	 *			const modelSelection = editor.model.document.selection;
 	 *
 	 *			if ( modelSelection.hasAttribute( 'linkHref' ) ) {
+	 *				// Get a range containing the entire link in which the given selection is placed.
 	 *				const modelRange = findLinkRange( modelSelection );
 	 *				const viewRange = editor.editing.mapper.toViewRange( modelRange );
 	 *