Copy and paste text formatting like Word’s format painter. Select styled text, copy its format, then apply to other text - all in two clicks.

How it works

  1. Select text with formatting you want to copy
  2. Click Format Painter (format is now stored)
  3. Select target text
  4. Click Format Painter again to apply

Why you’d use this

  • Consistency - Apply the same styling across multiple sections
  • Speed - Faster than manually applying multiple formats
  • Cleanup - Use Clear Format to remove unwanted styling

Commands

clearFormat

Clear all formatting (nodes and marks)
Removes all marks and resets nodes to default paragraph
clearFormat()

clearMarksFormat

Clear only mark formatting
Removes bold, italic, underline, colors, etc. but preserves block structure
clearMarksFormat()

clearNodesFormat

Clear only node formatting
Converts headings, lists, etc. to paragraphs but preserves text marks
clearNodesFormat()

copyFormat

Copy format from selection or apply copied format
Works like format painter - first click copies, second click applies
// First call: copy format from selection
copyFormat()

// Second call: apply copied format to new selection
copyFormat()

Keyboard Shortcuts

CommandShortcutDescription
clearFormat()⌘/Ctrl-Alt-cClear all formatting

Types

StoredStyle

Stored format style