OscarGodson/EpicEditor — pull request #207 by lamplightdev (2013-02-07 16:49:23+00:00)
Title: Ticket #204 - sync textarea with exported text rather than raw text

As per ticket #204 a synced textarea was giving ` ` in place of regular spaces on Firefox. This was because the textarea was being synced from `getFiles` which gives the raw content from localStorage. This doesn't allow for the vagaries of space handling in contenteditables accross browsers. `exportFile` does aleady allow for these inconsistencies however so I have changed the code so that textareas are now synced using `exportFile` rather than `getFiles`.