When a contenteditable element thats set to display: inline is emptied, it will return a new line as its innerText/innerHTML. This is the same as a block element, except when content is placed in it, the block element's new line is removed but the inline element keeps the new line appended onto the end with no way to remove it.
Created attachment 12282 [details] Reduction
This is still an issue with current nightlies.
This is still an issue with Safari, Chrome, and Firefox in 2022. Is this actually a bug? Or is this correct behavior?