Skip to content

How should I add JS custom class hints? #105

Description

@Jauhuei
@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions