fix for #2422

Change the dataProcessor.toDataFormat function which is sensible to the editor's enterMode config, causing this issue.