Undo/Redo on custom operations

Is there any way that I could use undo/redo for custom added operations. (like say undo bold format, that user selected).
In demo, select one cell and click on bold button, the text now is bold. How can I make the text go back to ‘not bold’ after pressing ctrl+Z or undo option.
This is a simple example, but I would need to undo/redo many more complex custom operations also.
Seriously any help is much appreciated.

Demo:
https://jsfiddle.net/8ffpsqt6/298/

Hi @rahulabdenkal

In our source code is written that

Handsontable UndoRedo plugin allows to undo and redo certain actions done in the table.

The plugin has its own stack where the operations for undo and redo are held.

If you go to function UndoRedo in the full.js file you have a list of methods that take part in the undo/redo functionality. You can try to add your code there, however, you may experience some issues while updating the Handsontable in the future.