Closed marenostrum1981 closed 6 months ago
If it works in the demo, it is likely already fixed (the demo always runs the latest commit from the main branch). Can you reproduce this on your installation with an unstable build? (Make a backup first, rollback is not supported)
I can confirm the unstable version (version 9 may) fixes this issue.
Description
Description
When I try to paste text with external links, nothing is pasted. If I paste without formatting (ctrl+shift+V), then it does stick, but it doesn't look good because it loses the links and the highlighted text. When checking the console, the error
'Cannot read properties of undefined (reading 'nodeSize')' index.js 87
After analyzing why some links seem to work and others, I find that if the text includes a link like this, it doesn't work:
<a class="external" href="https://www.europeana.eu/es/search?page=1&view=grid&query=women%20in%20trade%20union%201850" target="_blank"><span>segundo enlace.</span><span class="external_link_icon" role="presentation"><span class="screenreader-only">Links to an external site.</span></span></a>
But with this one, it works: `Europeana
Links to an external site.`
Same browser, same extensions, but in self-host I'm having this issue, and the demo works correctly.
Vikunja Version
0.23.0
Browser and version
Edge, version 124.0.2478.51 (Compilación oficial) (64 bits)
Can you reproduce the bug on the Vikunja demo site?
No
Screenshots