Add LogBlock support to undo and paste