Click to email this to a friend (Opens in new window)

Click to share on Twitter (Opens in new window)

Click to share on Facebook (Opens in new window)

Milo Yiannopoulos is firing back at the book editor who slammed him in the margins of his “Dangerous” manuscript — claiming that friendly text messages between the two show Simon & Schuster editor Mitchell Ivers approved of the draft and that the publisher killed the tome for political reasons.

“Ivers said one thing in manuscript edits, but quite another when he was giggling and flirting with me. I look forward to prevailing in court,” Yiannopoulos said in a statement to Page Six Thursday. “Mitchell Ivers, the liberal gay editor Simon & Schuster put in charge of neutering its edgier conservative authors, hates Republicans and thinks they are all virulent homophobes. He told me so himself.”

Photos of text messages exchanged between Yiannopoulos and Ivers show Ivers heaping praise on the controversial political provocateur.

“Don’t quote me but you done good,” one message purportedly from Ivers reads, following an exchange that appears to show them discussing presales.

“On this phone call with us tomorrow you’re going to love Jen Robinson, our VP of publicity. She’s a big supporter,” Ivers allegedly wrote in another missive.

Ivers did not respond to calls and emails seeking comment.

The revelations come after court documents filed in Yiannopoulos’ $10 million breach-of-contract suit against Simon & Schuster showed Ivers eviscerating Yiannopoulos’ prose on practically every page.

Yiannopoulos’ lawyer Stephen Meister says the publisher decided to kill the book deal before Ivers ever read the draft and the edits were ginned up to justify dropping him.

“It’s total bulls—t,” he said. “These edits are all just a cover-up or an excuse to provide cover for an improper termination.”