Getting Started

Styling Editors

Pilot is unstyled by default, so you can customize it to your liking

Out of the box, Pilot gives you an unstyled editor. So to customize the look and feel of your editor, you can use CSS.

You can style your editor through CSS selectors or Tailwind typography.

Read Tiptap's Customization Guide for a full guide on how to style your editor.

CSS

All of the elements in your elements can be targeted using CSS selectors. A tiptap class is applied to the root element of the <Editor> component.

.tiptap {
  /* Your styles here */
}

.tiptap h1 {
  font-weight: 700;
  font-size: 2rem;
}
Check out the Source Code for the demo app.

Tailwind Typography

You can use Tailwind's Typography Plugin to style your editor by adding the prose class to your editor.

<template>
  <Editor class="prose" />
</template>

This will apply the default Tailwind typography styles to your editor.

Read Tailwind's Typography Plugin for more information on how to configure it and customize the styles.