looshi / Blaze-Haus

Edit blaze templates and css at runtime
6 stars 0 forks source link

Validate CSS before appending to CSSOM #13

Open looshi opened 9 years ago

looshi commented 9 years ago

Currently , every edit made to the CSS gets appended to the CSSOM, valid or not , magically most of it works out.

The goal of this ticket is to provide some user feedback if the CSS is malformed. The CSS rendering happens here : https://github.com/looshi/Meteor-Live-Template-Editor/blob/master/client/views/inspector/Inspector.js#L196

the label 'ethereal stout vegetable' assigned to this task, means I have no idea of the effort required.

looshi commented 9 years ago

maybe we can leverage Codemirror, since it seems to be able to validate syntax.