Closed lkroll closed 14 hours ago
You sure this is a mailcow problem?
You are right, I wasn't too sure about the relation between SOGo and Mailcow. I just tried the SOGo Demo online (https://demo.sogo.nu) and could replicate the issue there. So I should probably report it over there.
Contribution guidelines
I've found a bug and checked that ...
Description
When composing a new email using the included CKEditor5 interface, new paragraphs do not have any margins and appear the same as line breaks. This is confusing for end users, as the email will look different when sent.
Essentially pressing "Enter" and "Shift+Enter" looks the same when writing the email.
The issue is likely a CSS override somewhere that sets the margins of paragraphs to 0. The issue only appeared after the recent update that included CKEditor5.
When inspecting a paragraph in the editor, this snippet is setting the margins to 0:
As a workaround to "fix" the issue we added a custom CSS override at the end of the theme-default.css file located here
/var/lib/docker/volumes/mailcowdockerized_sogo-web-vol-1/_data/WebServerResources/css/theme-default.css
:After that paragraphs in the CKEditor5 have the correct spacing and look like you would expect.
Before:
After:
Logs:
Steps to reproduce:
Which branch are you using?
master
Which architecture are you using?
x86
Operating System:
Debian 11
Server/VM specifications:
24 GB RAM, 10 CPUs
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
VMware
Docker version:
27.2.1
docker-compose version or docker compose version:
v2.29.2
mailcow version:
2024-08a
Reverse proxy:
Nginx
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check: