drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

Font change does not apply to all selected lines in a Text shape

Open dgillman opened this issue 1 year ago • 0 comments

Preflight Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] 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 When editing the text entered into a Text shape, it does not appear possible to apply a font change to all selected lines. Instead, the font is only applied to the first line of the selected text. The remaining lines must be individually selected to apply font changes.

To Reproduce Steps to reproduce the behavior:

  1. Drag a Text shape onto the canvas
  2. Enter multiple lines of text into the Text shape
  3. Select all lines of text in the Text shape
  4. In the Format pane at the right, in the Text section, select "Courier New" in the font dropdown (it should be "Helvetia" by default, so this is a change of font family)

Expected behavior All selected lines of text should now render in "Courier New" instead of "Helvetia".

Screenshots

Step 1: create Text shape

Screenshot 2024-10-04 at 10 36 39 AM

Step2: highlight all text

Screenshot 2024-10-04 at 10 36 55 AM

Step 3: select a new font

Screenshot 2024-10-04 at 10 37 06 AM

Step 4: font is only applied to line 1

Screenshot 2024-10-04 at 10 37 15 AM

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: MacOS 14.6.1
  • Chrome: Version 129.0.6668.71 (Official Build) (arm64)

Additional context Add any other context about the problem here.

dgillman avatar Oct 04 '24 17:10 dgillman