For a client's intranet HR section user profile approvals, to fast-track managers approving changes to a user profile, we would like to be able to clearly display changed text.
I'd love to have something like git's diff, or even the edit engine that's used here on stack overflow. I'm not sure if that happens client side, but I would like to be doing it client side.
I had a bit of a google around but unfortunately the keywords attract a plethora of crufty non-answers. I imagine there's something out there... but I am neither Scully nor Mulder and time is of the essence.
(Context: a basic LAMP stack with data from database.)
Example:
- After many years of experience working for the competition, I joined our wonderful firm.
- After many years of experience working for the constipation, I joined our dodgey firm.
Display:
After many years of experience working for the constipation, I joined our dodgey firm.
Obviously strikeout or colour is better, but not avaliable here.
Does any kindly soul know of such a library, or have a gizmo they would like to share?