rgaiacs / CKEditor-TeXZilla

Plugin for use TeXZilla with CKEditor
www.ime.unicamp.br/~ra092767/ck4.html
Mozilla Public License 2.0
1 stars 1 forks source link

The preview does not look the same as the final rendering #4

Open fred-wang opened 10 years ago

fred-wang commented 10 years ago

I suspect this is because some attributes or style are not allowed in the TeXZilla edition box.

For example single variable are not italic in release. I suspect this is because Gecko uses the _moz attribute for the implementation. However, this is fixed by Bug 114365.

no-italic

Similarly, the font-family on the math seems to be reset.

rgaiacs commented 10 years ago

I don't know how to fix this.

fred-wang commented 10 years ago

the machine on which the screenshot was take does not seem to have the recommended math fonts installed.

fred-wang commented 10 years ago

One of the issue is that

https://github.com/ckeditor/ckeditor-dev/blob/master/skins/moono/reset.css#L49

defines font: normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;.

However, I'm not sure Kuma has these rules: https://github.com/mozilla/kuma/tree/master/media/js/libs/ckeditor/skins so perhaps it will work on MDN.