1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
asrient
3ec3a37603
Desktop: PDF scroll persistence (#6747) 2022-08-27 13:32:20 +01:00
Laurent Cozic
7e8a6dfb54 Tools: Add react-hooks/exhaustive-deps eslint rule 2022-08-19 12:10:04 +01:00
Kenichi Kobayashi
2dedede5c3
Removes unnecessary trivial dependencies that causes re-rendering (#6471) 2022-06-07 18:21:55 +01:00
Kenichi Kobayashi
5c82e439a7
Desktop: Fixes #5708: Scroll positions are preserved (#5826)
Features:
- Scroll position is preserved when the editor layout changes.
- Scroll position is remembered when a note selection changes.

Modifications:
- The current Sync Scroll feature (in v2.6.2) is modified to use line-percent-based scroll positions.
- Scroll position translation functions, Viewer-to-Editor and Editor-to-Viewer, are separated into V2L / L2E and E2L / L2V respectively.
- The scrollmap is moved from gui/utils/SyncScrollMap.ts to note-viewer/scrollmap.js.
- IPC Protocol about the scrollmap becomes not necessary and is removed.
- Ignores non-user scroll events to avoid sync with incorrect scroll positions.
- When CodeMirror is not ready, setEditorPercentScroll() is waited.
- Fixes the bug: An incorrect scroll position is sometimes recorded.
- Since scroll positions become line-percent-based, the following incompatibilities of scroll positions are fixed:
  - Between Editor and Viewer.
  - Between Viewer Layout and Split Layout of Viewer
  - Between Editor Layout and Split Layout of Editor
2021-12-15 18:03:20 +00:00
Kenichi Kobayashi
e4d5e9cefb
Desktop: Fixes #5582: Currently opened note is not updated after sync (5582) (#5711) 2021-11-11 15:31:20 +00:00
Laurent Cozic
0b01b5b0ef Desktop, Mobile: Resolves #5593: Enable safe mode for Markdown editor too 2021-10-30 17:51:19 +01:00
Laurent Cozic
4a7746beb2 Desktop: Upgrade Electron from v10 to v14 2021-10-01 19:35:27 +01:00
Laurent Cozic
542fdb496a Set default options 2021-09-19 18:54:14 +01:00
Laurent Cozic
6d981864ef Desktop: Fixes #5461: Editor max width was not always applied in Rich Text editor 2021-09-19 12:04:23 +01:00
Laurent Cozic
80762572cf Chore: Moved app state to separate file 2021-09-04 18:11:29 +01:00
Laurent Cozic
8063c94ff7 Desktop: Allow setting a max width for the editor content 2021-08-14 12:19:53 +01:00
Laurent Cozic
f9cfefdb29 Desktop: Resolves #5273: Prevent plugins from crashing the application 2021-08-06 13:08:32 +01:00
Laurent Cozic
bd08041f53 Desktop: Pass custom CSS property to all export handlers and renderers 2021-05-19 15:00:16 +02:00
Andre Jilderda
f3e03d48bb
Desktop: Add classnames to DOM elements for theming purposes (#4933) 2021-05-17 19:33:44 +01:00
Caleb John
33e1214ef6
Desktop: Undo changes introduced in #4303 (#4406) 2021-02-06 16:01:06 +00:00
Laurent Cozic
ccbc329cbf Server: Add support for sharing notes via a link 2021-01-29 18:45:11 +00:00
Laurent Cozic
12187b9da3 Mobile: Fixed mobile build 2021-01-27 17:42:58 +00:00
Laurent Cozic
dbbbd22aef Desktop: Localise "Click to add tags" button 2021-01-25 10:20:56 +00:00
Laurent Cozic
63559ac8b9 Tools: Apply eslint rule "no-multi-spaces" 2021-01-23 15:51:19 +00:00
Laurent Cozic
86610e7561 Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
Caleb John
c484c88715
Desktop: Fix issue that was preventing editor context menu from being refreshed (#4303) 2021-01-08 16:35:23 +00:00
Laurent Cozic
0e57baf5b9 Desktop: Made editor padding more consistent and ensure it is present even when sidebars are gone 2021-01-02 17:27:37 +00:00
Laurent Cozic
d1a7d31335 Desktop: Use plugins whenever printing or exporting notes
Ref: https://discourse.joplinapp.org/t/external-css-per-note-is-being-ignored/13016/6
2020-12-19 17:42:18 +00:00
Laurent Cozic
f37224fc42 Desktop: Added doc about Rich Text editor and added way to dismiss warning banner 2020-12-09 15:58:15 +00:00
Laurent Cozic
9b64c1fbdb Added no-floating-promises eslint rule 2020-11-25 14:40:25 +00:00
Laurent Cozic
eb8284ecdb Desktop, Cli: Resolves #4095: Allow exporting conflict notes 2020-11-17 11:50:46 +00:00
Laurent Cozic
a808281dd2 Desktop: Regression: Fixed external edit file watching 2020-11-16 11:03:44 +00:00
Laurent Cozic
4f41fb7b54 Plugins: Add support for editor context menu 2020-11-14 00:02:17 +00:00
Laurent Cozic
67f0739d3c Desktop: Allow customising application layout 2020-11-13 17:09:28 +00:00
Laurent Cozic
d20694e52c Tools: Apply rule @typescript-eslint/type-annotation-spacing 2020-11-12 19:13:28 +00:00
Laurent Cozic
04bfbec96b Tools: Renamed package namespace from @joplinapp to @joplin 2020-11-07 15:59:37 +00:00
Laurent Cozic
cc07016b07 All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00