Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to search in markdown editor #5186

Open
2 tasks done
vdomos opened this issue Aug 28, 2024 · 2 comments
Open
2 tasks done

Unable to search in markdown editor #5186

vdomos opened this issue Aug 28, 2024 · 2 comments

Comments

@vdomos
Copy link

vdomos commented 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

@Sazzels
Copy link

Sazzels commented Sep 3, 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).

@vdomos
Copy link
Author

vdomos commented 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants