Update src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs

Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
Warren Buckley
2019-09-11 10:54:47 +01:00
committed by GitHub
parent cfe196a45d
commit 9f4697c5b3

View File

@@ -116,7 +116,7 @@ namespace Umbraco.Web.PropertyEditors
var userId = Current.UmbracoContext.Security.CurrentUser.Id;
// TODO: In future task(get the parent folder from this config) to save the media into
parsed = TemplateUtilities.FindAndPersistPastedTempImages(parsed, -1, userId, _mediaService, _contentTypeBaseServiceProvider);
parsed = TemplateUtilities.FindAndPersistPastedTempImages(parsed, Constants.System.Root, userId, _mediaService, _contentTypeBaseServiceProvider);
return parsed;
}
}