Skip to content

Commit

Permalink
Update image.md (ueberdosis#2154)
Browse files Browse the repository at this point in the history
docs: Typo fix in docs
  • Loading branch information
georgemandis authored Nov 10, 2021
1 parent 6583ede commit 8f8450b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/nodes/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
```

Expand Down

0 comments on commit 8f8450b

Please sign in to comment.