That is not what happened.
In his October 24, 2022 televised debate with Democrat Charlie Crist DeSantis refused to commit to serving four full additional years as governor, in effect telegraphing his possible run for national office. Crist made a big deal over this - perhaps bigger than you are making now.
https://www.cnn.com/2022/10/24/politics/florida-governor-debate-takeaways-desantis-crist/index.html
Floridians were fine with that - 60 percent voted to re-elect him governor with the understanding he might run for president.
Keep in mind when DeSantis telegraphed in 2022 his intention to possibly seek the presidency in 2024 Trump was not only not the president, he was not even an official candidate for the presidency (that did not happen later).
DeSantis debates Crist on October 24, 2022. Election Day was November 8, 2022. Trump announced he was running for President on November 15, 2022.
I didn't think you'd address DeSantis getting the laws changed to benefit himself.