Search Results for

    Show / Hide Table of Contents
    View Source

    Class RteBlockRenderingValueConverter

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

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

    Constructors

    View Source

    RteBlockRenderingValueConverter(HtmlLocalLinkParser, HtmlUrlParser, HtmlImageSourceParser, IApiRichTextElementParser, IApiRichTextMarkupParser, IPartialViewBlockEngine, BlockEditorConverter, IJsonSerializer, IApiElementBuilder, RichTextBlockPropertyValueConstructorCache, ILogger<RteBlockRenderingValueConverter>, IOptionsMonitor<DeliveryApiSettings>)

    Declaration
    public RteBlockRenderingValueConverter(HtmlLocalLinkParser linkParser, HtmlUrlParser urlParser, HtmlImageSourceParser imageSourceParser, IApiRichTextElementParser apiRichTextElementParser, IApiRichTextMarkupParser apiRichTextMarkupParser, IPartialViewBlockEngine partialViewBlockEngine, BlockEditorConverter blockEditorConverter, IJsonSerializer jsonSerializer, IApiElementBuilder apiElementBuilder, RichTextBlockPropertyValueConstructorCache constructorCache, ILogger<RteBlockRenderingValueConverter> logger, IOptionsMonitor<DeliveryApiSettings> deliveryApiSettingsMonitor)
    Parameters
    Type Name Description
    HtmlLocalLinkParser linkParser
    HtmlUrlParser urlParser
    HtmlImageSourceParser imageSourceParser
    IApiRichTextElementParser apiRichTextElementParser
    IApiRichTextMarkupParser apiRichTextMarkupParser
    IPartialViewBlockEngine partialViewBlockEngine
    BlockEditorConverter blockEditorConverter
    IJsonSerializer jsonSerializer
    IApiElementBuilder apiElementBuilder
    RichTextBlockPropertyValueConstructorCache constructorCache
    ILogger<RteBlockRenderingValueConverter> logger
    IOptionsMonitor<DeliveryApiSettings> deliveryApiSettingsMonitor

    Methods

    View Source

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

    Declaration
    public object ConvertIntermediateToDeliveryApiObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, object inter, bool preview, bool expanding)
    Parameters
    Type Name Description
    IPublishedElement owner
    IPublishedPropertyType propertyType
    PropertyCacheLevel referenceCacheLevel
    System.Object inter
    System.Boolean preview
    System.Boolean expanding
    Returns
    Type Description
    System.Object
    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

    ConvertSourceToIntermediate(IPublishedElement, IPublishedPropertyType, Object, Boolean)

    Declaration
    public override object ConvertSourceToIntermediate(IPublishedElement owner, IPublishedPropertyType propertyType, object source, bool preview)
    Parameters
    Type Name Description
    IPublishedElement owner
    IPublishedPropertyType propertyType
    System.Object source
    System.Boolean preview
    Returns
    Type Description
    System.Object
    View Source

    GetDeliveryApiPropertyCacheLevel(IPublishedPropertyType)

    Declaration
    public PropertyCacheLevel GetDeliveryApiPropertyCacheLevel(IPublishedPropertyType propertyType)
    Parameters
    Type Name Description
    IPublishedPropertyType propertyType
    Returns
    Type Description
    PropertyCacheLevel
    View Source

    GetDeliveryApiPropertyCacheLevelForExpansion(IPublishedPropertyType)

    Declaration
    public PropertyCacheLevel GetDeliveryApiPropertyCacheLevelForExpansion(IPublishedPropertyType propertyType)
    Parameters
    Type Name Description
    IPublishedPropertyType propertyType
    Returns
    Type Description
    PropertyCacheLevel
    View Source

    GetDeliveryApiPropertyValueType(IPublishedPropertyType)

    Declaration
    public Type GetDeliveryApiPropertyValueType(IPublishedPropertyType propertyType)
    Parameters
    Type Name Description
    IPublishedPropertyType propertyType
    Returns
    Type Description
    Type
    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
      • RteBlockRenderingValueConverter(HtmlLocalLinkParser, HtmlUrlParser, HtmlImageSourceParser, IApiRichTextElementParser, IApiRichTextMarkupParser, IPartialViewBlockEngine, BlockEditorConverter, IJsonSerializer, IApiElementBuilder, RichTextBlockPropertyValueConstructorCache, ILogger<RteBlockRenderingValueConverter>, IOptionsMonitor<DeliveryApiSettings>)
    • Methods
      • ConvertIntermediateToDeliveryApiObject(IPublishedElement, IPublishedPropertyType, PropertyCacheLevel, Object, Boolean, Boolean)
      • ConvertIntermediateToObject(IPublishedElement, IPublishedPropertyType, PropertyCacheLevel, Object, Boolean)
      • ConvertSourceToIntermediate(IPublishedElement, IPublishedPropertyType, Object, Boolean)
      • GetDeliveryApiPropertyCacheLevel(IPublishedPropertyType)
      • GetDeliveryApiPropertyCacheLevelForExpansion(IPublishedPropertyType)
      • GetDeliveryApiPropertyValueType(IPublishedPropertyType)
      • GetPropertyCacheLevel(IPublishedPropertyType)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX