add some random image
This commit is contained in:
@@ -33,7 +33,7 @@ export default {
|
|||||||
],
|
],
|
||||||
content: `
|
content: `
|
||||||
<p>This is basic example of implementing images. Try to drop new images here. Reordering also works.</p>
|
<p>This is basic example of implementing images. Try to drop new images here. Reordering also works.</p>
|
||||||
<img src="https://66.media.tumblr.com/dcd3d24b79d78a3ee0f9192246e727f1/tumblr_o00xgqMhPM1qak053o1_400.gif" />
|
<img src="https://source.unsplash.com/8xznAGy4HcY/800x600" />
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -109,6 +109,11 @@ code {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ const Image = createNode({
|
|||||||
|
|
||||||
group: 'inline',
|
group: 'inline',
|
||||||
|
|
||||||
|
draggable: true,
|
||||||
|
|
||||||
addAttributes() {
|
addAttributes() {
|
||||||
return {
|
return {
|
||||||
src: {
|
src: {
|
||||||
|
|||||||
Reference in New Issue
Block a user