Closed bfahrenfort closed 1 year ago
This is the object that currently gets created when I use the Typewriter mode, rather than the freetext I specify to create:
[
{
"type": "image",
"color": "#ffd400",
"position": {
"pageIndex": 0,
"rects": [
[
355.404,
114.894,
519.319,
144.766
]
]
},
"text": "",
"comment": "",
"tags": [],
"id": "EAI3CTGM",
"dateCreated": "2023-05-16T22:49:37.470Z",
"dateModified": "2023-05-16T22:49:37.470Z",
"authorName": "John",
"isAuthorNameAuthoritative": true,
"pageLabel": "1",
"sortIndex": "00000|003887|00647",
"image": <a stupidly long hash>
}
]
Already implemented. But thanks anyway.
A lot of people (including myself) want to see the Typewriter annotation from pdf.js implemented in Zotero. I don't know enough about the viewer application to complete it, but this is what I have so far.
New annotation type:
freetext
New editor mode:
typewriter
image
(a highlight box), not afreetext
for some reason (I've been basing my implementation off of theimage
's methods, so I may have missed some call to actually create the annotation somewhere)New icon:
IconFreetext
Other issues:
Help is appreciated--I'd love to see this feature as it would mean I don't have to swap to Okular or something else with just a hint more functionality than Zotero to finish out my workflow.