diff --git a/docs/src/demos/Experiments/Annotation/extension/AnnotationState.ts b/docs/src/demos/Experiments/Annotation/extension/AnnotationState.ts index eede1f3c..c7615da8 100644 --- a/docs/src/demos/Experiments/Annotation/extension/AnnotationState.ts +++ b/docs/src/demos/Experiments/Annotation/extension/AnnotationState.ts @@ -100,7 +100,7 @@ export class AnnotationState { console.warn(`[${this.options.instance}] corrupt decoration `, annotation.from, from, annotation.to, to) } - return decorations.push( + decorations.push( Decoration.inline(from, to, HTMLAttributes, { id, data: annotation.data }), ) })