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.

Default font for text elements

See original GitHub issue

It would be interesting to be able to pick a default font that will always be used when creating new text elements.

For example if you want your whole drawing to use the Code font, you have to either do it all in “Hand-Drawn” and then change every text element with the select tool or change it for every text element you add, being able to have a selected font by default would make this process much better IMO.

I’m not sure if there’s already a mechanism in place to handle global defaults but if so I would be willing to try to add this feature if it’s something you feel has a place in excalidraw. 😃

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
dwellecommented, Jan 22, 2020

Related (and potentially duplicate of) https://github.com/excalidraw/excalidraw/issues/481.

1reaction
vjeuxcommented, Jan 22, 2020

We already have a way to remember the stroke and background colors. We need to extend it to all the properties. A PR would be welcome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Style Text Elements with Font, Size, and Color in CSS
The default font sizes for elements are relatively sized based on the parent element, in this case the <body> element, using a percent...
Read more >
Fundamental text and font styling - Learn web development
Default fonts. CSS defines five generic names for fonts: serif , sans-serif , monospace , cursive , and ...
Read more >
Set the default properties for text and graphic elements
Default fonts and styles for text elements as well as symbol and color settings for polygon, line, and point graphic elements are managed...
Read more >
How to change the default font used in the text elements of my ...
In the Appearance box, change the default font. You can use the '…' button to select from the full list of installed fonts....
Read more >
W3.CSS Fonts - W3Schools
Verdana is the default font used in W3.CSS. Verdana has a good letter spacing, and is easy to read. Verdana is also the...
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