set inclusiveEnd for decorations

This commit is contained in:
Philipp Kühn 2021-02-12 15:13:40 +01:00
parent 55ba1ea4f9
commit 262a1c9815

View File

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