HtmlEditor not saving checkbox state

HtmlEditor's Value property is not showing checked='checked'

I'm also not getting the Change event until lost focus....

Can you elaborate?

Yes, this is how we have implemented it for performance considerations. We may introduce change on keypress too as a feature. Feel free to log it as a github issue.

Thanks for your reply.

  1. For input type checkbox, I was expecting to get html with the checked attribute = true.
    ( )

  2. At this time, I don't need change on keypress. What I'm trying to do is implement a Save command. Is there a way to 'flush' the editor so I can have a save button command? Currently the changes are not reflected in the bind-Value variable or in editor.value. Currently, I'm saving on the Change event when user closes the dialog.

Still not sure what you mean. What checkbox? How do you input it in the HtmlEditor?

When the user clicks a button (or just outside of the editor) it should blur the editor which is supposed to update its Value.

Sorry for the confusion. I edited the raw html outside the editor, then loaded it into the editor.
'' I have found a workaround so this is no longer an issue.

However, on the save button issue. If I change some text in the editor and then press my custom command button, editor's Value is not updated yet.
HtmlEditor - Copy.zip (1.3 KB)

Custom commands are intentionally made not to blur the editor. You can however use a custom command with a Template and a regular button. Clicking it will blur the editor and trigger its Change event.