Search Results for

    Show / Hide Table of Contents
    View Source

    Class TinyMceController

    Inheritance
    System.Object
    Microsoft.AspNetCore.Mvc.ControllerBase
    UmbracoApiControllerBase
    UmbracoApiController
    UmbracoAuthorizedApiController
    Namespace: Umbraco.Cms.Web.BackOffice.Controllers
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    [PluginController("UmbracoApi")]
    [Authorize(Policy = "SectionAccessForTinyMce")]
    public class TinyMceController : UmbracoAuthorizedApiController, IUmbracoFeature, IDiscoverable

    Constructors

    View Source

    TinyMceController(IHostingEnvironment, IShortStringHelper, IOptionsSnapshot<ContentSettings>, IIOHelper, IImageUrlGenerator)

    Declaration
    public TinyMceController(IHostingEnvironment hostingEnvironment, IShortStringHelper shortStringHelper, IOptionsSnapshot<ContentSettings> contentSettings, IIOHelper ioHelper, IImageUrlGenerator imageUrlGenerator)
    Parameters
    Type Name Description
    IHostingEnvironment hostingEnvironment
    IShortStringHelper shortStringHelper
    Microsoft.Extensions.Options.IOptionsSnapshot<ContentSettings> contentSettings
    IIOHelper ioHelper
    IImageUrlGenerator imageUrlGenerator

    Methods

    View Source

    UploadImage(List<IFormFile>)

    Declaration
    [HttpPost]
    public async Task<IActionResult> UploadImage(List<IFormFile> file)
    Parameters
    Type Name Description
    List<Microsoft.AspNetCore.Http.IFormFile> file
    Returns
    Type Description
    Task<Microsoft.AspNetCore.Mvc.IActionResult>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • TinyMceController(IHostingEnvironment, IShortStringHelper, IOptionsSnapshot<ContentSettings>, IIOHelper, IImageUrlGenerator)
    • Methods
      • UploadImage(List<IFormFile>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX