Draft Js Basic Html Editor screenshot

Draft Js Basic Html Editor

Author Avatar Theme by Dburrows
Updated: 16 Nov 2016
87 Stars

Basic HTML editor using draft.js - html in, html out

Categories

Overview

The draft-js Basic HTML Editor is an innovative and user-friendly tool designed for those looking to seamlessly incorporate HTML editing into their projects. Built on the Draft.js framework, this editor allows users to input HTML and conveniently return it through an onChange handler, making it a promising solution for web developers. Although it’s currently a proof of concept and not fully production-ready, it shows great potential with its rich set of features aimed at enhancing the editing experience.

This editor extends the rich text example from the Draft repository, catering to both block and inline HTML tags. It is an excellent choice for developers who want to integrate HTML editing while maintaining a familiar editing interface that Draft.js offers. With more enhancements on the horizon, this tool is definitely worth considering for those exploring HTML content management.

Features

  • Tag Support: Supports various block tags such as <p>, <h1>, <h2>, <blockquote>, <ul>, <ol>, and <code>.
  • Inline Formatting: Provides support for inline tags including <strong>, <em>, <u>, <code>, and <del>.
  • Installation Ease: Quick to install with a simple npm command, streamlining integration into projects.
  • Webpack Compatibility: Built without dependencies on React or React-DOM, ensuring flexibility in various project setups.
  • Feature Roadmap: Includes extensive feature development plans, such as improved block and inline tag support, list handling, and additional elements like links and images.
  • Development Ready: While still in the proof of concept stage, it includes essential features and a clear path toward production readiness.
  • Community Collaboration: Open to contributions and pull requests, encouraging community involvement for continuous improvement.