mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
refactoring
This commit is contained in:
parent
97450ebafd
commit
55ba1ea4f9
@ -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 }),
|
||||
)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user