DocsBuild your experienceConfiguration
Quick install
Make it yours

Configuration

Toolbar modes and editor options — the switches that shape how Eddyter sits inside your product.

Last updated

Your frameworkOne editor. Your stack.

Compatibility

Eddyter supports React 18.2+ and React 19.x. Works with Next.js, Vite, Remix, and any React setup.

Keep the toolbar in view

Configure toolbar behaviour with the toolbar option. In sticky mode you can set offset and zIndex — for a page with a fixed header, match the offset to the header's height.

Example: toolbar below a 64 px header
<ConfigurableEditorWithAuth
  apiKey="your-api-key"
  toolbar={{ mode: "sticky", offset: 64, zIndex: 1200 }}
/>

Defaults

{ mode: "sticky", offset: 20, zIndex: 1000 }. In static mode, offset and zIndex are ignored.

Contain the writing area

In static mode, the editor automatically defaults to a maxHeight of 600px. You only need to pass the editor option if you want to override this default.

Static mode with content scroll
<ConfigurableEditorWithAuth
  apiKey="your-api-key"
  toolbar={{ mode: "static" }}
  // editor={{ maxHeight: 400 }} // Optional: overrides 600px default
/>
Was this page useful?