Update text real-time in layers when changed on the artboard
When a text layer is created, the layer name is the same as that of the text. However, when the text is updated or made a copy of, the new layer's label in the layers panel remains the same. It needs to be updated in real-time as per the text on the artboard.
Right now, it is very confusing to look at the same text-labeled layers in the layers panel.
-
Christoph Mauerhofer commented
My feature request "Reset name of text layer to its content" has been merged by Adobe with this feature request.
I am not sure if the two are are entirely equivalent though:
I just made a quick test in XD 50.0.12.14 on macOS and as long as I did not rename a text layer, its name (equal to the content) did update when changing the text element's content. Also when I made a copy and modified its content, the copied layer's name updated. (Both not "instant" while typing, but after clicking outside the text element.)
The idea of my feature request refers to text layers that have been manually renamed in the layers panel. I don't think that in that case, changing the text should automatically update (revert) the layer name back to the text element's content. I'd prefer it if this was a manual user decision.
-
Christoph Mauerhofer commented
Normally a text element's layer name is the content of the text element. You can also change the layer name to something different.
However, it would be good if you could then also reset the renamed layer name again, so that the layer goes back to being named after the text content.This is especially relevant if using text elements inside components and component instances. If you have overwritten the name of a layer in a component instance, it would be nice if you can reset that so the layer name is inherited by the master component again (without resetting the whole component instance).
A simple way to do that would be: double click the layer name to edit the name, delete everything, press Enter to confirm.