Skip to content

[svgdata] properties defined on layers are not exported in the corresponding svg element #5429

@denis-migdal

Description

@denis-migdal

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.

Search terms: svgdata

Describe the bug

When defining properties on a layer, and then exporting to SVG using the svgdata plugin, the properties are not included in the corresponding svg element.

To Reproduce
Steps to reproduce the behavior:

  1. Enable the svgdata plugin
  2. Create a new layer
  3. Add a property to the layer
  4. Add a new shape to this layer
  5. Export the document as SVG
  6. Open the SVG file in a text editor and search for the property.

Expected behavior

Properties defined on layers should be included in the <g> element corresponding to the layer.

Screenshots

NA

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

  • draw.io version v29.3.0 (desktop)
  • draw.io version v29.3.2 (web)

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Firefox
  • Browser Version: 146.0.1

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • NA

Additional context

Related issue: #5422 (comment)

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