| <?xml version="1.0" encoding="utf-8"?> |
| <svg xmlns="http://www.w3.org/2000/svg" version="1.2" width="500px" height="500px" viewBox="0 0 500 500"> |
| <title>Drag and drop of SVG text selection from textArea to editable text element</title> |
| <textArea x="10" y="10" width="480" height="90" font-size="20">Select part of this text and drag selection to the box below. |
| Content of selection should be copied once it's dropped in the box.</textArea> |
| <text x="10" y="200" font-size="50" editable="simple"> </text> |
| <rect x="10" y="160" width="480" height="50" stroke="black" stroke-width="1" fill="none"/> |
| </svg> |