add editor sub-template re-edit feature, fix insert picture bug