obsidian-languagetool-plugin icon indicating copy to clipboard operation
obsidian-languagetool-plugin copied to clipboard

Selecting text that contains flagged/underlined text triggers the suggestion card which blocks what you're doing

Open moverton opened this issue 1 year ago • 0 comments

When selecting text that includes a subset of text that Obsidian LanguageTool Plugin has underlined, the plugin will overlay a suggestion card even if the cursor is nowhere near the underlined text. If the end point for text selection happens to be under the card, the suggestion card gets in the way. It seems unintentional in this scenario to trigger the overlay card and block the user's view of text in order to perform edits when text selection signifies a different user goal.

I propose a change to the events that triggers the card so that only a deliberate click will show the card.

Obsidian version: 1.5.3 Obsidian LanguageTool Plugin version: 0.3.6

moverton avatar Feb 03 '24 21:02 moverton