mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-08 00:14:31 +08:00
Compare commits
1 Commits
4268b28d95
...
MatteoPiov
Author | SHA1 | Date | |
---|---|---|---|
![]() |
06a6af0672 |
@@ -29,7 +29,7 @@ namespace TinyMce.Settings {
|
||||
}
|
||||
|
||||
public override IEnumerable<TemplateViewModel> PartFieldEditorUpdate(ContentPartFieldDefinitionBuilder builder, IUpdateModel updateModel) {
|
||||
if (!_contentLinksDependenciesEnabled || !_htmlFields.Any(x => x.Equals(builder.Name, StringComparison.InvariantCultureIgnoreCase)))
|
||||
if (!_contentLinksDependenciesEnabled || !_htmlFields.Any(x => x.Equals(builder.FieldType, StringComparison.InvariantCultureIgnoreCase)))
|
||||
yield break;
|
||||
|
||||
var model = new ContentLinksSettings();
|
||||
@@ -56,4 +56,4 @@ namespace TinyMce.Settings {
|
||||
yield return DefinitionTemplate(model);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user