# Editing multiple links on one line will cause some of them to be lost

**URL:** <https://community.anytype.io/t/editing-multiple-links-on-one-line-will-cause-some-of-them-to-be-lost/21134>\
**Category:** Closed\
**Tags:** Editor-or-Blocks, Desktop, Copy-Paste, Links\
**Created:** [May 18, 2024, 9:29am UTC](https://community.anytype.io/t/editing-multiple-links-on-one-line-will-cause-some-of-them-to-be-lost/21134 "2024-05-18T09:29:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ming\_anytype](https://community.anytype.io/letter_avatar_proxy/v4/letter/m/73ab20/32.png) [@Ming\_anytype](https://community.anytype.io/u/Ming_anytype)\
**Post date:** [May 18, 2024, 9:29am UTC](https://community.anytype.io/t/editing-multiple-links-on-one-line-will-cause-some-of-them-to-be-lost/21134/1 "2024-05-18T09:29:08Z")

</div>

### What’s The Bug?

Editing multiple links on one line will cause some of them to be lost.

[![](https://community-static.anytype.io/original/3X/3/c/3ca973b965d6f7a4272ebef84d335b0f1dc6c510.jpeg) ](https://community-static.anytype.io/original/3X/3/c/3ca973b965d6f7a4272ebef84d335b0f1dc6c510.jpeg)

### How To Reproduce It

1. Enter text: GoogleYouTube
2. Select Google, and then paste [https://www.google.com/](https://www.google.com/) to make Google become a link.
3. Select YouTube and cut
4. Press home key to move the cursor in front of Google
5. Paste to make YouTube appear in front of Google
6. Separate two texts with spaces by several spaces between YouTube and Google
7. Select YouTube and paste [https://www.youtube.com/](https://www.youtube.com/) to make YouTube become a link
8. At this time, the Google link that was supposed to be turned into ordinary text, and the link was lost.

### The Expected Behavior

The original link will not disappear

### Device

PC

### OS

Windows11

### Anytype Version

v0.40.8

### Technical Information

操作系统版本: win32 x64 10.0.22621  
应用版本: 0.40.8  
构建版本: build on 2024-04-25 13:28:54 +0000 UTC at #4ec64b016e2be3a5229dc865452c066f653e209c (dirty)  
库版本: v0.33.2  
Anytype 身份标识: A8Dj8qdQehkSC4UNQdXUyeMCyXvBUdVk8b7P7CM39SqRZnub  
分析 ID: 31896c9d-58bb-4d02-a598-0e7a0f3916c5  
设备 ID: 12D3KooWHdUFZXi5Tr3HfhsVNhW8ruQun8CPd8Jg9QBHXLcZUppX

---

<div class="post-metadata">

**Author:** ![Filip](https://community.anytype.io/user_avatar/community.anytype.io/filip/32/22248_2.png) [@Filip](https://community.anytype.io/u/Filip)\
**Post date:** [May 20, 2024, 9:24am UTC](https://community.anytype.io/t/editing-multiple-links-on-one-line-will-cause-some-of-them-to-be-lost/21134/2 "2024-05-20T09:24:43Z")

</div>

Hey @Ming_anytype. Seems like the issue is in step 6. You seem to think that if you add spaces, that the links will be separated?

![image](https://community-static.anytype.io/original/3X/e/f/ef8686e0c3b39fb295fd222ceadfd71c1dcb5cdc.png)

Even if you add spaces, this is still counted as one link, and when you then in step 7 paste a link over Youtube, the original link is supposed to be deleted.

![image](https://community-static.anytype.io/original/3X/3/1/318dad6ae9997db82e2e8a25537d12c11bc77939.png)

---

<div class="post-metadata">

**Author:** ![Ming\_anytype](https://community.anytype.io/letter_avatar_proxy/v4/letter/m/73ab20/32.png) [@Ming\_anytype](https://community.anytype.io/u/Ming_anytype)\
**Post date:** [May 21, 2024, 1:47am UTC](https://community.anytype.io/t/editing-multiple-links-on-one-line-will-cause-some-of-them-to-be-lost/21134/4 "2024-05-21T01:47:36Z")

</div>

I want the following result to appear  
 ![1111](https://community-static.anytype.io/original/3X/3/c/3ca973b965d6f7a4272ebef84d335b0f1dc6c510.jpeg)  
Meaning, the same line of text has different links. And after repeated editing, these links will not be lost.

---

<div class="post-metadata">

**Author:** ![Angelo](https://community.anytype.io/user_avatar/community.anytype.io/angelo/32/9996_2.png) [@Angelo](https://community.anytype.io/u/Angelo)\
**Post date:** [May 21, 2024, 7:45am UTC](https://community.anytype.io/t/editing-multiple-links-on-one-line-will-cause-some-of-them-to-be-lost/21134/6 "2024-05-21T07:45:45Z")

</div>

This report has been added to our issue tracker and received by the Development Team.

---

<div class="post-metadata">

**Author:** ![AnyFriends](https://community.anytype.io/user_avatar/community.anytype.io/anyfriends/32/19140_2.png) [@AnyFriends](https://community.anytype.io/u/AnyFriends)\
**Post date:** [July 22, 2025, 11:55am UTC](https://community.anytype.io/t/editing-multiple-links-on-one-line-will-cause-some-of-them-to-be-lost/21134/7 "2025-07-22T11:55:18Z")

</div>

This issue has been fixed by the Development Team and will be implemented in an upcoming release.
