diff --git a/sources/editor/Stride.Assets.Presentation/AssetEditors/ScriptEditor/ScriptEditorView.xaml b/sources/editor/Stride.Assets.Presentation/AssetEditors/ScriptEditor/ScriptEditorView.xaml
index 4f30d07ef..8bbf6c565 100644
--- a/sources/editor/Stride.Assets.Presentation/AssetEditors/ScriptEditor/ScriptEditorView.xaml
+++ b/sources/editor/Stride.Assets.Presentation/AssetEditors/ScriptEditor/ScriptEditorView.xaml
@@ -7,11 +7,12 @@
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:sd="http://schemas.stride3d.net/xaml/presentation"
mc:Ignorable="d"
- d:DesignHeight="300" d:DesignWidth="300" FocusManager.FocusedElement="{Binding ElementName=CodeEditor}">
+ d:DesignHeight="300" d:DesignWidth="300" d:DataContext="{d:DesignInstance local:ScriptEditorViewModel}"
+ FocusManager.FocusedElement="{Binding ElementName=CodeEditor}">
-
+
-
+
diff --git a/sources/editor/Stride.Assets.Presentation/AssetEditors/VisualScriptEditor/Views/VisualScriptEditorView.xaml b/sources/editor/Stride.Assets.Presentation/AssetEditors/VisualScriptEditor/Views/VisualScriptEditorView.xaml
index 53e287dca..0f91e6991 100644
--- a/sources/editor/Stride.Assets.Presentation/AssetEditors/VisualScriptEditor/Views/VisualScriptEditorView.xaml
+++ b/sources/editor/Stride.Assets.Presentation/AssetEditors/VisualScriptEditor/Views/VisualScriptEditorView.xaml
@@ -1,4 +1,4 @@
-
+ d:DesignHeight="300" d:DesignWidth="300" d:DataContext="{d:DesignInstance local:VisualScriptEditorViewModel}">
@@ -227,9 +227,9 @@
-
+
-
+