Question about undo() and operation()

I’m using a custom search interface outside the wrapper element. When I use the replace all function it disables various inputs in the search interface. When I undo this, the HTML inside the wrapper element is restored but the the search interface is unaffected. Is there a way to get undo() to apply to HTML outside the wrapper element?

Alternatively would it be advisable to insert the toolbar with the search interface inside the wrapper element? And if so would undo() set the elements back to not being disabled?

No. Undo just concerns the document inside the editor, it doesn’t automatically sync or revert anything outside of that.

Okay, thanks.