Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IApiRichTextElementParser

    Defines a parser that processes rich text content into structured elements for the Delivery API.

    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IApiRichTextElementParser

    Methods

    View Source

    Parse(string, RichTextBlockModel?)

    Parses HTML markup and optional block model into a rich text element.

    Declaration
    IRichTextElement? Parse(string html, RichTextBlockModel? richTextBlockModel)
    Parameters
    Type Name Description
    string html

    The HTML markup to parse.

    RichTextBlockModel richTextBlockModel

    The optional rich text block model containing embedded blocks.

    Returns
    Type Description
    IRichTextElement

    A rich text element, or null if parsing fails.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX