@umbraco-cms/backoffice
    Preparing search index...

    Function generateText

    • Generate raw text from a JSONContent

      Parameters

      • doc: JSONContent

        The JSONContent to generate text from

      • extensions: Extensions

        The extensions to use for the schema

      • Optionaloptions: { blockSeparator?: string; textSerializers?: Record<string, TextSerializer> }

        Options for the text generation f.e. blockSeparator or textSerializers

      Returns string

      The generated text