Pressing F1 in Write opens Balena Etcher, But xdg Takes Me to the Website

If I open or create a Write document, and press the F1 key to get help, it opens the Balena Etcher software that I also have installed on my laptop (Dell M6800, Linux Mint Cinnamon 21.2, LO 7.3.7.2). If I open a terminal and type

xdg-open https://help.libreoffice.org

Firefox opens and takes me to

https://help.libreoffice.org/latest/en-US/text/shared/05/new_help.html?&DbPAR=SHARED&System=UNIX

as it should. Is there a file or preference that I can edit that will force LO to open the website with the F1 key? Thanks in advance.

According to bug report balena etcher registered itself as default handler for html, Etcher AppImage registers itself as default text/html mime handler · Issue #3374 · balena-io/etcher · GitHub
.
Right click an html file, select Open With, choose Firefox and tick the box Always open with this program (or similar wording).

If the suggestion by @EarnestAl is not sticky you may try or modify the script from here:

.
Background: There are not only reports of installers setting their electron-app itself als default handlers but (in that case Signal) every opening of the software modified the default handler for html.
So re-setting this can be a work-around (script copied from above link, as usual: check and use with care):
Placed as ~/.local/bin/xdg-settings in PATH

#!/bin/bash
if [[ "$1 $2" == "set default-url-scheme-handler" ]]; then
  DEFAULT_BROWSER="$(xdg-mime query default text/html)"
  /usr/bin/xdg-settings "$@"
  if [[ "$(xdg-mime query default text/html)" != "$DEFAULT_BROWSER" ]]; then
    echo "Reverting the default web browser to $DEFAULT_BROWSER"
    xdg-mime default "$DEFAULT_BROWSER" text/html
  fi
  exit 0
fi

exec /usr/bin/xdg-settings "$@"

Thanks, Earnest AI and Wanderer. I right clicked on an html file from Nemo, and then went to Open With/Other Application, and that let me reset Firefox as the default html file opener. Right clicking than then clicking on Open with Firefox was not sticky, but this fixed it. Not sure how it will affect Balena Etcher, although that opens normally, but so far so good. I will follow up on this post if I find a problem.

It is not affected at all. The change in settings for html was not intended. It seems to be a side effect, if names contain hyphens -. Some developers simply renamed files, some fixed buid-tools, but that will not help a user who has an electron app with this glitch until it is updated.