# Bookmark Insertion

**URL:** <https://forum.collaboraonline.com/t/bookmark-insertion/1901>\
**Category:** Writer\
**Created:** [June 19, 2023, 6:39pm UTC](https://forum.collaboraonline.com/t/bookmark-insertion/1901 "2023-06-19T18:39:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmzi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/pmzi/32/677_2.png) [@pmzi](https://forum.collaboraonline.com/u/pmzi)\
**Post date:** [June 19, 2023, 6:39pm UTC](https://forum.collaboraonline.com/t/bookmark-insertion/1901/1 "2023-06-19T18:39:24Z")

</div>

Hi everybody,

I have a problem with bookmark insertion inside CODE. When I try to insert a bookmark around multiple sections partially, the bookmark won’t be wrapped correctly. Example:

I try to wrap the bookmark around a bullet point and a paragraph:

 ![Screen Shot 2023-06-19 at 10.04.10 PM](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/f9f6d7d3fda1d6548899ed1e1a46321b99591940.png)

But when I save and re-open the document, the inserted bookmark will be around the selected bullet text:

 ![Screen Shot 2023-06-19 at 10.06.02 PM](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/813452a86c82b5b3eaae706f37d5f68a7efe7b94.png)

When trying to do this inside Libreoffice, it will be wrapped correctly with no problem. Could this bug be fixed? Is there any workaround to do this?

Thanks

---

<div class="post-metadata">

**Author:** ![Tex](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@Tex](https://forum.collaboraonline.com/u/Tex)\
**Post date:** [June 22, 2023, 1:51am UTC](https://forum.collaboraonline.com/t/bookmark-insertion/1901/2 "2023-06-22T01:51:48Z")

</div>

Hey @pmzi,

Welcome to the forum + thanks for the question. 🙂

* * *

Could you open your Collabora and give your:

- **Help \> About** info?

That’ll really help.

* * *

> I have a problem with bookmark insertion inside CODE. When I try to insert a bookmark around multiple sections partially, the bookmark won’t be wrapped correctly. […]

Hmmm. I tried to reproduce this on my end and it worked fine in Online:

```auto
COOLWSD version:
23.05.0.1 (git hash: 012b00d6)

LOKit version:
Collabora Office 23.05.0.1 (git hash: bc5c5de)
Served by: Linux Mint 21.1 6371e19d

```

which was a test version from a few weeks ago.

I also tested the desktop version of Collabora Office 23.05.0.1, and it worked fine there too.

* * *

And how are you inserting this bookmark exactly, are you:

1. Highlighting the text.
  - A normal text line + a few list/bullet points.

2. Pressing “Insert” Tab \> “Bookmark” button.
3. Typing in a “Bookmark Name” + Pressing “Insert” button.

And then you:

1. Save the document + reopen it.

Your multi-line bookmark now starts/ends in the wrong text area.

* * *

> When trying to do this inside Libreoffice, it will be wrapped correctly with no problem. Could this bug be fixed? Is there any workaround to do this?

Well, if it works in LibreOffice, it _should_ work the same way in Collabora Office too. 😛

I was able to get work in mine, so maybe it’s a bug that was recently fixed between your version + the latest.

(There’s also been LOTS of bookmark upgrades/fixes going on in the recent versions.)

Are you fully updated too? 🙂

---

<div class="post-metadata">

**Author:** ![pmzi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/pmzi/32/677_2.png) [@pmzi](https://forum.collaboraonline.com/u/pmzi)\
**Post date:** [June 22, 2023, 8:53am UTC](https://forum.collaboraonline.com/t/bookmark-insertion/1901/3 "2023-06-22T08:53:51Z")

</div>

I think my version is newer than yours:))

 ![Screen Shot 2023-06-22 at 11.26.38 AM](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/89032a3565eb7e87795325907a9c34d7822f81ad.png)

I have also attached the document.

[file-sample\_100kB.docx](https://forum.collaboraonline.com/uploads/short-url/9adYscF4CRqyL8f3Q1RvqE0vaPe.docx) (109.6 KB)

Note 1: please test the exact scenario I have mentioned in the first post.

Note 2: I have tested it with Libre again and it seems that Libre has issues too. My apologies.

---

<div class="post-metadata">

**Author:** ![Tex](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@Tex](https://forum.collaboraonline.com/u/Tex)\
**Post date:** [June 28, 2023, 8:43pm UTC](https://forum.collaboraonline.com/t/bookmark-insertion/1901/4 "2023-06-28T20:43:27Z")

</div>

Looks like you also submitted a bug report to the COOL Github:

- [Bookmark Insertion Problem · Issue #6654 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/issues/6654)

and included some videos.

Fantastic. 🙂

* * *

> I think my version is newer than yours:))

Heh, could be, could be!

I updated a few weeks back to:

- test some new 23.05 features
- + help me (re)test some of these forum questions.

One great [new thing that _just_ got added a few days ago](https://github.com/CollaboraOnline/online/issues/6381) is a new Copy button in:

- **Help \> About**

Now, it’ll be much easier to copy/paste version info into the forum posts + bug reports. 🙂
