internetarchive / internetarchive/bookreader

Create HTML/event hooks for Hypothesis

Open
#1,234 0 comments 0 reactions 1 assignee Claimed by @cdrini View on GitHub
Snippets + Annotations + Hypothes.is
Dominant language
JavaScript
Stars
1.2k
Forks
491
Avg merge
2d 15h
Merged PRs (30d)
3

Description

- The core "book" element that contains all the pages should be labelled as `.BRdocument` and have a `data-uri` attribute
- Every page through all views should feature a `data-page="17/leaf16"` attribute
- A `BookReader:textLayerCreated` event should fire when the text layer is created
- With `target` being the text layer HTML element
- The text layer should be `mix-blend-mode: multiply`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.