Skip to content

Text Formatting

Full Editor

All presets support basic text formatting. Entry points vary by preset:

Capabilitybasic / fullnotion
Bold / italic / underline / strikethroughHeaderSelect text → line-start floating menu
Text color / highlightHeader color pickerFloating menu
Headings H1–H6Header heading dropdownType / → heading block
Ordered / unordered / task listsHeaderType / or floating menu
AlignmentHeaderBlock menu / floating menu
Clear formattingHeaderFloating menu / block menu
Font family / sizefull header
Superscript / subscriptfull header
Format painterfull header— (disabled on notion)
vue
<YanivEditor preset="basic" />
<YanivEditor preset="full" />
<YanivEditor preset="notion" appearance="notion" />

Inline Editor

textFormat is enabled by default (bold, italic, underline, strikethrough). You can add heading, list, align, font, clearFormat, and more.

vue
<YanivInlineEditor
  v-model:content="html"
  :toolbar="{ undoRedo: true, textFormat: true, link: true, list: true, align: true }"
/>