-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support decreasing/increasing fontSize
via keyboard
#4553
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/excalidraw/excalidraw/7grHRniZ3ZUMvM1GWcF9A73ARRDt |
e8290f6
to
899584f
Compare
899584f
to
db3979f
Compare
return null; | ||
}; | ||
|
||
export const getContainerElement = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we already have getBoundTextElement
which returns the bound text
EDIT: Ignore my bad thats for bound text and this is for container
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
Not sure what fontSize steps we should use:
Also:
textAlign
when changingfontSize
via property panelTodos (future)
(
reviewable by commitsnot much anymore)