Handle empty nodes - a placeholder is added to allow editing to start
Improve empty editor dom detection and skip temporary dom elements in demarkdown