take contentEditable="true" into account