height:auto fix for #2517

Fix for #2517.

Use height:auto only for inline editors to fix rendering time for large files in full editors