Search Results for

    Show / Hide Table of Contents

    Class RteMacroRenderingValueConverter

    A value converter for TinyMCE that will ensure any macro content is rendered properly even when used dynamically.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.PropertyEditors.ValueConverters
    Assembly: cs.temp.dll.dll
    Syntax
    public class RteMacroRenderingValueConverter : SimpleTinyMceValueConverter

    Constructors

    RteMacroRenderingValueConverter(IUmbracoContextAccessor, IMacroRenderer, HtmlLocalLinkParser, HtmlUrlParser, HtmlImageSourceParser)

    Declaration
    public RteMacroRenderingValueConverter(IUmbracoContextAccessor umbracoContextAccessor, IMacroRenderer macroRenderer, HtmlLocalLinkParser linkParser, HtmlUrlParser urlParser, HtmlImageSourceParser imageSourceParser)
    Parameters
    Type Name Description
    IUmbracoContextAccessor umbracoContextAccessor
    IMacroRenderer macroRenderer
    HtmlLocalLinkParser linkParser
    HtmlUrlParser urlParser
    HtmlImageSourceParser imageSourceParser

    Methods

    ConvertIntermediateToObject(IPublishedElement, IPublishedPropertyType, PropertyCacheLevel, Object, Boolean)

    Declaration
    public override object ConvertIntermediateToObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, object inter, bool preview)
    Parameters
    Type Name Description
    IPublishedElement owner
    IPublishedPropertyType propertyType
    PropertyCacheLevel referenceCacheLevel
    System.Object inter
    System.Boolean preview
    Returns
    Type Description
    System.Object

    GetPropertyCacheLevel(IPublishedPropertyType)

    Declaration
    public override PropertyCacheLevel GetPropertyCacheLevel(IPublishedPropertyType propertyType)
    Parameters
    Type Name Description
    IPublishedPropertyType propertyType
    Returns
    Type Description
    PropertyCacheLevel
    In This Article
    • Constructors
      • RteMacroRenderingValueConverter(IUmbracoContextAccessor, IMacroRenderer, HtmlLocalLinkParser, HtmlUrlParser, HtmlImageSourceParser)
    • Methods
      • ConvertIntermediateToObject(IPublishedElement, IPublishedPropertyType, PropertyCacheLevel, Object, Boolean)
      • GetPropertyCacheLevel(IPublishedPropertyType)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX