8
0
Эх сурвалжийг харах

Fixed docs in view.Writer.

Szymon Kupś 8 жил өмнө
parent
commit
4f5eeaffb7

+ 1 - 1
packages/ckeditor5-engine/src/view/writer.js

@@ -608,7 +608,7 @@ export default class Writer {
      * Wraps elements within range with provided {@link module:engine/view/attributeelement~AttributeElement AttributeElement}.
      * If a collapsed range is provided, it will be wrapped only if it is equal to view selection.
      *
-     * If `viewSelection` was set and a collapsed range was passed, if the range is same as selection, the selection
+     * If a collapsed range was passed and is same as selection, the selection
      * will be moved to the inside of the wrapped attribute element.
      *
      * Throws {@link module:utils/ckeditorerror~CKEditorError} `view-writer-invalid-range-container`