Use <div> tag when preserving classes, direction and styles while enterkey in list.