add image url as default caption
This commit is contained in:
parent
1679c8289d
commit
d61a1ba303
|
@ -134,7 +134,8 @@ export const Figure = Node.create<FigureOptions>({
|
|||
type: this.name,
|
||||
attrs: {
|
||||
src: node.attrs.src
|
||||
}
|
||||
},
|
||||
content: [{ type: 'text', text: node.attrs.src }]
|
||||
})
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user