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

Docs (media-embed): Fixed a code snippet with command usage.

Fixed wrong command parameters.
Marek Lewandowski 5 лет назад
Родитель
Сommit
817c43054e
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

@@ -438,7 +438,7 @@ The {@link module:media-embed/mediaembed~MediaEmbed} plugin registers:
 	You can insert a new media element or update the selected media URL by executing the following code:
 
 	```js
-	editor.execute( 'mediaEmbed', { url: 'http://url.to.the/media' } );
+	editor.execute( 'mediaEmbed', 'http://url.to.the/media' );
 	```
 
 <info-box>