Adding text not working in Blocks

I’m trying to use Blocks in a page for journal entries. Something strange happens when I try to add a text block in the panel, when I type characters they appear for a split second and are then deleted again. I can also not save any of the content from the block to appear in the entry. I’ve made a screen recording and GIF to show you what I mean:

ezgif.com-gif-maker

Do you have any idea what could be causing this? Kirby is hosted on a remote server using apache and php7.4. I’ve set all the folders/files permissions to 755/644 and set parent directory to be owned by the apache user.

Adding text in the panel through a normal text field seems to work but in Blocks it does not.

Any help would be appreciated. Thanks.

Do you get any errors in your browser console?

No, nothing in the console.

I think it must be to do with the remote server because the blocks work just fine on a local host.