jejacks0n / mercury

Mercury Editor: The Rails WYSIWYG editor that allows embedding full page editing capabilities directly inline.
http://jejacks0n.github.com/mercury
Other
2.63k stars 530 forks source link

Mercury uses font tag. #122

Closed chandresh closed 12 years ago

chandresh commented 12 years ago

Not sure if it is a bug - just discovered that Mercury uses font tag if you color the text. Some other editors use span with inline CSS. Not sure which approach is better.

jejacks0n commented 12 years ago

It's not Mercury that puts that in, it's the browser. The browser implementations vary slightly, and Mercury specifically sets them to use this method (instead of style attributes for instance) because it makes them behave more similarly.