Skip to content

Commit

Permalink
Adding descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Psichorex committed Dec 28, 2023
1 parent 65f7265 commit 167aa7f
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
namespace Lombiq.HelpfulLibraries.OrchardCore.Contents;
using System.ComponentModel;

namespace Lombiq.HelpfulLibraries.OrchardCore.Contents;

/// <summary>
/// Collection of different ContentField editors.
/// Feel free to extend this class by adding more Enum classes with ContentField editors.
/// </summary>
public static class ContentFieldEditorEnums
{
[Description("Editor options for HtmlFields.")]
public enum HtmlFieldEditors
{
Monaco,
Expand All @@ -10,17 +17,20 @@ public enum HtmlFieldEditors
Wysiwyg,
}

[Description("Editor options for MarkdownFields. Wysiwyg editor can be used for MarkdownBodyParts aswell.")]
public enum MarkdownFieldEditors
{
TextArea,
Wysiwyg
}

[Description("Editor options for TaxonomyFields.")]
public enum TaxonomyFieldEditors
{
Tags,
}

[Description("Editor options for TextFields.")]
public enum TextFieldEditors
{
CodeMirror,
Expand Down

0 comments on commit 167aa7f

Please sign in to comment.