mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 19:59:02 +08:00
add some random image
This commit is contained in:
parent
fd7d0f03bd
commit
d8e82959ec
@ -33,7 +33,7 @@ export default {
|
||||
],
|
||||
content: `
|
||||
<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 {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
@ -10,6 +10,8 @@ const Image = createNode({
|
||||
|
||||
group: 'inline',
|
||||
|
||||
draggable: true,
|
||||
|
||||
addAttributes() {
|
||||
return {
|
||||
src: {
|
||||
|
Loading…
Reference in New Issue
Block a user