anytype-ts
anytype-ts copied to clipboard
Space added when creating object links or hyperlinks
trafficstars
Have you read a contributing guide?
- [x] I have read CONTRIBUTING.md
- [x] I have searched the existing issues and didn't find any that were similar
- [x] I have considered creating a pull request with fixes instead of a bug report and want to proceed
Current Behavior
A space character is always added when creating a new object link (using @) or pasting a hyperlink. I don't know of any word processor or note-taking application that does it. It's annoying when I want to type commas after links
JSON
{
"range": {
"from": 0,
"to": 0
},
"blocks": [
{
"id": "REDACTED",
"type": "text",
"childrenIds": [],
"fields": {},
"hAlign": 0,
"vAlign": 0,
"bgColor": "",
"content": {
"text": "2025 Archive ", // Note the space
"style": 0,
"checked": false,
"color": "",
"marks": [
{
"type": 8,
"param": "REDACTED",
"range": {
"from": 0,
"to": 12
}
}
],
"iconEmoji": "",
"iconImage": ""
}
}
]
}
Expected Behavior
There should be no space after creating object links or pasting hyperlinks
Steps To Reproduce
Either
a. paste a hyperlink and select "Paste as link" or
b. paste a hyperlink and select "Paste as text" or
c. create an object link by typing @ and an object's name
Environment
- OS: NixOS
- Version: 0.46.5
Anything else?
No response