deep_cloneable icon indicating copy to clipboard operation
deep_cloneable copied to clipboard

Clone to different model

Open t56k opened this issue 5 years ago • 2 comments

Does this gem support the option to clone a set of children to a different model?

Say a Template has many Frames, and Frames have many FrameVariables. Can I clone those Frames and FrameVariables to a new Document?

t56k avatar Apr 24 '19 01:04 t56k

No, there's no support to do that yet. As the copy is not saved, you could make a copy of the template first and then reattach the duplicated frames to the document afterwards instead.

moiristo avatar Apr 24 '19 09:04 moiristo

@t56k how did you go about this? I am working on the same thing. It doesn't seem we would even need this gem if we have to go through setting attributes manually anyways.

t2 avatar Mar 09 '24 14:03 t2