10000 Ordered tags · Issue #1580 · MewPurPur/GodSVG · GitHub
[go: up one dir, main page]

Skip to content

Ordered tags #1580

@Tsunami014

Description

@Tsunami014

Feature Description

It's just a QOL feature, but I would like to have the program to be able to either automatically or on a button press sort the tags inside the svg elements.

What I mean is like if you have:

<elm d="..." fill="..." class="...">
<elm class="..." fill="..." d="...">
<elm fill="..." class="..." d="...">

it would sort it to

<elm class="..." d="..." fill="...">
<elm class="..." d="..." fill="...">
<elm class="..." d="..." fill="...">

This could either be some user preset or just look at the most used method for sorting and go with that, and would need some way of handling unknown tags (the go with most used sort in the code looks good for that). The 2 ideas can even be combined and have manual sorting for some tags and auto sort the rest!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0