Update formatEmpty override so code still syncs even if editor has images. Fixes #1603.