auto resize editor saves now with localStorage