8
0
Просмотр исходного кода

Apply suggestions from code review

Grammar.

Piotrek Koszuliński 6 лет назад
Родитель
Сommit
71ce5371d0

+ 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 );