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

    Function createNodeFromContent

    • Takes a JSON or HTML content and creates a Prosemirror node or fragment from it.

      Parameters

      • content: Node | Content | Fragment

        The JSON or HTML content to create the node from

      • schema: Schema

        The Prosemirror schema to use for the node

      • Optionaloptions: CreateNodeFromContentOptions

        Options for the parser

      Returns Node | Fragment

      The created Prosemirror node or fragment