fixed tabs and edit mode new paragraph creation