Plugin Author
nK
(@nko)
Hey.
Can you provide more info about your block? Which controls used inside the repeater? How it is filled. I need this info to reproduce issue locally.
Regards, nK.
Hi, thanks for the feedback.
This problems happens when saving it as meta.
and using the meta output.
<?php
$repeater = get_lzb_meta( ‘control_meta_name’ );
foreach ( $repeater as $inner_control ) {
?>
<p><?php echo $inner_control; ?></p>
<?php
}
I left the Single output code for Frontend and Editor unchecked.
and Show block preview in editor is set as never.
When copy past it to another page the rows are empty again.
I just made it without meta also and then I don’t have this problem.
It will copy past to other pages as well. So in that sense the problem is solved.
But maybe it should work for meta as well?
Plugin Author
nK
(@nko)
Hey.
Meta is saved to the post data. And when you copy the block, data remains in the post meta. When you insert this block in another post, block will look at the post meta data, in which you inserting it.
Regards, nK.
Hi thanks for the feedback!
I understand now. Better to not use the meta when also wanting the copy the blocks with content.