question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't remove Arial and Segoe * fonts from drop down menu

See original GitHub issue

Hi, I want to remove the last four items from drop down menu because i never use these fonts.

image

So i write following code, but it does not remove those fonts. Can you help me please? fontNames: [ 'Tahoma','Comic Sans MS','iransans','Sacramento'],

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
DiemenDesigncommented, Dec 2, 2020

Please consult https://summernote.org/deep-dive/#custom-fontnames if you still require help, thank you.

2reactions
umuttocommented, Mar 24, 2021

I was having the same problem, adding addDefaultFonts: false on initialization works. This option is not in the documentation.

https://github.com/summernote/summernote/blob/0c5249df9d82b5bd7ef4297c1c2dfa5e42ba2e2a/src/js/base/module/Buttons.js#L346-L356

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deleting unwanted fonts in Word font dropdown box
Hi, Having all the font choices—that I never use—listed in the dropdown box gives me anxiety. I do not want All Fonts listed....
Read more >
[SOLVED] - DELETE ANY FONT ( "IN USE" ERROR ) - YouTube
In this video I'm going to show you how to delete any font, even when you get the common error message that says...
Read more >
Fix Weird Font Problem in Windows 10 - YouTube
If you are experiencing a weird font apperance on your Windows 10 computer, this will be for you. You can fix the font...
Read more >
Is there a way to delete all the fonts on Windows? - Quora
Press windows key and then type fonts. Whatever pops up like “Change font settings” click it and then it should pop up with...
Read more >
Text Font and Spacing in Drop Down Menu is Wierd
Text Font and Spacing in Drop Down Menu is Wierd ... I removed all files and folders of Firefox/Mozilla from my machine, reinstalled...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found