cleanup markup, fix editor body height when plaintext