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
FontFamilyValue
required
Font family to apply
unsetFontFamily
Remove font family
Reverts to default document font

