Save editor settings in localStorage