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

    Type Alias GlobalAttributes

    GlobalAttributes: {
        attributes: Record<string, Attribute | undefined>;
        types: string[] | "nodes" | "marks" | "*";
    }[]

    Type Declaration

    • attributes: Record<string, Attribute | undefined>

      The attributes to add to the node or mark types.

    • types: string[] | "nodes" | "marks" | "*"

      The node & mark types this attribute should be applied to. Can be a specific array of type names, or a shorthand string:

      • '*' applies to all nodes (excluding text) and all marks
      • 'nodes' applies to all nodes (excluding the built-in text node)
      • 'marks' applies to all marks
      • string[] applies to specific node/mark types by name
      types: '*'                                    // All nodes and marks
      types: 'nodes' // All nodes
      types: 'marks' // All marks
      types: ['heading', 'paragraph'] // Specific types