come up with new solution of editing post inspired by csdn
improve edit posts with bug #19 and #20
fixed #19 and fixed #20
fixed #22 and fixed #23