Browse Source

Fix syntax error

matteo030 7 years ago
parent
commit
3ca4523d10
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-media-embed/docs/features/media-embed.md

+ 1 - 1
packages/ckeditor5-media-embed/docs/features/media-embed.md

@@ -304,7 +304,7 @@ using this code snippet:
 		// to discover the media.
 		const anchor = document.createElement( 'a' );
 
-		anchor.setAttribute( 'href', element.getAttribute( 'url ') );
+		anchor.setAttribute( 'href', element.getAttribute( 'url') );
 		anchor.className = 'embedly-card';
 
 		element.appendChild( anchor );