1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
Commit Graph

266 Commits

Author SHA1 Message Date
Henry Heino
35f375d756
Desktop: Fixes #6055: Preserve empty newlines created by pressing Enter repeatedly in the rich text editor (#8549) 2023-07-27 11:52:41 +01:00
Henry Heino
aebfa6e96d
Desktop: Fixes #8535: Fix CodeMirror context menu not containing correct items (#8543) 2023-07-26 18:07:00 +01:00
Laurent Cozic
637a0eac7f Desktop: Fixes #8485: Note imported from Web Clipper is broken after being saved from the Rich Text editor 2023-07-26 17:37:24 +01:00
Henry Heino
2d16151fa8
Desktop: Fixes #8520: Fix Rich Text theme not matching the system theme after several global theme changes (#8521) 2023-07-23 16:00:30 +01:00
Henry Heino
93c5f6c9d3
Desktop: Rich text editor: Disable spellcheck in inline code blocks (#8532) 2023-07-23 15:59:51 +01:00
Henry Heino
776b6d8f12
Desktop: Fixes #8504: Support plugin toolbar icons in the Rich Text editor toolbar (#8519) 2023-07-21 20:49:49 +01:00
Marph
f0b5ec3e3a
Desktop: Fixes #8382: add "insert*before" buttons for tables in the rich text editor (#8393) 2023-07-19 13:11:27 +01:00
Laurent Cozic
77482a0c95
All: Add support for share permissions (#8491) 2023-07-16 17:42:42 +01:00
Laurent Cozic
dfbe628944 Chore: Fixed asset order 2023-07-02 17:48:29 +01:00
Laurent Cozic
dd6eec6a03 Tools: Apply rule @typescript-eslint/ban-types 2023-06-30 10:30:29 +01:00
Laurent Cozic
0c4ba592f6 Tools: Apply rule github/array-foreach 2023-06-30 09:39:21 +01:00
Laurent Cozic
e89b59be8e Tools: Apply eslint rule @typescript-eslint/no-inferrable-types with ignoreArguments=false 2023-06-30 09:11:26 +01:00
pedr
583ae0385b
Desktop: Fixes #8317: Removing Markdown when using 'Paste as Text' (#8351) 2023-06-26 12:00:47 +01:00
Laurent Cozic
0f9727144f Desktop: Fixes #8316: Include more Rich Text editor commands in the menu 2023-06-14 14:57:12 +01:00
Marph
6dc8ad2ba6
Desktop: Resolves #3535: Configure Rich Text editor to handle the first table row as header (#8163) 2023-06-10 17:08:15 +01:00
Laurent Cozic
c89edd7b22 Tools: Implement "prefer-object-spread" eslint rule 2023-06-01 12:02:36 +01:00
Laurent Cozic
31897581d3 Desktop: Resolves #8028: Remove custom PDF viewer to reduce application size 2023-04-26 21:45:02 +01:00
Arun Kumar
75d204c9ca
Desktop: Resolves #6101: Added export graph button for Mermaid (#7958) 2023-03-30 16:58:48 +01:00
Laurent Cozic
fd7b345efa Merge branch 'release-2.10' into dev 2023-03-12 15:44:02 +00:00
pedr
9106fb82f3
Chore: Desktop: Resolves #7879: Paste as Text shortcut pasting content twice (#7885) 2023-03-10 12:53:48 +00:00
Laurent Cozic
57f00c612d Desktop: Resolves #7867: Cache code blocks in notes to speed up rendering 2023-03-07 17:55:20 +00:00
Laurent Cozic
6c12ce0e04 Chore: Set type of main BrowserWindow, and fixed popup calls 2023-02-22 18:16:28 +00:00
pedr
f2995dd196
Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
Laurent Cozic
5c1eda3392 Chore: Mobile: Refactor note-screen-shared utility lib 2023-02-19 13:09:07 +00:00
melsonic
34940d1c4f
Desktop: Fixes #7662: Ctrl-X behaviour when no text is selected (#7778) 2023-02-16 14:08:28 +00:00
Laurent Cozic
7fa1459dc3 Tools: Apply eslint rules "no-console" and "id-denylist" 2023-02-16 10:58:24 +00:00
Laurent Cozic
625689dbb1 Tools: Add "@typescript-eslint/object-curly-spacing" rule 2023-02-16 10:58:23 +00:00
Julien
dc976047d2
Desktop: Fixes #7658: Clicking on Save saves changes when updating a link (#7753) 2023-02-16 09:01:50 +00:00
pedr
dd86940c6b
Desktop: Add 'Paste as text' to the Context menu of the Rich Text Editor (#7769) 2023-02-15 13:59:32 +00:00
pedr
7d7b7ed6f3
Desktop: Fixes #7634: App freezes and displays fatal error when text provided in the search bar is too long (#7764) 2023-02-14 15:13:31 +00:00
pedr
c706b8dd2f
Desktop: Allow 'Paste as Text' on the Rich Text Editor (#7751) 2023-02-13 19:16:33 +00:00
Helmut K. C. Tessarek
322641ccd6
Desktop: Fixes #7694: Markdown editor not surrounding highlighted text with backticks (#7697) 2023-02-08 14:24:20 +00:00
Laurent Cozic
0019bb8d6b Tools: Add eslint rule "@typescript-eslint/no-inferrable-types" 2023-02-05 12:27:09 +00:00
Adarsh Singh
8aad67ccfe
Desktop: Fixes #7521: Mermaid images are incorrectly sized when exported as PNG (#7546) 2023-02-05 11:39:26 +00:00
Self Not Found
acd7bfd9f5
Desktop: Remove auto-matching for greater than character (#7669) 2023-01-27 16:50:07 +00:00
Light
31a27b0e1c
Desktop: Fixes #7565: Fix text editor text highlighting when used with special IME methods (#7630) 2023-01-24 14:46:40 +00:00
Betty Alagwu
9b657eeda2
Desktop: Resolves #7602: Fix copy text with no selection (#7641) 2023-01-23 18:50:24 +00:00
Laurent Cozic
27bec674a0 Chore: Desktop: Convert last JSX files to TSX 2023-01-20 14:35:22 +00:00
Laurent Cozic
f7682d3da3 Desktop: Resolves #7506: Disable custom PDF viewer by default 2023-01-17 13:35:08 +00:00
Self Not Found
3bee0a142b
Desktop: Fixes #6211: Try to replace the external link with internal link when attachment file is pasted in Markdown editor (#6865) 2023-01-11 19:12:34 +00:00
Laurent Cozic
4888b4bd14 Tools: Enable eslint rule "comma-spacing" 2023-01-11 18:40:14 +00:00
Laurent Cozic
0db0a565b7 Desktop: Fixes #7499: Random crash when searching 2022-12-30 23:54:20 +00:00
Betty Alagwu
5fb01b5c7a
Desktop: Fixes #7520: Search field doesn't get focus when pressing Ctrl+F (#7529) 2022-12-30 23:54:04 +00:00
Laurent Cozic
64199704c2 Chore: Complete Jest upgrade 2022-11-15 10:23:50 +00:00
Laurent Cozic
a40a5ef3bf Chore: Fixes 2022-11-15 09:11:23 +00:00
Kenichi Kobayashi
5d49fcfe4e
Desktop: Fixes #6416: Switching a note using Sidebar is slow and grayed out (#6430) 2022-11-14 17:25:41 +00:00
Laurent Cozic
a7213453c7 Chore: Remove Redux withRef implementation to simplify code and fix issue 2022-11-14 16:48:41 +00:00
Self Not Found
673653a141
Desktop: Fixes #7036: Fix pasting plain text (#7045) 2022-11-14 12:29:07 +00:00
Laurent Cozic
99a61f1283 Desktop: Regression: Plugin CSS files were no longer being loaded correctly
Fixed regression introduced in 36871d9cb0
2022-11-01 14:07:45 +00:00
Laurent Cozic
56229d640b Chore: Clean up and simplify translatable strings 2022-10-30 18:37:58 +00:00
Self Not Found
5364965a69
Desktop: Fixes #6257: Fixed the missing format when pasting text by Ctrl+V in Rich Text editor (#6901) 2022-10-01 15:35:54 +01:00
Self Not Found
cc6620a7e1
Desktop: Fixes #6630: Made autoMatchBraces work on CJK characters (#6858) 2022-09-30 17:03:45 +01:00
asrient
f6a8bf9ea2
Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
asrient
3ec3a37603
Desktop: PDF scroll persistence (#6747) 2022-08-27 13:32:20 +01:00
SeptemberHX
36871d9cb0
Desktop: Fixes #6719: Avoid reloading loaded plugin scripts (#6742) 2022-08-21 21:53:36 +01:00
Laurent Cozic
7e8a6dfb54 Tools: Add react-hooks/exhaustive-deps eslint rule 2022-08-19 12:10:04 +01:00
asrient
6ea40c9895
Desktop: New Embedded Pdf Viewer (#6681) 2022-08-04 10:12:22 +01:00
Laurent Cozic
ce02d4c94f Chore: Finished applying eqeqeq rule 2022-07-23 11:33:12 +02:00
Laurent Cozic
052d9f03d6 Chore: Add eslint rule to enforce strict equality (eqeqeq) 2022-07-23 09:31:32 +02:00
Laurent Cozic
5ffe90c4b0 Chore: Add debug message to try to debug scroll to top issue 2022-07-11 10:00:17 +01:00
SFulpius
c8b6122a65
Desktop: Resolves #6172: Checkbox don't function while checkbox format button hidden from toolbar (#6567) 2022-06-20 14:29:32 +01:00
Laurent Cozic
4c88376449 Desktop: Fixes #6514: Search field focus is stolen on layout change 2022-06-14 15:25:23 +01:00
Laurent Cozic
3bb00956fe Desktop: Fixes #6506: App can crash with certain combinations of plugins 2022-06-13 18:08:20 +01:00
Kenichi Kobayashi
2dedede5c3
Removes unnecessary trivial dependencies that causes re-rendering (#6471) 2022-06-07 18:21:55 +01:00
Laurent Cozic
27118c2d00 Update translations 2022-05-05 17:06:00 +01:00
Laurent Cozic
c7444e563b Chore: Removed "canvas" package to fix build using node 18 2022-05-03 11:19:14 +01:00
Hieu-Thi Luong
0d4cb5c16a
Desktop: Fixed color of links within list in Markdown editor (#6447) 2022-04-27 13:10:28 +01:00
asrient
be8001857e
Desktop: Fixes #6126: Editor context menu was broken (regression) (#6422) 2022-04-17 16:20:47 +01:00
Kenichi Kobayashi
f6e21e0180
Desktop: Fixes #6074: Scroll jumps when typing if heavy scripts or many large elements are used (#6383) 2022-04-10 11:31:17 +01:00
asrient
a62e1fba96
Desktop: Resolves #6100: Allow saving a Mermaid graph as a PNG or SVG via context menu (#6126) 2022-03-28 17:10:29 +01:00
Bishoy
047c1fb1a5
Desktop: Fixes right click menu on Markdown Editor (#6132) 2022-03-18 11:07:59 +00:00
Laurent Cozic
94dc216add Desktop: Fixes #6214: Undo and redo on note title did not work in some cases 2022-03-03 13:53:11 +00:00
Laurent Cozic
440618ef71 Desktop: Fixed search marker background color in Markdown editor 2022-02-16 15:52:23 +00:00
Caleb John
d70dca3139
Desktop: Fixes #6035: Global search focuses text in notes so that edits overwrite highlighted text (#6040)
Co-authored-by: Kenichi Kobayashi <ken1kob@users.noreply.github.com>
2022-01-20 11:52:32 +00:00
Laurent Cozic
c668bb0370 Revert "Desktop: Fixes #5850: Editor loses cursor focus when Ctrl+F search is closed (#5919)"
This reverts commit b98e64c881.

Ref: https://github.com/laurent22/joplin/issues/6035
2022-01-19 09:03:35 +00:00
Kenichi Kobayashi
5143a81749
Desktop: Fixes #5981: Scroll positions are not preserved when layout changes (#6021) 2022-01-17 10:30:09 +00:00
Kenichi Kobayashi
24dbede6c1
Desktop: Fixes #5890: Scroll jump when checkbox is toggled in Viewer (#5941) 2022-01-09 11:26:40 +00:00
Kenichi Kobayashi
70e623e741
Desktop: Fixes #5918: Scroll jumps when images are rendered in Markdown Editor (#5929) 2022-01-09 11:26:03 +00:00
Laurent Cozic
3cf0841775 Desktop: Fixes #5707: Add back text editor commands to Command Palette 2021-12-31 09:20:29 +01:00
Laurent Cozic
297b992944 Desktop: Right click on image to copy it to clipboard 2021-12-28 12:00:40 +01:00
Kenichi Kobayashi
b98e64c881
Desktop: Fixes #5850: Editor loses cursor focus when Ctrl+F search is closed (#5919) 2021-12-28 10:26:33 +00:00
Hieu-Thi Luong
46438a5888
Desktop: Better handling of bold text to simplify customisation (#5732) 2021-12-28 09:57:34 +00:00
Kenichi Kobayashi
852e6c141b
Desktop: Fixes #5549: cannot jump if local search count is one (#5894) 2021-12-27 18:13:09 +00:00
Laurent Cozic
83c0c48c83 Plugins: Added "openItem" command 2021-12-27 17:44:53 +01:00
Laurent Cozic
960863fb75 Plugins: Add support for joplin.workspace.filterEditorContextMenu to allow dynamically setting editor menu items depending on context 2021-12-27 17:38:21 +01:00
Laurent Cozic
9ca298f500 Tools: Fixes #5902: Correctly load external resources when bundling desktop app 2021-12-23 12:04:09 +01:00
Laurent
7f64fbfd9b
Tools: Use Yarn 3 to manage monorepo (#5833) 2021-12-20 15:08:43 +00:00
Kenichi Kobayashi
3a6380fa92
Doc: Fix sync-scroll comment to refer a correct URL (#5868) 2021-12-18 15:16:00 +00:00
Kenichi Kobayashi
fe2eb25acb
Desktop: Fixes #5872: Markdown search no longer scrolls to result (#5876) 2021-12-18 15:14:57 +00: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
Caleb John
aac044fc9c
Desktop: Fixes #5311: Rich text editor flashing white when switching notes/editor (#5793) 2021-12-03 12:23:31 +00:00
Laurent Cozic
82defbdd7b Chore: Fixed mobile build 2021-11-23 12:12:27 +00:00
Laurent Cozic
0e11273c45 Desktop: Fixes #5693: Opening a file with ctrl and click leads to an error in the Rich Text editor 2021-11-22 17:20:48 +00:00
Laurent Cozic
c759982890 Desktop: Fixes #5710: Text was unreadable in dark mode when dropping a note on Rich Text editor 2021-11-17 19:44:08 +00:00
Laurent Cozic
e53da58602 Desktop: Fixes #5666: Message in search box dialog was not readable in dark mode 2021-11-17 19:32:27 +00:00
Laurent Cozic
e97bb78ce4 Desktop, Mobile: Added support for notebook icons 2021-11-15 17:19:51 +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
Kenichi Kobayashi
630a400181
Desktop: Resolves #2242: Implements Sync-Scroll for Markdown Editor and Viewer (#5512) 2021-11-03 12:10:46 +00:00
Laurent Cozic
60127831b8 Desktop: Fixed crash on certain Linux distributions when importing or exporting a file
Ref: https://discourse.joplinapp.org/t/20702/37
2021-11-01 07:38:06 +00:00
Brett Bender
8de9032321
Deskop: Fixed shortcut to focus the note body (#5597) 2021-10-30 18:00:01 +01:00