methodofaction / Method-Draw

Method Draw, the SVG Editor for Method of Action
http://editor.method.ac
MIT License
2.82k stars 712 forks source link

BUG: can't edit text when you are not in the initial layer #138

Open evenlasting opened 2 years ago

evenlasting commented 2 years ago

your can't edit the text when the text is wrapped by <g>

for example: <g id="svg_2"><text x="617.29102" y="99.25497999999999" stroke-linecap="round" stroke-linejoin="round" fill="rgb(0,0,0)" text-anchor="start" font-family="Segoe UI" font-size="24px" id="svg_143" style="">demo</text></g>

you can only ungroup this to edit the text.