Last modified: 2014-09-25 01:45:46 UTC
Duplicated logic is bad.
(In Parsoid or whatever; the point is, this code should be re-useable by Flow, OCG and anyone else rather than buried inside VE.)
For static pages we should be able to do this with CSS retrieved from an API. We'll provide this API for normal pages. For dynamic hints during editing we'd still need to inject styles dynamically. The latter would probably remain VE-specific.
(In reply to Gabriel Wicke from comment #2) > For static pages we should be able to do this with CSS retrieved from an > API. We'll provide this API for normal pages. *nods* > For dynamic hints during editing we'd still need to inject styles > dynamically. The latter would probably remain VE-specific. Yeah, but Flow/etc. may want to style too.