Skip to main content

Documentation Index

Fetch the complete documentation index at: https://superdoc-nick-sd-2070-add-content-controls-namespace-to-doc.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Apply bold emphasis to make text stand out. The most fundamental text formatting, preserving perfectly through Word import/export.

OOXML Structure

<w:r>
  <w:rPr>
    <w:b/>
  </w:rPr>
  <w:t>Bold text</w:t>
</w:r>

Use case

  • Headings - Visual hierarchy without changing size
  • Key terms - Highlight important concepts
  • Warnings - Draw immediate attention
  • Emphasis - Stronger than italic

Commands

setBold

Apply bold formatting to the current selection.
editor.commands.setBold()

unsetBold

Remove bold formatting from the current selection.
editor.commands.unsetBold()

toggleBold

Toggle bold formatting on the current selection.
editor.commands.toggleBold()

Keyboard shortcuts

CommandShortcutDescription
toggleBold()⌘/Ctrl-bToggle bold formatting
toggleBold()⌘/Ctrl-BToggle bold formatting (uppercase)

Source code