8
0
Szymon Kupś 9 лет назад
Родитель
Сommit
ee622dcebb

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

@@ -12,7 +12,7 @@ const DEFAULT_PRIORITY = 10;
 
 /**
  * Attributes are elements which define document presentation. They are mostly elements like `<b>` or `<span>`.
- * Attributes can be broken and merged by the {@link engine.view.writer writer}.
+ * Attributes can be broken and merged by the {@link engine.view.writer view writer}.
  *
  * Editing engine does not define fixed HTML DTD. This is why the type of the {@link engine.view.Element} need to
  * be defined by the feature developer. Creating an element you should use {@link engine.view.ContainerElement}

+ 2 - 2
packages/ckeditor5-engine/src/view/containerelement.js

@@ -21,8 +21,8 @@ import Element from './element.js';
  * DOM properly. {@link engine.view.DomConverter} will ensure that `ContainerElement` is editable and it is possible
  * to put caret inside it, even if the container is empty.
  *
- * Secondly, {@link engine.view.writer writer} uses this information.
- * Nodes {@link engine.view.writer.breakAt breaking} and {@link engine.view.writer#mergeAt merging}
+ * Secondly, {@link engine.view.writer view writer} uses this information.
+ * Nodes {@link engine.view.writer.breakAt breaking} and {@link engine.view.writer.mergeAt merging}
  * is performed only in a bounds of a container nodes.
  *
  * For instance if `<p>` is an container and `<b>` is attribute:

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

@@ -171,7 +171,7 @@ export function insert( position, nodes ) {
 
 	if ( !container ) {
 		/**
-		 * Position container cannot be found.
+		 * Position's parent container cannot be found.
 		 *
 		 * @error view-writer-invalid-position-container
 		 */
@@ -942,7 +942,7 @@ function validateRangeContainer( range ) {
 		/**
 		 * Range container is invalid. This can happen if {@link engine.view.Range#start range start} and
 		 * {@link engine.view.Range#end range end} positions are not placed inside same container or
-		 * parent container for this positions cannot be found.
+		 * parent container for these positions cannot be found.
 		 *
 		 * @error view-writer-invalid-range-container
 		 */