Opened 14 years ago

Closed 14 years ago

#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 (1)

comment:1 Changed 14 years ago by niko

  • Resolution set to invalid
  • Status changed from new to closed

do you get any errors on the JavaScript? console (Firefox)?

best would be if you could post a testcase of your installation so we can see the error ourselves :D

please ask this question in the forum - create new tickets only for bugs and feature-requests.

Note: See TracTickets for help on using tickets.