Comments (9)
from box-annotations.
Hey Brian!
What version of Preview are you using? I am not able to reproduce this on the latest version of Preview.
Thanks!
from box-annotations.
Ah. Looks like we're missing some safety checks when checking if you're clicking on a draw annotation and you haven't added any drawings yet. I was able to see the error being thrown in the console (fixed by #87), but the error didn't prevent the creation of highlights. You mentioned it was blocking your highlights from being created?
Thanks for reporting it! I'll let you know as soon as this change makes it live.
from box-annotations.
Sorry, this accidentally got closed with my pull request. It should be fixed with Preview v1.23.1
from box-annotations.
from box-annotations.
Hey @Blackbaud-BrianSchalk,
This codepen example should show you how to enable/disable all the different types including a working version of highlight annotations. Just swap in your access token and file id in the example.
https://codepen.io/box-platform/pen/4fd06b49a729719b48cb5ea1a0267bc0/
from box-annotations.
from box-annotations.
Do you have download permissions on your file? If that's the case, the text layer on the document is not accessible so highlighting is disabled.
If you see the token scopes (https://developer.box.com/docs/annotations#section-access-token), you need the item_download scope in order to select/highlight text.
from box-annotations.
from box-annotations.
Related Issues (11)
- Unable to post annotations from Safari on iOS HOT 2
- Action required: Greenkeeper could not be activated 🚨 HOT 1
- Action required: Greenkeeper could not be activated 🚨
- unable to pick css from import 'box-ui-elements/dist/picker.css'; HOT 1
- Box crashes when trying to hide preview while file is loading
- Can't close point annotation popover
- how to run test/index.html file ?
- scrolling by touchscreen is not working after draw annotation
- Annotation comment not shown on hover for highlights when annotations are read-only HOT 3
- Annotations CSS for modals affects non-annotations modals
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box-annotations.