diff --git a/docs/src/demos/Experiments/Figure/figure.ts b/docs/src/demos/Experiments/Figure/figure.ts index f6f971db..e5628295 100644 --- a/docs/src/demos/Experiments/Figure/figure.ts +++ b/docs/src/demos/Experiments/Figure/figure.ts @@ -31,7 +31,6 @@ export const Figure = Node.create({ name: 'figure', defaultOptions: { - // inline: false, HTMLAttributes: {}, }, @@ -97,10 +96,7 @@ export const Figure = Node.create({ type: this.name, attrs, content: caption - ? [{ - type: 'text', - text: caption, - }] + ? [{ type: 'text', text: caption }] : [], }) // set cursor at end of caption field