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

Not all notebook annotations displayed when multiple added to same node before refresh #6960

Open
dufaultc opened this issue Feb 22, 2024 · 0 comments

Comments

@dufaultc
Copy link

dufaultc commented Feb 22, 2024

When adding annotations to a Jupyter Notebook file, I have found that if adding two annotations to the same paragraph, where the second is later in the paragraph than the first, if I do not refresh the page before adding the second one, it will not appear on the notebook view. It does appear under the annotations tab.

I believe this is because the second annotation does not get assigned the correct start and end node, and thus the below error occurs.

image

Where the annotation failing to be loaded has the below information
image

Looking at the html, it appears 28 is the length of the text before the first markus annotation added, thus the second annotation is trying to be added to the wrong node, causing the error.

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

1 participant