jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
89 stars 29 forks source link

Add "Edit Shape" to Right-Click menu of Custom Shapes #4284

Open Peeeet opened 8 months ago

Peeeet commented 8 months ago

Is your feature request related to a problem? Please describe. Currently it can take up to five clicks and a modal change (switching to the Style tab) to get to the "Edit Shape" dialog of a pre-existing Custom (aka stencil()?) Shape.

Describe the solution you'd like When right clicking on an object that was created with the "Shape..." option in the create object tool (plus sign on the toolbar) there could be an option for "Edit Shape" to bring up the same dialog that appears when you have the object selected and choose "Edit Shape" from the Edit dropdown menu in the Style tab of the right side panel (in classic theme)

Describe alternatives you've considered As far as I can tell, the only way to edit a custom shape in this way is through the dropdown in the Style tab. I thought I remember it being in one of the other menus but I keep accidentally opening "Edit Geometry" and "Edit Diagram".

alderg commented 7 months ago

Added in the Simple theme.

Screenshot 2024-04-23 at 07 27 22 Screenshot 2024-04-23 at 07 27 04