Search Results for

    Show / Hide Table of Contents
    View Source

    Class RteMacroRenderingValueConverter

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

    Inheritance
    System.Object
    PropertyValueConverterBase
    SimpleTinyMceValueConverter
    Namespace: Umbraco.Cms.Core.PropertyEditors.ValueConverters
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class RteMacroRenderingValueConverter : SimpleTinyMceValueConverter, IPropertyValueConverter, IDiscoverable

    Constructors

    View Source

    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

    View Source

    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
    View Source

    GetPropertyCacheLevel(IPublishedPropertyType)

    Declaration
    public override PropertyCacheLevel GetPropertyCacheLevel(IPublishedPropertyType propertyType)
    Parameters
    Type Name Description
    IPublishedPropertyType propertyType
    Returns
    Type Description
    PropertyCacheLevel
    • Improve this Doc
    • View Source
    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