We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
6.0.2
Microsoft Edge
None
none
function updateText(option) { const active = getActiveObject(); if ((active?.type ?? "").includes("text")) { active.fill = option.fill; active.fontWeight = option.fontWeight; active.fontSize = option.fontSize; active.fontStyle = option.fontStyle; active.underline = option.underline; active.linethrough = option.linethrough; active.textBackgroundColor = option.backgroundColor; active.fontFamily = option.fontFamily; active.dirty = true; active.setCoords(); } render(); }
The relationship between text size and font, the text box is expected to change accordingly.
The text was updated successfully, but these errors were encountered:
Please make a reproducible case. This is basic functionality that works, so something is happening outside that snippet of code you posted
Sorry, something went wrong.
No branches or pull requests
CheckList
Version
6.0.2
In What environments are you experiencing the problem?
Microsoft Edge
Node Version (if applicable)
None
Link To Reproduction
none
Steps To Reproduce
Expected Behavior
The relationship between text size and font, the text box is expected to change accordingly.
Actual Behavior
Error Message & Stack Trace
The text was updated successfully, but these errors were encountered: