Skip to content

Latest commit

Β 

History

History
61 lines (46 loc) Β· 2.05 KB

File metadata and controls

61 lines (46 loc) Β· 2.05 KB

Logbook - Advanced Rich Text Editor

A polished, feature-rich Logbook application built with React 19 and Tiptap v2. This project provides a modern writing experience with a modular, highly customizable editor UI.

✨ Features

  • Rich Text Editing: Full support for bold, italic, underline, strike, headings, and more.
  • Advanced Formatting:
    • 🎨 Text Highlighting
    • πŸ”— Intelligent Link Management
    • πŸ“ Text Alignment (Left, Center, Right, Justify)
    • πŸ“‹ Task Lists & Nested Bullet/Ordered Lists
    • πŸ’» Code Blocks & Inline Code
  • Content Persistence: Automatically saves your work to localStorage so you never lose an entry on refresh.
  • Modern UI Components: Built with a modular architecture using custom primitives for toolbars, dropdowns, and popovers.
  • Responsive Design: Optimized for both desktop and mobile writing experiences.
  • Image Support: Integrated image upload and management (Drag & Drop / Upload).

πŸš€ Tech Stack

πŸ› οΈ Getting Started

Prerequisites

  • Node.js (Latest LTS recommended)
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/bamsemats/logbook.git
    cd logbook
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm start

πŸ—οΈ Project Structure

  • src/components/tiptap: Core editor logic and configuration.
  • src/components/tiptap/tiptap-ui: Modular UI components (Buttons, Dropdowns, Popovers).
  • src/components/tiptap/tiptap-ui-primitive: Base UI building blocks (Toolbar, Button, Separator).
  • src/hooks: Custom hooks for editor state, mobile detection, and window sizing.
  • src/lib: Shared utility functions and Tiptap helpers.

πŸ“„ License

This project is private and intended for personal/portfolio use.