While I was on the airplane or
While I was in the airplane?
Which preposition is correct?
Both are correct: you would use โonโ when you were not particularly thinking of what the airplane is like inside, โinโ when you were thinking of something to which the interior of the airplane is relevant, such as โthe person next to me in the airplane kept squirming in his seatโ. The distinction is quite vague; the prepositions can be used almost interchangeably.