Преглед на файлове

Apply suggestions from code review

Grammar.

Piotrek Koszuliński преди 6 години
родител
ревизия
71ce5371d0
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      docs/_snippets/framework/tutorials/inline-widget.js
  2. 2 2
      docs/framework/guides/tutorials/implementing-an-inline-widget.md

+ 1 - 1
docs/_snippets/framework/tutorials/inline-widget.js

@@ -75,7 +75,7 @@ class PlaceholderUI extends Plugin {
 				withText: true
 			} );
 
-			// Disable placeholder button when command is disabled.
+			// Disable the placeholder button when the command is disabled.
 			const command = editor.commands.get( 'placeholder' );
 			dropdownView.bind( 'isEnabled' ).to( command );
 

+ 2 - 2
docs/framework/guides/tutorials/implementing-an-inline-widget.md

@@ -581,7 +581,7 @@ export default class PlaceholderUI extends Plugin {
 				withText: true
 			} );
 
-			// Disable placeholder button when command is disabled.
+			// Disable the placeholder button when the command is disabled.
 			const command = editor.commands.get( 'placeholder' );
 			dropdownView.bind( 'isEnabled' ).to( command );
 
@@ -809,7 +809,7 @@ class PlaceholderUI extends Plugin {
 				withText: true
 			} );
 
-			// Disable placeholder button when command is disabled.
+			// Disable the placeholder button when the command is disabled.
 			const command = editor.commands.get( 'placeholder' );
 			dropdownView.bind( 'isEnabled' ).to( command );