Unable to search in markdown editor #4932

Closed
opened 2026-02-05 09:27:18 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @vdomos on GitHub (Aug 28, 2024).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

If I'm in edit mode on a large Markdown page and want to modify a specific line in the file,
it's impossible to perform a search in the Markdown editor to move directly to the line in question.
The search will only be carried out in the preview area, and the editor is not synchronized with the preview line.

is there a solution?

Exact BookStack Version

v24.05

Log Content

No response

Hosting Environment

Home Assistant Community Add-on: Bookstack
mariadb-client=10.11.8-r0
nginx=1.26.2-r0
php83=8.3.9-r0

Browser Firefox 129.0.2

Originally created by @vdomos on GitHub (Aug 28, 2024). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario If I'm in edit mode on a large Markdown page and want to modify a specific line in the file, it's impossible to perform a search in the Markdown editor to move directly to the line in question. The search will only be carried out in the preview area, and the editor is not synchronized with the preview line. is there a solution? ### Exact BookStack Version v24.05 ### Log Content _No response_ ### Hosting Environment Home Assistant Community Add-on: Bookstack mariadb-client=10.11.8-r0 nginx=1.26.2-r0 php83=8.3.9-r0 Browser Firefox 129.0.2
OVERLORD added the 🐕 Support label 2026-02-05 09:27:18 +03:00
Author
Owner

@Sazzels commented on GitHub (Sep 4, 2024):

@vdomos if you click outside the editor, for example in the header besides the icons or somewhere in that region, before you search it works. editor and preview are synced based on my search.

Tested with Firefox (129.0.2)

grafik

Edit: the downside is that you will find matches for your search in the editor (left) and preview (right).

@Sazzels commented on GitHub (Sep 4, 2024): @vdomos if you click outside the editor, for example in the header besides the icons or somewhere in that region, before you search it works. editor and preview are synced based on my search. Tested with Firefox (129.0.2) ![grafik](https://github.com/user-attachments/assets/955c44df-8b67-4cfc-bdeb-9f5ef0f7ffc0) Edit: the downside is that you will find matches for your search in the editor (left) and preview (right).
Author
Owner

@vdomos commented on GitHub (Sep 6, 2024):

@Sazzels ,
Arg, I couldn't get your solution to work.
In a large Mardown file, the search is only done in the preview.
Same thing with Firefox or Chromium

@vdomos commented on GitHub (Sep 6, 2024): @Sazzels , Arg, I couldn't get your solution to work. In a large Mardown file, the search is only done in the preview. Same thing with Firefox or Chromium
Author
Owner

@ssddanbrown commented on GitHub (Sep 3, 2025):

In the last release I added a plaintext option which should work more reliably with browser functionality:
https://www.bookstackapp.com/blog/bookstack-release-v25-07/#markdown-plaintext-input

If you still desire full search capabilities in the MD editor (default code mode) feel free to raise a feature request for that.

Since this support request is quite old, I'm going to close this off.

@ssddanbrown commented on GitHub (Sep 3, 2025): In the last release I added a plaintext option which should work more reliably with browser functionality: https://www.bookstackapp.com/blog/bookstack-release-v25-07/#markdown-plaintext-input If you still desire full search capabilities in the MD editor (default code mode) feel free to raise a feature request for that. Since this support request is quite old, I'm going to close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4932