Skip to content
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

Bold font does not get saved as a Default Style when clicking Set As Default Style #4815

Open
2 tasks done
edward-bestx opened this issue Nov 10, 2024 · 0 comments
Open
2 tasks done

Comments

@edward-bestx
Copy link

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug
Shapes have a "Set As Default Style" button which is supposed to save the current settings for the active shape as a default style.

This does not include the font Bold (and others) settings.

To Reproduce
Steps to reproduce the behavior:

  1. Create a shape
  2. Set the line width to 2pt
  3. Enter some text to the shape
  4. Set text font to BOLD
  5. Click "Set as Default Style"
  6. Create new shape. The line will default to 2pt, however the font will not default to BOLD

This presumably affects ITALIC, and other font options.

Expected behavior
The font settings (such as BOLD etc) should be saved as default.

Screenshots
If applicable, add screenshots to help explain your problem.

The left shape has been created and then Set as Default Style was clicked. The right shape was then created. The line width has defaulted correctly, however the font settings have not.

image

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 24.7.17

Desktop (please complete the following information):

  • OS: Windows

Additional context
Add any other context about the problem here.

@m-mohamedin m-mohamedin transferred this issue from jgraph/drawio-desktop Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant