mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Compare commits
1 Commits
issue/8479
...
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