listmonk
listmonk copied to clipboard
Uploading 2 images in a row (among other actions) crashes editor interface
Version:
- listmonk: 3.0.0
- OS: Debian 11 (server), various (client)
Description of the bug and steps to reproduce:
Campaign content editor interface crashes, especially after trying to insert 2 images consecutively.
- Deploy a listmonk instance (docker swarm config here: https://git.coopcloud.tech/coop-cloud/listmonk/src/branch/main/compose.yml, manually set SMTP details and uploads path in admin)
- Create a new campaign
- Edit campaign content
- Click insert » image, upload from local computer
- Click the image upload toolbar button
Then, the interface crashes, preventing further edits, scrolling or saving.
No errors are shown in the browser console or network tab of developer tools.
Uploading images is the most reliable way to reproduce this problem, but it also happens sometimes when inserting a link, sometimes when trying to bold some text, etc.
I looked for similar issues in the bugtracker here but couldn't find any.
Screenshots:
The interface post-crash:
Video demonstration: https://nextcloud.autonomic.zone/s/n4DCa9CpTcr3J2n
Hi @3-w-c. The editor component is TinyMCE.
On Firefox 123, I am unable to reproduce this issue though. The below screenshot shows two images (2K resolution) which I inserted and resized. I am able to insert more images without any slowdown or freezing of the editor.
- Which browser are you using?
- Are the images very large in size (MBs)? I don't know if there's a specific size after which TinyMCE grinds to a halt. This could be a bug in TinyMCE that's triggered by a certain condition.
- Are there any browser plugins that may be interfering?
Thanks for reply @knadh!
Which browser are you using?
Happens on both Firefox and Chromium.
Are the images very large in size (MBs)?
No, the image in the screenshot of the shells is 22 kb.
Are there any browser plugins that may be interfering?
It happens with a chromium profile with no active plugins.
hm, I'm unable to reproduce this on Firefox 123 or Chromium 123.
It would be great if someone else could confirm.
- @3-w-c this happens the moment you upload any two images?
- Does this happen on a new campaign or only when a campaign has a specific body?
Thanks for trying @knadh :pray:
@3-w-c this happens the moment you upload any two images?
Yes.
Does this happen on a new campaign or only when a campaign has a specific body?
New campaign: no.
However, if I copy/paste the HTML from a problematic campaign into the new campaign, then the problem starts happening again.