You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bookmark spanning several paragraphs is split on opening and saving DOCX #23
I’ve attached a small DOCX with one bookmark called SampleRange that covers three paragraphs. If I open it and press F5, the Navigator lists it three times. And if I edit a sentence outside the bookmark and save, the DOCX now contains three separate bookmarks with the same name.
Since one bookmark over three paragraphs shows up as three entries, I wonder if the paragraph breaks are where it’s getting split.
(Also, I found it difficult to edit or delete existing bookmarks. I think I accidentally did it by selecting text and pretending to insert a new bookmark, which revealed a box that allowed me to hover over existing bookmarks and delete them. See attached image. It would great to simply move that hover x over to the Navigator itself!)
Thanks for the test file, that made it easy to track down. You were right: the bookmark got split at the paragraph breaks. In 0.14.0 a bookmark across several paragraphs stays one bookmark. The Navigator lists it once, and DOCX and ODT save it with a single start and end again.
About editing and deleting: the bookmark rows in the Navigator now have rename and delete directly, and clicking a row jumps to the bookmark. Renaming also updates cross-references and links that point to it. The Bookmark window now opens without a selection too, so you don't need the workaround anymore.
Activity
fix(bookmarks): keep a range across paragraphs as one bookmark
release: v0.14.0
stffnb commentedon Nov 7, 2026
Thanks for the test file, that made it easy to track down. You were right: the bookmark got split at the paragraph breaks. In 0.14.0 a bookmark across several paragraphs stays one bookmark. The Navigator lists it once, and DOCX and ODT save it with a single start and end again.
About editing and deleting: the bookmark rows in the Navigator now have rename and delete directly, and clicking a row jumps to the bookmark. Renaming also updates cross-references and links that point to it. The Bookmark window now opens without a selection too, so you don't need the workaround anymore.
farragoo commentedon Nov 11, 2026
Thanks, this is great! Being able to open Bookmark without selecting text is much easier.