Drawflow icon indicating copy to clipboard operation
Drawflow copied to clipboard

Use Multiplication unicode symbol for delete

Open urre opened this issue 2 years ago • 2 comments

This PR replaces the usage of a normal "x" text with the Unicode Character “✕” (U+2715) instead. It looks better to represent "close" or "remove".

urre avatar Mar 07 '23 13:03 urre

Thanks for the PR.

Currently I am only fixing bug and I am not adding changes.

jerosoler avatar Mar 08 '23 10:03 jerosoler

  1. add stylesheet in src/drawflow.css

.drawflow-delete span { position: relative; left: -8px; top: 5px; }

  1. change line number 533 under context menu method to the blow code from : deletebox.innerHTML = "x"; to: deletebox.innerHTML = "";

image

skahmad avatar Apr 25 '24 19:04 skahmad