@@ -50,7 +50,7 @@ Image.configure({
|
|||||||
Makes the current node an image.
|
Makes the current node an image.
|
||||||
|
|
||||||
```js
|
```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' })
|
editor.commands.setImage({ src: 'https://example.com/foobar.png', alt: 'A boring example image', title: 'An example' })
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user