8
0
Maciej Bukowski 7 лет назад
Родитель
Сommit
86f3d99bd0

+ 2 - 2
packages/ckeditor5-engine/src/model/document.js

@@ -407,9 +407,9 @@ export default class Document {
 	 * The changes which this event will cover include:
 	 *
 	 * * document structure changes,
-	 * * marker changes, which affects the data model.
+	 * * marker changes (which affects the data).
 	 *
-	 * If you want to be notified about the document's model changes, then simply listen to this event like this:
+	 * If you want to be notified about the data changes, then simply listen to this event like this:
 	 *
 	 *		model.document.on( 'change:data', () => {
 	 *			console.log( 'The document's data has changed!' );

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

@@ -930,12 +930,12 @@ export default class Writer {
 
 		if ( !hasUsingOperationDefined && !options.range && !affectsDataDefined ) {
 			/**
-			 * One of options is required - provide range, usingOperations or affectsData.
+			 * One of the options is required - provide range, usingOperations or affectsData.
 			 *
 			 * @error writer-updateMarker-wrong-options
 			 */
 			throw new CKEditorError(
-				'writer-updateMarker-wrong-options: One of options is required - provide range, usingOperations or affectsData.'
+				'writer-updateMarker-wrong-options: One of the options is required - provide range, usingOperations or affectsData.'
 			);
 		}