Replies: 1 comment 8 replies
-
Did you check if |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to do two things to an image annotation that is programatically added :
adding an event handler on clicking the annotation:
document.querySelector('div.stampEditor')?.addEventListener('click', (evt) => {console.log("clicked annotation")});
removing the "Add Alt text" and "remove" icons from the image annotation:
document.querySelector('div.editToolbar').style.display = "none";
However both these don't seem to work - I spent hours trying to debug this but couldn't get anywhere. Maybe I am missing something very simple - so would appreciate if somebody could point out what's wrong.
Beta Was this translation helpful? Give feedback.
All reactions