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

    Function getExtensionField

    • Returns a field from an extension

      Type Parameters

      Parameters

      • extension: E

        The Tiptap extension

      • field:
            | "name"
            | "code"
            | "draggable"
            | "priority"
            | "inline"
            | "content"
            | "group"
            | "selectable"
            | "addNodeView"
            | "topNode"
            | "marks"
            | "atom"
            | "whitespace"
            | "linebreakReplacement"
            | "defining"
            | "isolating"
            | "parseHTML"
            | "renderHTML"
            | "renderText"
            | "addAttributes"
            | "allowGapCursor"
            | "tableRole"
            | "addOptions"
            | "addStorage"
            | "addGlobalAttributes"
            | "addCommands"
            | "addKeyboardShortcuts"
            | "addInputRules"
            | "addPasteRules"
            | "addProseMirrorPlugins"
            | "addExtensions"
            | "extendNodeSchema"
            | "extendMarkSchema"
            | "onBeforeCreate"
            | "onCreate"
            | "onUpdate"
            | "onSelectionUpdate"
            | "onTransaction"
            | "onFocus"
            | "onBlur"
            | "onDestroy"
            | "addMarkView"
            | "keepOnSplit"
            | "inclusive"
            | "excludes"
            | "exitable"
            | "spanning"

        The field, for example renderHTML or priority

      • Optionalcontext: Omit<MaybeThisParameterType<T>, "parent">

        The context object that should be passed as this into the function

      Returns RemoveThis<T>

      The field value