The plugin interface is file based. It does get a list of the files selected in BookBrowser when the plugin is launched.
So preselecting a specific text block requires you to insert a marker of some sort or add a span with an known id to your xhtml before launching the the plugin, then tweak your plugin to look for it and process it. If you want to you can copy text to clipboard and have the plugin work with that.
Last edited by KevinH; 02-10-2022 at 04:01 PM.
|