fix empty textarea overwriting initial model value
add e2d tests for markdown example