Customize keyboard shortcuts
Bind, disable or override editor actions so keyboard commands fit the host application. The editor shortcut manager is shared with the other HTML Editor editions.
The native control also inherits framework key-input behavior; configure the editor manager for editor actions.

Use it in your application
Change bindings on the UI thread. Await SynchronizeKeyBindingsAsync when the next operation depends on acknowledged browser shortcut configuration.
Disabling the editor Save shortcut lets your host own that shortcut. Bind the host command separately through your normal Avalonia input setup.
Keep expected browser and Source behavior in the same test workflow, including focus and read-only transitions.
editor.KeyBindings.Disable(SpiceLogic.HtmlEditor.Abstractions.KeyBindings.EditorActionId.Save);
await editor.SynchronizeKeyBindingsAsync();