Thank you very much! We are using 9.4 Premium.
I enabled the option, but I can't see any difference. The behavior is still the same. I can undo the changes made by code, but redo isn't working.
Also, aside from that, I noticed when entering some random text and line breaks manually in the WP edit field like ...
flkasdjfasdf
ioeruoiewrewr
fasdfsadf
... and then use the Undo / Redo function, it doesn't work properly. The undo seems to work, but redo doesn't work.
Also when manually creating a table via the WPToolbar "Create Table" icon, let's say 1 row and 5 columns and then use undo, it doesn't seem to work either. When I click undo until the button stays disabled, I end up with a table with 1 column and 5 rows. This also happens in the WPToolsDemo.exe that is shipped with the installation: Insert a table at the bottom of the text, 1 row, 5 columns, press Ctrl + Z to undo.