Skip to content

A Tailwind-styled, dropdown-based rich-text toolbar component with accessible interactions.

License

Notifications You must be signed in to change notification settings

stephen-costa20/EditorEdge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

View on GitHub License Last Commit Built with JavaScript

⭐ EditorEdge - Rich Text Toolbar (Tailwind + Vanilla JS)

A modular, dropdown-based rich text toolbar UI inspired by modern document editors (Word / Google Docs–style), built with Tailwind CSS and plain JavaScript — no frameworks required.

This project focuses on UI clarity, interaction design, and accessibility, rather than editor engine logic.

Preview

Toolbar preview

Overview

This toolbar is designed as a reusable UI layer for rich-text or document-style applications. It provides a comprehensive set of formatting controls (font, size, emphasis, color, alignment, lists, media, tables, and code blocks) while remaining:

  • Framework-agnostic
  • Lightweight
  • Easy to integrate into larger systems

The intent is to separate editor UI from editor behavior, making it suitable for integration with custom editors, contenteditable implementations, or backend-driven document systems.

Features

  • Font family & font size selectors
  • Bold, italic, underline, strikethrough
  • Highlight & text color pickers (preset + custom)
  • Alignment controls (left, center, right, justify)
  • Bulleted, dashed, numbered, and alphabetical lists
  • Image insertion layout options
  • Code block, table, block quote, link, and attachment controls
  • Keyboard navigation & focus management
  • Accessible ARIA attributes for dropdown menus

Tech Stack

  • HTML
  • Tailwind CSS (CDN)
  • Vanilla JavaScript

No build tools. No dependencies. Drop-in ready.

Usage

  1. Clone the repository:
    git clone https://github.com/stephen-costa20/EditorEdge.git