voidlabs / mosaico

Mosaico - Responsive Email Template Editor

Home Page:https://mosaico.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected empty line at the end of editable contents in Chrome 95+

bago opened this issue · comments

commented

We found a weird bug introduced by chromium in version 95. I submitted the bug to chromium and has already been acknowledged as a regression:
https://bugs.chromium.org/p/chromium/issues/detail?id=1418412

The issue appears when we use an absolutely positioned ":after" content in contenteditable elements. Unfortunately we use both :before and :after pseudoelements to draw boxes about editable/selected editable items, but maybe we could refactor the code so to avoid hitting the Chrome bug, as we have no idea about the bugfix ETA.