awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
jakiestfu avatar

jakiestfu/Medium.js

0
View on GitHub↗
jakiestfu.github.io/Medium.js↗

Medium.js

Medium.js is a JavaScript rich text editor library and framework for building what-you-see-is-what-you-get editors. It acts as a lightweight wrapper for the browser contenteditable API, transforming standard elements into styled editors that support rich text formatting and semantic HTML output.

The library functions as an HTML content sanitizer, stripping unwanted tags and attributes from typed or pasted content to maintain clean markup. It provides a system for implementing custom keyboard interactions and mapping shortcuts to trigger styling changes or element insertion.

The framework covers a broad range of editor capabilities, including state management for undo and redo operations, input constraint configuration for length limits and placeholders, and the programmatic injection of custom HTML elements at the cursor position.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Rich Text Editors - Provides a complete framework for building custom document models and rich text editing experiences.
  • ContentEditable Wrappers - Provides a lightweight wrapper for the browser contenteditable API to manage document state and formatting.
  • Sanitizing HTML Editors - Ships a sanitization system that ensures structural consistency and security of HTML content during editing.
  • WYSIWYG Editors - Implements a what-you-see-is-what-you-get framework where visual editing matches the final published output.
  • ContentEditable Components - Provides a specialized framework for building UI components based on the browser native contenteditable attribute.
  • Content Administration Interfaces - Enables the creation of professional publishing interfaces with constrained editing rules for content administration.
  • Document Element Insertion - Provides programmatic methods to insert structural and visual elements like rich media into the document.
  • Editor State Management - Provides a comprehensive system for managing editor state, including content retrieval and operational modes.
  • Undo-Redo State History - Maintains a state-based history stack to enable undo and redo operations for document changes.
  • Editor Event Handlers - Provides an event-driven architecture to respond to user interactions and text modifications within the editor.
  • Auto-Formatting Patterns - Automatically converts user input sequences into structural elements like horizontal rules.
  • Custom HTML Embeds - Allows the injection of raw HTML and JavaScript fragments to create specialized custom components.
  • Event-Driven Input Handlers - Implements event-driven handlers to intercept keyboard and input events for custom formatting logic.
  • Semantic Markup Enforcement - Cleans and organizes HTML code during editing to ensure the output remains simple and semantic.
  • Input-Driven Structural Formatting - Automatically inserts structural tags like paragraphs or horizontal rules based on user input patterns.
  • Keyboard Event Handlers - Implements a system for managing keyboard event handlers and custom shortcuts to trigger editor actions.
  • Cursor-Aware Injections - Calculates cursor positions to precisely inject custom HTML elements or structural tags.
  • Keyboard Shortcut Mapping - Allows the mapping of keyboard shortcuts to execute custom event handlers or trigger styling changes.
  • Standalone Editors - Lightweight library for creating beautiful contenteditable areas.
4,376 stars·394 forks·JavaScript·45 views

Star history

Star history chart for jakiestfu/medium.jsStar history chart for jakiestfu/medium.js

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does jakiestfu/medium.js do?

Medium.js is a JavaScript rich text editor library and framework for building what-you-see-is-what-you-get editors. It acts as a lightweight wrapper for the browser contenteditable API, transforming standard elements into styled editors that support rich text formatting and semantic HTML output.

What are the main features of jakiestfu/medium.js?

The main features of jakiestfu/medium.js are: Rich Text Editors, ContentEditable Wrappers, Sanitizing HTML Editors, WYSIWYG Editors, ContentEditable Components, Content Administration Interfaces, Document Element Insertion, Editor State Management.

Which projects share features with jakiestfu/medium.js?

Projects with overlapping indexed features include: basecamp/trix — Trix is a rich text editor and WYSIWYG text component designed for composing and formatting documents with inline… alex-d/trumbowyg — Trumbowyg is a lightweight JavaScript WYSIWYG editor used to create and format rich-text and HTML content directly… jpuri/react-draft-wysiwyg — This project is a rich text editor component for React applications that provides a visual interface for composing and… mindmup/bootstrap-wysiwyg — bootstrap-wysiwyg is a WYSIWYG HTML editor and browser-based content editor designed to integrate with the Bootstrap… jaredreich/pell — Pell is a JavaScript text editor library and browser-based rich text editor. It provides a lightweight WYSIWYG HTML… tinymce/tinymce — TinyMCE is a JavaScript rich text editor and WYSIWYG HTML editor that provides a visual interface for creating and…

Projects sharing features with Medium.js

These projects share indexed features with Medium.js. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • basecamp/trixbasecamp avatar

    basecamp/trix

    19,970View on GitHub↗

    Trix is a rich text editor and WYSIWYG text component designed for composing and formatting documents with inline styling and block elements. It functions as an HTML content editor that manages and sanitizes input to ensure a secure and consistent document structure, while serving as a document state manager that tracks edit history and persists serialized state. The editor integrates directly with standard HTML forms, converting rich text into data for submission. It features a configurable sanitization engine that cleanses input HTML to remove unsupported tags and mitigate security risks.

    JavaScript
    View on GitHub↗19,970
  • alex-d/trumbowygAlex-D avatar

    Alex-D/Trumbowyg

    4,149View on GitHub↗

    Trumbowyg is a lightweight JavaScript WYSIWYG editor used to create and format rich-text and HTML content directly within a web browser. It serves as a client-side tool for generating semantic HTML markup and authoring web content. The project features a modular, plugin-based architecture that allows for the addition of new formatting commands and toolbar buttons. It provides a configurable interface where the toolbar layout can be customized via a predefined array and labels can be translated through localization files. The editor covers a wide range of content manipulation capabilities, in

    JavaScript
    View on GitHub↗4,149
  • jpuri/react-draft-wysiwygjpuri avatar

    jpuri/react-draft-wysiwyg

    6,471View on GitHub↗

    This project is a rich text editor component for React applications that provides a visual interface for composing and formatting content. It functions as a DraftJS-based WYSIWYG editor, allowing users to create structured documents with inline styles and block types. The editor features a customizable toolbar interface for managing text alignment, lists, and media embeds. It includes a specialized input system for inserting emojis, hashtags, and user mentions as single deletable units. The project provides capabilities for transforming internal editor state into HTML, JSON, or Markdown form

    JavaScript
    View on GitHub↗6,471
  • mindmup/bootstrap-wysiwygmindmup avatar

    mindmup/bootstrap-wysiwyg

    5,515View on GitHub↗

    bootstrap-wysiwyg is a WYSIWYG HTML editor and browser-based content editor designed to integrate with the Bootstrap CSS framework. It provides a visual interface for creating and formatting rich text content that outputs HTML markup. The editor allows for custom text formatting workflows through the configuration of toolbars and keyboard shortcuts. Users can embed images via drag-and-drop and utilize a dedicated process to clean up redundant tags and whitespace in the generated markup.

    HTML
    View on GitHub↗5,515
Compare all 30 related projects→