Update image.md (#2154)

docs: Typo fix in docs
This commit is contained in:
George Mandis 2021-11-09 22:30:41 -08:00 committed by GitHub
parent 6583edeb1f
commit 8f8450be62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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' })
```