mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fixes for update
This commit is contained in:
parent
6d1f442d86
commit
62d29d5e49
2 changed files with 5 additions and 2 deletions
|
|
@ -244,7 +244,9 @@ export default function PdfArticleContainer(
|
|||
patch.customData.omnivoreHighight.annotation = highlight.annotation
|
||||
}
|
||||
|
||||
const annotation = PSPDFKit.Annotations.fromSerializableObject(patch)
|
||||
const annotation = PSPDFKit.Annotations.fromSerializableObject(
|
||||
patch
|
||||
) as Annotation
|
||||
|
||||
try {
|
||||
await instance.create(annotation)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
.PSPDFKit-Text-Markup-Inline-Toolbar-Squiggle,
|
||||
.PSPDFKit-Text-Markup-Inline-Toolbar-Strike-Out,
|
||||
.PSPDFKit-Text-Markup-Inline-Toolbar-Redaction,
|
||||
.PSPDFKit-Text-Markup-Inline-Toolbar-Underline {
|
||||
.PSPDFKit-Text-Markup-Inline-Toolbar-Underline,
|
||||
.PSPDFKit-Text-Markup-Inline-Toolbar-Comment {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue