Migrate to new core and store editor state