Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This plugin causes comments within zotero7 to not show up #90

Closed
MXS81 opened this issue Nov 1, 2024 · 2 comments
Closed

This plugin causes comments within zotero7 to not show up #90

MXS81 opened this issue Nov 1, 2024 · 2 comments

Comments

@MXS81
Copy link

MXS81 commented Nov 1, 2024

Using this plugin causes in-software annotations not to be displayed in the sidebar, including the highlighted portion of the body annotations. The annotations are actually generated.

@dstillman
Copy link

We received another report that this plugin is causing annotations not to show up:

https://forums.zotero.org/discussion/119784/the-annotations-in-the-pdf-have-disappeared

@MuiseDestiny, could you fix this and push a new version?

@MuiseDestiny
Copy link
Owner

MuiseDestiny commented Nov 19, 2024

In fact, the plugin provides an option to only display the figure/table annotation, which will hide the user's annotations, and the user may forget to turn off this option. For this reason, I added the following code in latest version to automatically help the user switch to the appropriate view:

Zotero.Reader.registerEventListener("renderTextSelectionPopup", (event) => {
  const {reader} = event
  if (this.view == "Figure") {
    this.switchToView(reader, "All")
  }
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants