You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like this page includes some version of Quill on it. Whenever Hypothesis tries to insert a highlight on the page, the paragraph gets "sanitized" and only certain elements are retained afterwards (eg. <b> is allowed but <mark> is not).
In short, you need to get a copy of the page without JavaScript. The dumbest solution is to print/export the page to a PDF and annotate that. Ideally we'd have a built-in way to do this with Hypothesis.
In short, you need to get a copy of the page without JavaScript. The dumbest solution is to print/export the page to a PDF and annotate that. Ideally we'd have a built-in way to do this with Hypothesis.
Well, under solution I didn't mean solving my issue in particular. Instead, I was thinking about a way to get it working on telegra.ph by fixing something in Hypothesis. I think it might be important because it's a publication platform used by many.
Speaking of my specific situation and PDF. A funny thing is that a PDF - is what I had initially, but Hypothesis didn't want to work with it. I don't remember the precise error message tho, maybe it was due to its local path. So I spent an hour copy-pasting the article, paragraph after paragraph to this telegraph publication. To finally discover that Hypothesis won't work. Meh. Unlucky me.
Let me check if I can use a local PDF one more time.
Activity
robertknight commentedon Nov 21, 2023
It looks like this page includes some version of Quill on it. Whenever Hypothesis tries to insert a highlight on the page, the paragraph gets "sanitized" and only certain elements are retained afterwards (eg.
<b>
is allowed but<mark>
is not).OnkelTem commentedon Nov 22, 2023
@robertknight Thanks for the analysis. Do you have any ideas on how to work this out?
robertknight commentedon Nov 22, 2023
In short, you need to get a copy of the page without JavaScript. The dumbest solution is to print/export the page to a PDF and annotate that. Ideally we'd have a built-in way to do this with Hypothesis.
OnkelTem commentedon Nov 22, 2023
Well, under solution I didn't mean solving my issue in particular. Instead, I was thinking about a way to get it working on telegra.ph by fixing something in Hypothesis. I think it might be important because it's a publication platform used by many.
Speaking of my specific situation and PDF. A funny thing is that a PDF - is what I had initially, but Hypothesis didn't want to work with it. I don't remember the precise error message tho, maybe it was due to its local path. So I spent an hour copy-pasting the article, paragraph after paragraph to this telegraph publication. To finally discover that Hypothesis won't work. Meh. Unlucky me.
Let me check if I can use a local PDF one more time.
OnkelTem commentedon Nov 22, 2023
Nevermind, I should have read the message, haha. It clearly says I should have clicked this nice link: https://web.hypothes.is/help/annotating-locally-saved-pdfs/#2-change-your-settings-in-chrome-if-applicable
OnkelTem commentedon Nov 22, 2023
Still, I think it would be great to get Hypothesis working in all telegra.ph pages.