Trevixal API
    Preparing search index...

    Function toggleWrap

    • Wrap the selected blocks in a node of the given type or, when they already sit in one, take them out of the nearest. A toolbar toggle wants this: Quote pressed twice gives no quote, not a quote inside a quote.

      Parameters

      • name: string
      • Optionalattrs: Readonly<Record<string, unknown>>

      Returns Command