HtmlEditor Editing Mode

How do we detect when the user switches the Modes between "Source" and "Design"? I have custom tools that I want to show (and ensure they are enabled) only when the user is in Source mode.
I have tried to create a two-way binding for the "Mode" property, but I think the change event is not firing, and the property (that I am binding to it) is not updated.
Thank you.

Hi @Amer,

Indeed the Mode property doesn't support two-way binding.