@using MudBlazor;
@using WorkflowCore.Activities;
@using WorkflowCore.Attributes;
@using WorkflowCore.Models;
@using WorkflowCore.Workflows;
@using BlazorMonaco;
<MonacoEditor @ref="@Editor" ModelMarkers="" ConstructionOptions="@EditorConstructionOptions" OnDidChangeModelContent="@OnDidChangeModelContent" />
private StandaloneEditorConstructionOptions EditorConstructionOptions(MonacoEditor codeEditor)
{
return new StandaloneEditorConstructionOptions
{
Language = Language,
Value = Code,
Minimap = new EditorMinimapOptions() { Enabled = false },
};
}
I can create the editor and it works fine, but I want to add custom classes, custom global variables.
However, no relevant resources were found, including asking about GPT, but there was still no answer.
I can create the editor and it works fine, but I want to add custom classes, custom global variables.
However, no relevant resources were found, including asking about GPT, but there was still no answer.