ft refactor + add tinymce
refactor unittest and add post formating