So there is precedent for allowing civil suits against a Democratic president for actions not in the line of duty. Clinton clearly wasn't.
The opinion also says that Trump has other ways of showing that his speech was in the line of duty as president (as opposed to as a candidate) that haven't been raised and decided yet.
Clinton’s Paula Jones disposition was for an act committed prior to his becoming President. Trump was President on Jan. 6, 2021. Case history is on his side that he can not be sued for anything that may be loosely considered an official act of his office. This will be overturned on appeal.