Table of Contents

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

hostingEnvironment IHostingEnvironment
shortStringHelper IShortStringHelper
contentSettings IOptionsSnapshot<ContentSettings>
ioHelper IIOHelper
imageUrlGenerator IImageUrlGenerator

Methods

UploadImage(List<IFormFile>)

[HttpPost]
public Task<IActionResult> UploadImage(List<IFormFile> file)

Parameters

file List<IFormFile>

Returns

Task<IActionResult>