Skip to content

Commit

Permalink
Support saving highlight position
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Mussabekov committed Mar 5, 2025
1 parent a14e2a6 commit 506e37a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "5.6.75",
"version": "5.6.76",
"description": "All-in-one bookmark manager",
"author": "Rustem Mussabekov",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/data/helpers/bookmarks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const normalizeMeta = (item={})=>{
}

export const normalizeHighlight = (highlight)=>{
return _.pick(highlight||{}, ['_id', 'text', 'note', 'color', 'created'])
return _.pick(highlight||{}, ['_id', 'text', 'note', 'color', 'created', 'position'])
}

export const blankSelectMode = Immutable({
Expand Down
31 changes: 16 additions & 15 deletions src/target/extension/background/highlights/highlight.js

Large diffs are not rendered by default.

0 comments on commit 506e37a

Please sign in to comment.