Show post live preview only when there is input