annotations: set decorations to inclusiveEnd

This commit is contained in:
Hans Pagel 2021-02-12 15:18:30 +01:00
parent a69c522455
commit a34e3202e9

View File

@ -101,7 +101,11 @@ export class AnnotationState {
}
return decorations.push(
Decoration.inline(from, to, HTMLAttributes, { id, data: annotation.data }),
Decoration.inline(from, to, HTMLAttributes, {
id,
data: annotation.data,
inclusiveEnd: true,
}),
)
})