Medium.js keeps HTML code within content editable semantic, simple, and clean. Medium.js also supports placeholders, automatic HR (or BR, or P) creation, events, hotkeys, simple & complex element injection, and more! Medium.js is html5 compliant and has been tested in Firefox, Chrome, Safari, Opera, & IE8+. Browser support is constantly improving! This script is inspired by Medium's beautiful content editor, something we have aspired to emulate since its inception. Much more expressive and customizable than input or textarea. Simply include the dependencies, Medium.js library, CSS, and you are ready to rock. The code within Medium.js editors are very semantic and organized, giving you peace of mind with using content editable.

Features

  • Modern browser compliant
  • WYSIWYG editor or Toolbar ready
  • Keeps HTML organized and semantic (even on paste events)
  • Rich text editing with hotkeys (cmd/ctrl+[b,u,i])
  • Automatics HR (or BR, or P) tag insertion on two empty paragraphs in succession
  • Great for writing titles, comments, or entire articles

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow Medium.js

Medium.js Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Medium.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2021-12-07