shared edit box
fixed dom.before, space key input