fix: remove reference to placeholder in element data on undo