Fixes Fatal Error When Generating CSS

Fixes #31
Added Editor Type
Merge pull request #32 from gambitph/fix-css-fatal-error

Fix css fatal error