浏览代码

Fix syntax error

matteo030 7 年之前
父节点
当前提交
3ca4523d10
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 );