Better HN
topnewbestaskshowjobs
Log inSign up

grrrrbytes

2 karma · joined Oct 14, 2012 (14y ago) · 1 submissions

Submissions

comment 14y ago · link · parent

I notice that still a lot of editors use inline css for their image-styling (I assume, since the editor should correctly preview the way images are lined up). But this obviously creates problems when you decide to style such images a bit differently (adding some padding, whatever) without modifying tons of generated content. A centralized css declaration would make this much easier.

Wouldn't there be a possibility to put these styles in an external stylesheet? As the editor itself makes use of external css for it's own styling, adding a new stylesheet for the elements it creates would not be very difficult, right?

I'm sure this is conscious practice that is done with a purpose in mind. I'm only unaware of its explanation.

Also: I noticed that Redactor uses italic-tags (<i>) to style text as italic. Isn't this bad practice in terms of semantics?