onlyoffice-desktopeditors has been removed from the repository, due to problems when executed. It is recommended to uninstall, and install the flatpak version instead. How do we install the flatpak version? We indicate how to do it, from the terminal (don't use sudo):
flatpak install flathub org.onlyoffice.desktopeditors
sudo pacman -S flatpak flatpak-builder elfutils patch
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo