This is a clone of medium.com inline editor toolbar. MediumEditor has been written using vanilla JavaScript, no additional frameworks required. MediumEditor also supports textarea. If you provide a textarea element, the script will create a new div with contentEditable=true, hide the textarea and link the textarea value to the div HTML content. People have contributed wrappers around MediumEditor for integrating with different frameworks and tech stacks. Take a look at the list of existing Wrappers and Integrations that have already been written for MediumEditor! Options to customize medium-editor are passed as the second argument to the MediumEditor constructor. The toolbar for MediumEditor is implemented as a built-in extension which automatically displays whenever the user selects some text. The toolbar can hold any set of defined built-in buttons, but can also hold any custom buttons passed in as extensions.

Features

  • Uses contenteditable API to implement a rich text solution
  • Pure javascript. No libraries!
  • Lightweight 28kB gzipped
  • Chrome, Firefox, Safari, IE, & Edge support
  • Choose between Mani, Roman, Flat, Bootstrap, Tim & Beagle themes
  • CSS class added to active buttons in the toolbar

Project Samples

Project Activity

See All Activity >

Categories

Text Editors

License

MIT License

Follow MediumEditor

MediumEditor Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MediumEditor!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Text Editors

Registered

2021-03-30