mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
annotations: set decorations to inclusiveEnd
This commit is contained in:
parent
a69c522455
commit
a34e3202e9
@ -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,
|
||||
}),
|
||||
)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user