diff --git a/Lombiq.HelpfulExtensions/Extensions/SiteTexts/SiteTextMigrations.cs b/Lombiq.HelpfulExtensions/Extensions/SiteTexts/SiteTextMigrations.cs index 56daa1c0..4a3f9d32 100644 --- a/Lombiq.HelpfulExtensions/Extensions/SiteTexts/SiteTextMigrations.cs +++ b/Lombiq.HelpfulExtensions/Extensions/SiteTexts/SiteTextMigrations.cs @@ -5,6 +5,7 @@ using OrchardCore.Data.Migration; using OrchardCore.Markdown.Models; using static Lombiq.HelpfulExtensions.Extensions.SiteTexts.Constants.ContentTypes; +using static Lombiq.HelpfulLibraries.OrchardCore.Contents.ContentFieldEditorEnums; namespace Lombiq.HelpfulExtensions.Extensions.SiteTexts; @@ -24,7 +25,7 @@ public int Create() draftable: false, listable: true, versionable: false) - .WithPart(nameof(MarkdownBodyPart), part => part.WithEditor("Wysiwyg")) + .WithPart(nameof(MarkdownBodyPart), part => part.WithEditor(MarkdownFieldEditors.Wysiwyg)) .WithPart(nameof(LocalizationPart))); return 1;