OscarGodson/EpicEditor — Issue #34: Flash of unstyled preview
Author: OscarGodson
Created: 2012-03-01 02:18:18+00:00
State: open
Labels: Easy, Important

Super annoying. On each page load when you switch to preview you'll see a flash of CSS on a remote server (not locally since it loads too fast) as you can see on the github page. To fix just preload the CSS with the private `_insertCSSLink()` function like i use in the `preview()` method. The `preview()` method should check if it's loaded or not anyways so it shouldn't break anything.