Unify editor shell asset contracts

This commit is contained in:
2026-04-07 12:47:16 +08:00
parent 49e9b63a2d
commit 3cf4adf181
5 changed files with 140 additions and 2 deletions

View File

@@ -42,8 +42,7 @@ struct StructuredEditorShellBinding {
inline UIEditorShortcutManager BuildStructuredEditorShortcutManager(
const EditorShellAsset& asset) {
(void)asset;
return UIEditorShortcutManager(UIEditorCommandRegistry{});
return BuildEditorShellShortcutManager(asset);
}
inline StructuredEditorShellBinding BuildStructuredEditorShellBinding(