Class CodeEditor
- Namespace
- Dynamicweb.CoreUI.Editors.Inputs
- Assembly
- Dynamicweb.CoreUI.dll
public class CodeEditor : EditorBase<string>
- Inheritance
-
CodeEditor
- Inherited Members
- Extension Methods
Properties
CodeLanguage
Gets or sets the code language that the editor should use for syntax highlighting.
public string CodeLanguage { get; set; }
Property Value
FilePath
Gets or sets the file path relative to /Files folder.
public string FilePath { get; set; }
Property Value
Plugins
The collection of plugins to load into the code editor. See CodeEditorPlugins for available standard plugins, or specify the path to a custom plugin, e.g., /Files/PlugIns/MyPlugIn.js.
public ICollection<string> Plugins { get; init; }
Property Value
ViewHeight
public int ViewHeight { get; set; }