Skip to main content
Add subtle emphasis with italic styling. Classic slanted text for emphasis, thoughts, or citations.

OOXML Structure

<w:r>
  <w:rPr>
    <w:i/>
  </w:rPr>
  <w:t>Italic text</w:t>
</w:r>

Use Case

  • Emphasis - Softer than bold
  • Foreign words - Lorem ipsum, c’est la vie
  • Thoughts - Internal dialogue or asides
  • Citations - Book titles, publications
  • Technical terms - First usage of terminology

Options

Configure the extension behavior:
htmlAttributes
Object
default:"{}"
HTML attributes for italic elements

Commands

setItalic

Apply italic formatting Example:
editor.commands.setItalic()

unsetItalic

Remove italic formatting Example:
editor.commands.unsetItalic()

toggleItalic

Toggle italic formatting Example:
editor.commands.toggleItalic()

Keyboard Shortcuts

CommandShortcutDescription
toggleItalic()⌘/Ctrl-iToggle italic formatting
toggleItalic()⌘/Ctrl-IToggle italic formatting (uppercase)

Source Code

I