1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Desktop: PDF scroll persistence (#6747)

This commit is contained in:
asrient
2022-08-27 18:02:20 +05:30
committed by GitHub
parent ed2a328616
commit 3ec3a37603
21 changed files with 494 additions and 234 deletions

View File

@@ -421,6 +421,9 @@ function NoteEditor(props: NoteEditorProps) {
fontSize: Setting.value('style.editor.fontSize'),
contentMaxWidth: props.contentMaxWidth,
isSafeMode: props.isSafeMode,
// We need it to identify the context for which media is rendered.
// It is currently used to remember pdf scroll position for each attacments of each note uniquely.
noteId: props.noteId,
};
let editor = null;