Top Trump administration officials, including the defence secretary and vice-president, mistakenly texted war plans for strikes in Yemen to a group chat that included a journalist, the White House says, following a first-hand account by the editor-in-chief of The Atlantic magazine.