Procházet zdrojové kódy

Update packages/ckeditor5-image/src/autoimage.js

Co-authored-by: Maciej <jodator@jodator.net>
Paweł Kwaśnik před 5 roky
rodič
revize
fbe9ae931e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/ckeditor5-image/src/autoimage.js

+ 1 - 1
packages/ckeditor5-image/src/autoimage.js

@@ -15,7 +15,7 @@ import Undo from '@ckeditor/ckeditor5-undo/src/undo';
 import global from '@ckeditor/ckeditor5-utils/src/dom/global';
 import { insertImage } from './image/utils';
 
-// implements pattern: http(s)://(www.)example.com/path/to/resource.ext?query=params&maybe=too
+// Implements the pattern: http(s)://(www.)example.com/path/to/resource.ext?query=params&maybe=too.
 const IMAGE_URL_REGEXP = new RegExp( String( /^(http(s)?:\/\/)?[\w-]+(\.[\w-]+)+[\w._~:/?#[\]@!$&'()*+,;=%-]+/.source +
 	/\.(jpg|jpeg|png|gif|ico|JPG|JPEG|PNG|GIF|ICO)\??[\w._~:/#[\]@!$&'()*+,;=%-]*$/.source ) );