Browse Source

Typo fix.

Maciej Gołaszewski 5 năm trước cách đây
mục cha
commit
c748cdd5bd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/ckeditor5-link/src/linkui.js

+ 1 - 1
packages/ckeditor5-link/src/linkui.js

@@ -175,7 +175,7 @@ export default class LinkUI extends Plugin {
 			const { value } = formView.urlInputView.fieldView.element;
 
 			// The regex checks for the protocol syntax ('xxxx://' or 'xxxx:')
-			// or non-word charecters at the begining of the link ('/', '#' etc.).
+			// or non-word characters at the beginning of the link ('/', '#' etc.).
 			const isProtocolNeeded = !!defaultProtocol && !protocolRegExp.test( value );
 			const isEmail = emailRegExp.test( value );