When I drag and drop a URL from my browser into the note editor, the URL is not pasted correctly. Instead of plain text or a clickable link, it pastes raw HTML code like this:
<a href="https://example.com/">Example Domain</a>
The pasted text is then recognized as a link, but incorrectly: when I hover over it, the link that appears is https://example.com/">Example instead of the correct https://example.com/. So the clickable link part is broken as well.
The app also occasionally freezes and crashes during the drag/drop, though not consistently. Since I'm on KDE Plasma (Wayland), this may be related to a desktop environment / Wayland drag-and-drop issue rather than Notesnook itself. I'm reporting it for completeness, but the parsing problem above is the main issue.
Steps to reproduce
- Open a note in Notesnook.
- Drag a URL from a browser tab/address bar into the note editor.
- Try to drop it inside the note.
What I expected to happen
The URL should paste as plain text or a proper clickable link.
What I have tried
- Selecting only the domain part of the URL (e.g.
example.com) without the https:// prefix sometimes works, but only when the URL is selected from the browser's address bar. Links inside a page cannot be selected this way, so this workaround is not usable for in-page URLs.
- Using the full URL does not work consistently.
Environment
- Notesnook version:
3.4.4-109e46b-desktop
- OS: CachyOS (Arch Linux), kernel 7.1.8-1-cachyos, x86_64
- Desktop environment: KDE Plasma, Wayland session
- Browsers tried for drag/drop: Brave Origin, Zen Browser, Helium Browser, Mullvad Browser, LibreWolf
Device information:
App version: 3.4.4-109e46b-desktop
OS: Linux 64-bit
Browser: Electron 37.10.3
Plan: Pro (legacy)
When I drag and drop a URL from my browser into the note editor, the URL is not pasted correctly. Instead of plain text or a clickable link, it pastes raw HTML code like this:
The pasted text is then recognized as a link, but incorrectly: when I hover over it, the link that appears is
https://example.com/">Exampleinstead of the correcthttps://example.com/. So the clickable link part is broken as well.The app also occasionally freezes and crashes during the drag/drop, though not consistently. Since I'm on KDE Plasma (Wayland), this may be related to a desktop environment / Wayland drag-and-drop issue rather than Notesnook itself. I'm reporting it for completeness, but the parsing problem above is the main issue.
Steps to reproduce
What I expected to happen
The URL should paste as plain text or a proper clickable link.
What I have tried
example.com) without thehttps://prefix sometimes works, but only when the URL is selected from the browser's address bar. Links inside a page cannot be selected this way, so this workaround is not usable for in-page URLs.Environment
3.4.4-109e46b-desktopDevice information:
App version: 3.4.4-109e46b-desktop
OS: Linux 64-bit
Browser: Electron 37.10.3
Plan: Pro (legacy)