Releases: mikagosz/obsidian-find-in-note
Release list
1.0.2
1.0.2 — the note goes back to the mode you left it in
Fixed
- Searching from edit mode switches the note to reading view and switches it back
when the bar closes. Three cases went wrong there and all of them were silent:
closing the tab while the bar was open left nothing to switch back, a failure
said nothing at all, and if you changed the mode by hand during the search the
plugin overrode your choice on the way out. Your choice wins now, and a real
failure says so. - Reading the plugin's own data at start-up can no longer leave an unhandled
error in the console.
Also
- Eight more tests, covering how a match found in the flattened note is placed
back onto the text nodes — including a match that crosses an element boundary,
which is the case this plugin exists for. An offset out by one there highlights
the wrong letters and nothing on screen would say so. - README: install from the community catalogue.
- A leftover method that described a path no longer taken has been removed.
1.0.1
Works on a phone, and speaks to screen readers.
The search bar now shrinks to the width it is given instead of running off the edge — which fixes a narrow side pane on the desktop too. Touch targets are finger-sized, the field is set at 16px so iOS does not zoom on focus, and autocapitalise and autocorrect are off so the phone stops rewriting the query. The hotkey notice is desktop-only.
The field carries a real label rather than only a placeholder, and the match counter announces itself as it changes.
1.0.0
Search the open note and highlight every match in place, without unrendering tables or callouts.
Cmd/Ctrl+F is declared as the default hotkey. Obsidian's built-in search keeps that shortcut until you clear its binding in Settings → Hotkeys; the plugin says this once on first load and never edits your hotkey settings itself. Until then, run it from the command palette.