Editor Builder
Construct your own custom rich text editor by toggling the components you need. View the live preview and instantly copy the generated code.
Live Preview
Generated Code
import {
TiptideProvider,
TiptideTextarea,
Toolbar,
Tools,
BubbleMenu,
ImageBubbleMenu,
} from 'tiptide';
import 'tiptide/styles';
export function CustomTiptideEditor() {
return (
<TiptideProvider content={content} onChange={(editor) => setContent(editor.getJSON())}>
<div className="flex flex-col border border-neutral-200 rounded-lg overflow-hidden dark:border-neutral-800">
<Toolbar className="border-b border-neutral-200 bg-neutral-50 px-2 py-1 dark:border-neutral-800 dark:bg-neutral-900">
<Tools.undo />
<Tools.redo />
<Tools.bold />
<Tools.italic />
<Tools.underline />
<Tools.lists />
<Tools.textBlocks />
<Tools.link />
<Tools.image />
</Toolbar>
<div className="min-h-[300px] bg-white dark:bg-neutral-950 text-sm">
<TiptideTextarea />
</div>
<BubbleMenu />
<ImageBubbleMenu />
</div>
</TiptideProvider>
);
}