0 words|0 characters
Editor
Live Preview

Welcome to Witch Text Editor

This is a real-time preview editor built with Next.js, Tiptap, and shadcn/ui. Start editing on the left and see your changes instantly on the right!

Features

  • Rich text formatting - Bold, italic, underline, strikethrough, and highlight
  • Code blocks - With syntax highlighting and language selection
  • Tables - Resizable columns with full manipulation controls
  • Images - Upload, crop, resize, and insert multiple images
  • Embeds - YouTube, Vimeo, Twitter, Spotify, and more
  • Markdown export - Export as .md file
  • Real-time preview - See changes as you type
  • Auto-save - Content saves to localStorage automatically

Example Code Block

TypeScript
function greet(name: string): string {
  console.log(`Hello, ${name}!`);
  return 'Welcome to Witch Text Editor';
}

greet('Developer');

Example Table

Feature Status Description
Rich Text Complete Full formatting support
Code Blocks Complete Syntax highlighting + copy
Image Editor Complete Crop, resize, multi-upload

"The best editor is one that gets out of your way and lets you create."

Try it out! Use the toolbar above to format your content, then export as markdown.