diff --git a/docs/api/nodes/image.md b/docs/api/nodes/image.md index 3dc10e4be..1e1726cb1 100644 --- a/docs/api/nodes/image.md +++ b/docs/api/nodes/image.md @@ -50,7 +50,7 @@ Image.configure({ Makes the current node an image. ```js -editor.commands.setImage({ src: 'https://example.com/foobar.png') +editor.commands.setImage({ src: 'https://example.com/foobar.png' }) editor.commands.setImage({ src: 'https://example.com/foobar.png', alt: 'A boring example image', title: 'An example' }) ```