more markdown edit functions
fix markdown edit mode
fix node swapping on markdown edit mode