Ticket #482 (closed defect: invalid)
Where do I ad the new fonts?
| Reported by: | anonymous | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.0 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | font |
| Cc: |
Description
Hi
I try to ad new fonts using config.js instead of editing in the htmlarea.js (to avoid to change every time i upgrade).
I try to put it into Step 4 like this:
editor.config.fontname = {
"— font —": '',
"Arial": 'arial,helvetica,sans-serif',
"Courier New": 'courier new,courier,monospace',
"Georgia": 'georgia,times new roman,times,serif',
"Tahoma": 'tahoma,arial,helvetica,sans-serif',
"Times New Roman": 'times new roman,times,serif',
"Verdana": 'verdana,arial,helvetica,sans-serif',
"impact": 'impact',
"WingDings": 'wingdings'
};
But something get wrong - when I do that, the editor doesn't show in the browser.
Is it my code or do I put it in a wrong step?
Change History
Note: See
TracTickets for help on using
tickets.
