mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Add methods to mark a paragraph by cfi (#604)
* Add highlight to contents * Add marks and pass data to highlights * Add marks example * Only add pane when highlight is added * Include marks in babel processing
This commit is contained in:
parent
f0856ea78c
commit
32672359f5
7 changed files with 206 additions and 133 deletions
|
@ -44,7 +44,7 @@ module.exports = {
|
|||
loaders: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
exclude: /node_modules\/(?!(marks)\/).*/,
|
||||
loader: "babel-loader",
|
||||
query: LEGACY ? {
|
||||
presets: ['es2015'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue