Skip to content

Sample fonts list configurations

Samples of font lists for the Tiny editors' font picker.

To customize the Fonts menu, list the fonts to be included in a fonts array. For example:

  fonts: [
    'Helvetica',
    'Arial',
    'Times New Roman',
    'Comic Sans MS'
  ],

To provide an alternate name for a font, use the text property. For example: The Helvetica font with a comment:

  fonts: [
    'Arial',
    {
      value: 'Tahoma'
    },
    {
      value: 'Helvetica',
      text: 'A nice font'
    }
  ],

Parent topic:Common tasks, concepts and reference information