Option to disable middle click paste

What I’m trying to do

I want to disable middle click paste in Obsidian under Linux (Wayland).
It’s disabled system-wide:
KDE Plasma 6:

  • System Settings
    • Workspace/General Behaviour
      • Middle Click:   Pastes selected text

Most applications respect this setting, but electron apps don’t care and have to implement their own toggle (like vscode "editor.selectionClipboard": false).

Things I have tried

Searched the web and this forum for solutions, tried editing the .json config files by guessing property names.