The word proton is used differently in these two quotes.
Physicists use proton only for the three-quark baryon itself. Chemists sometimes use the term proton as a shorthand for a chemically bonded hydrogen group. That is the excited state to which the second quote refers, not the state of the proton internally. One way to tell is by its mention of "optical excitation," which means electron-bond energy levels.
Exciting a proton internally -- which again is not what the chemistry quote meant -- requires orders of magnitude more energy. As others have noted, the result is so different from a proton that it has its own name, the $\Delta^+$. The $\Delta^+$ is unstable, more massive, and has spin $\frac{3}{2}$ versus the proton's spin $\frac{1}{2}$.
Addendum 2021-12-07.12:16 EST Tue: This is only for folks interested in the in-depth particle physics aspects of this question.
While this is more a matter of opinion in definitions, I would say that the resonance (which means "a short-lived particle") that best qualifies as an excited proton is not $\Delta^+$ but the one-positive-electric-charge $uud$ $N(1680)({\frac{5}{2}}^+)$ resonance. So little emphasis is placed on this resonance that I could not find a standard notation to distinguish between the neutron-like no-electric-charge $udd$ version and the proton-like one-positive-electric $uud$ variants of this resonance. The plus sign at the end of its designation means "even parity," not a positive charge. That accidental pre-emption of the plus sign likely makes adding an electric-charge "$+$" a bit tricky, so perhaps folks just don't bother?
The $uud$ $N(1680)({\frac{5}{2}}^+)$ resonance is more like a proton because two of its three valence (non-virtual) quarks spin in the same direction while the other has reverse spin, just as in a proton. In sharp contrast, all four $\Delta$ baryons (plus their Regge trajectory excitations; if you don't immediately get a page image on that link, try refreshing the page) have valence quark spins in the same direction. The Regge trajectory resonances add spin in units of $+2$ to each of these configurations using orbital momentum. If you think of this added orbital momentum of the quarks as the angular momentum of the quarks swinging around each other at higher speeds, bola style, that's actually a pretty good heuristic model for comprehending what's going on.
You can use that mental model because the strong force behaves remarkably similar to a bungee cord, increasing the force of its binding as it gets stretched. That's why protons and neutrons have well-defined surfaces. It also means that, if someone could measure it (not easy!), the higher Regge excitations should all have larger diameters than protons and neutrons. I have no idea if that has ever been tried.
(On a related note: The critical need for a force with a bungee-cord-like behavior to get string-like vibrations is also why what's now called "string theory" (it was at first called superstring theory) should have died after no more than a handful of papers. String theory unavoidably assumes that some variant of gravity is the binding force, and no variant of gravity shows the bungee-cord-like containment needed to make the hypothesized string vibrations physically meaningful. It's really sad that superstring theory didn't get wrapped up quickly for just that reason, since instead, it went on for half a century, eating up enormous funding and wasting research careers on unproductive speculations that predicted nothing.)
Adding orbital angular momentum arguably changes the character of the nucleon far less than flipping one of the valence quark spins relative to the other two valence quarks since the latter operation profoundly changes the nature of the nucleon and enables entirely new (and quite weird) particles such as $\Delta^{++}$.
Terminology note: My thanks to user Christoffer for replacing my "canonical quarks" phrase with "valence quarks," a phrase I did not know before. Standard terms are always better!