Code block edit