@typePartDefinition.DisplayName()
@@ -33,11 +31,10 @@
}
else
{
-
+
@foreach (var shape in Model)
{
@await DisplayAsync(shape)
-
}
}
diff --git a/src/OrchardCore.Modules/OrchardCore.Markdown/Views/MarkdownField-TextArea.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.Markdown/Views/MarkdownField-TextArea.Edit.cshtml
index fe2293f26e0..bdb4a38d5a3 100644
--- a/src/OrchardCore.Modules/OrchardCore.Markdown/Views/MarkdownField-TextArea.Edit.cshtml
+++ b/src/OrchardCore.Modules/OrchardCore.Markdown/Views/MarkdownField-TextArea.Edit.cshtml
@@ -3,15 +3,20 @@
@using OrchardCore.ContentManagement.Metadata.Models
@using OrchardCore.Markdown.Settings
@using OrchardCore.Mvc.Utilities
+@using OrchardCore
@{
var settings = Model.PartFieldDefinition.GetSettings
();
var culture = await Orchard.GetContentCultureAsync(Model.Field.ContentItem);
- var uniqueName = $"{Model.PartFieldDefinition.PartDefinition.Name}-{Model.PartFieldDefinition.Name}";
}
-
+
@await DisplayAsync(await New.ShortcodeModal())
-
-
-
@settings.Hint
+
+
+
+ @if (!string.IsNullOrEmpty(settings.Hint))
+ {
+ @settings.Hint
+ }
+
diff --git a/src/OrchardCore.Modules/OrchardCore.Markdown/Views/MarkdownField-Wysiwyg.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.Markdown/Views/MarkdownField-Wysiwyg.Edit.cshtml
index 14fcd2fd778..128c31cb388 100644
--- a/src/OrchardCore.Modules/OrchardCore.Markdown/Views/MarkdownField-Wysiwyg.Edit.cshtml
+++ b/src/OrchardCore.Modules/OrchardCore.Markdown/Views/MarkdownField-Wysiwyg.Edit.cshtml
@@ -3,23 +3,25 @@
@using OrchardCore.ContentManagement.Metadata.Models
@using OrchardCore.Markdown.Settings
@using OrchardCore.Mvc.Utilities
+@using OrchardCore
@{
var settings = Model.PartFieldDefinition.GetSettings
();
var culture = await Orchard.GetContentCultureAsync(Model.Field.ContentItem);
- var uniqueName = $"{Model.PartFieldDefinition.PartDefinition.Name}-{Model.PartFieldDefinition.Name}";
}
-
+
@await DisplayAsync(await New.ShortcodeModal())
-
-
- @if (!string.IsNullOrEmpty(settings.Hint))
- {
-
@settings.Hint
- }
+
+
+
+ @if (!string.IsNullOrEmpty(settings.Hint))
+ {
+ @settings.Hint
+ }
+
-
+