mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Pass mark events from the rendition
This commit is contained in:
parent
1eb2566b15
commit
ee2264b064
3 changed files with 18 additions and 3 deletions
|
@ -6,7 +6,7 @@ import {replaceLinks} from "./utils/replacements";
|
|||
import { Pane, Highlight, Underline } from "marks-pane";
|
||||
|
||||
// Dom events to listen for
|
||||
const EVENTS = ["keydown", "keyup", "keypressed", "mouseup", "mousedown", "click", "touchend", "touchstart", "markClicked"];
|
||||
const EVENTS = ["keydown", "keyup", "keypressed", "mouseup", "mousedown", "click", "touchend", "touchstart"];
|
||||
|
||||
class Contents {
|
||||
constructor(doc, content, cfiBase) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue