OscarGodson / EpicEditor

EpicEditor is an embeddable JavaScript Markdown editor with split fullscreen editing, live previewing, automatic draft saving, offline support, and more. For developers, it offers a robust API, can be easily themed, and allows you to swap out the bundled Markdown parser with anything you throw at it.
http://epiceditor.com
MIT License
4.25k stars 338 forks source link

Ability to configure CSS media setting #362

Open savingschampion opened 9 years ago

savingschampion commented 9 years ago

When you add stylesheets to the editor iframe, you specify that the CSS should only be loaded for the screen view, which is really incompatible. You should allow the users to decide when the CSS is loaded, or remove the media attribute entirely and do it in the loaded CSS.

I'm trying to print pages with EpicEditor on them, and the lack of CSS styling in print media is really breaking my layout

massar commented 8 years ago

Creating a specific print media CSS file is likely the best method to handle this.