Skip to content

Text is truncated when it exceeds shape width while placed beside said shape and word wrap is enabled #2350

@ryan-uwaterloo

Description

@ryan-uwaterloo

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
With Word Wrap enabled, svg-exported text outside the shape is truncated at shape width, unlike preview in-editor.

To Reproduce
Steps to reproduce the behavior:

  1. Make a shape
  2. Set text location to "right" (I haven't tested other external text options)
  3. Write some text for the shape that is longer than the shape is wide
  4. Leave word wrap enabled
  5. Export to svg
  6. Text is truncated.
    Expected behavior
    A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
Word Wrap enabled:
Image
No Word Wrap enabled:
Image

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

  • draw.io version 25.9.2

Desktop (please complete the following information):

  • OS: Windows 10

Additional context
Add any other context about the problem here.
The problem is not present with word wrap disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions