put preview on edit post