How to use react-draft-wysiwyg - 1 common examples

To help you get started, we’ve selected a few react-draft-wysiwyg examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pennlabs / clubs / components / Form.js View on Github external
constructor(props) {

    this.state = {
      mounted: false,

    this.files = {}

    if (process.browser) {
      htmlToDraft = require('html-to-draftjs').default
      Editor = require('react-draft-wysiwyg').Editor


    this.generateField = this.generateField.bind(this)
    this.generateFields = this.generateFields.bind(this)


A wysiwyg on top of DraftJS.

Latest version published 1 year ago

Package Health Score

67 / 100
Full package analysis

Popular react-draft-wysiwyg functions

Similar packages