started to add previewer and text editing capabilities from pagedown project on create-edit view; still requires debugging