dataliterate / data-populator

A plugin for Sketch and Adobe XD to populate your design mockups with meaningful data. Goodbye Lorem Ipsum. Hello JSON.
MIT License
1.67k stars 113 forks source link

Broken copy&paste #16

Closed mvdandrieux closed 9 years ago

mvdandrieux commented 9 years ago

Fantastic app ! Just a note: The plugin seems to remember the blocks where a json variable was input and replaced. This prevents copying of any text block which contained a variable at some point of his history, even if you fill it up with a new variable. Lots of unatural manipulation needed to handle these blocks.

nitrada commented 9 years ago

Yes, the plugin persists the original string with its {placeholders} in the text layer. We do this to be able to populate again without the need to manually set new placeholders. Like that, you can for example shuffle through dozens of data.

To get rid of it, use the "Restore Placeholders" command. This will remove it from the text layer and write back the original string into the layer. From here, you can use the layer as a regular text layer again – or go on and populate it again.

Does this work for you, @mvdandrieux?

mvdandrieux commented 9 years ago

@nitrada YES. Fantastic new feature. Just downloaded the last build and it worked seamlessly. Thank you for the great piece of loveware.