Skip to main content
Change text font to match your document’s style and tone. Select text and apply different fonts for headers, quotes, or emphasis. Preserves perfectly through Word import/export.

OOXML Structure

Use case

  • Brand consistency - Match company typography guidelines
  • Document hierarchy - Different fonts for headers vs body text
  • Code snippets - Monospace fonts for technical content
  • Readability - Choose fonts optimized for screen or print

Options

Configure the extension behavior:
Array<string>
default:"['textStyle']"
Mark types to add font family support to

Attributes

Node attributes that can be set and retrieved:
FontFamilyValue
Font family for text

Commands

setFontFamily

Set font family
Preserves other text styling attributes
Example:
Parameters:
FontFamilyValue
required
Font family to apply

unsetFontFamily

Remove font family
Reverts to default document font
Example:

Types

FontFamilyValue

CSS font-family string (e.g., ‘Arial’, ‘Times New Roman’, ‘sans-serif’)

Source code