[whiteboards] Text with colon pasted as URL #7018
Labels
editor:copy-paste
Clipboard data attached is appreciated. See menu - bug report - clipboard inspector
🎨 :feat/whiteboard
What happened?
The
isValidURLfunction validates pieces of pasted text as urls, when it really should be text.I pasted
Was: x becomes yas text from a text document on a whiteboard and a "browser" shape was created, when it should have been a whiteboard block. I also pressing shift at the same time, but that also created an iframe. Also dragging from the text editor created an iframe.Reproduce the Bug
Expected Behavior
It should create a whiteboard text block
Screenshots
Desktop Platform Information
Linux Ubuntu 20.04.
Logseq 0.8.8+nightly20221017
Mobile Platform Information
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: