My highlight plugin is now on GitHub: Highlight — Find and highlight text.
May, I hope, or may not be useful.
Please note that it is a beta release (1.0.0-beta).
It may contain bugs that I have not discovered yet.
My highlight plugin is now on GitHub: Highlight — Find and highlight text.
May, I hope, or may not be useful.
Please note that it is a beta release (1.0.0-beta).
It may contain bugs that I have not discovered yet.
finds and highlights the text entered on the fly in the tiddlers in the story river
what about tiddlers that are in edit mode rather than default view mode?
could be very useful if it works with tiddlydesktop as ‘crt-f’ is not supported.
Neat plugin - this solves an ergonomic issue with TW, for sure.
I wonder if this functionality can be integrated into the existing search field, rather than a second. That way, users could type into one field and get tiddler results (and onscreen in-story results).
Hi @Jan thank you for sharing. Your highlight plugin works well, and I found the implementation interesting, too. The core Dynannotate plugin does some similar things, but relies on older browser APIs and the implementation is perhaps less elegant.
Very interesting, but I do get a RSOD – See screenshot. There seems to be an initialisation problem.
Using FireFox 132.0.1 (latest) on Windows 11
Thanks for reporting.
I tested on Firefox 132.0.1 (64-bit) on Mac and did not see this. The message in $:/plugins/anttt/highlight/CSSCustomHighlightAPINotSupported
was always shown, as desired. I’ll fix it as soon as I can.
The RSOD could be reproduced on Firefox Mac.
CSS.highlights
is undefined
if the browser does not support the CSS Custom Highlight API. The test was missing in the reset
function.
New version on GitHub.
Version 1.0.3-beta on GitHub.
This version no longer finds, counts and navigates (invisibly) to invisible text: options of dropdown menus, invisible text of folded tiddlers, etc.