Class TinyMceController
- Namespace
- Umbraco.Cms.Web.BackOffice.Controllers
- Assembly
- Umbraco.Web.BackOffice.dll
[Authorize(Policy = "SectionAccessForTinyMce")]
public class TinyMceController : UmbracoAuthorizedApiController
- Inheritance
-
TinyMceController
- Inherited Members
Constructors
TinyMceController(IHostingEnvironment, IShortStringHelper, IOptionsSnapshot<ContentSettings>, IIOHelper, IImageUrlGenerator)
public TinyMceController(IHostingEnvironment hostingEnvironment, IShortStringHelper shortStringHelper, IOptionsSnapshot<ContentSettings> contentSettings, IIOHelper ioHelper, IImageUrlGenerator imageUrlGenerator)
Parameters
hostingEnvironmentIHostingEnvironmentshortStringHelperIShortStringHelpercontentSettingsIOptionsSnapshot<ContentSettings>ioHelperIIOHelperimageUrlGeneratorIImageUrlGenerator
Methods
UploadImage(List<IFormFile>)
[HttpPost]
public Task<IActionResult> UploadImage(List<IFormFile> file)