diff --git a/packages/mindplot/src/components/widget/FontFamilyPanel.js b/packages/mindplot/src/components/widget/FontFamilyPanel.js index 4ea79505..2a56ce58 100644 --- a/packages/mindplot/src/components/widget/FontFamilyPanel.js +++ b/packages/mindplot/src/components/widget/FontFamilyPanel.js @@ -22,14 +22,12 @@ class FontFamilyPanel extends ListToolbarPanel { // eslint-disable-next-line class-methods-use-this buildPanel() { const content = $("
"); - content.html( - '' - + '
Arial
' - + '
Tahoma
' - + '
Luminari
' - + '
Brush Script
' - + '
Verdana
', - ); + const list = ['Arial', 'Baskerville', 'Tahoma', 'Limunari', 'Brush Script MT', 'Verdana', 'Times', 'Cursive', 'Fantasy', 'Perpetua', 'Brush Script', 'Copperplate'] + .sort() + .map((f) => ``) + .join('\n'); + + content.html(list); return content; } }