Skip to content

Support for onChange event? #31

@jforaker

Description

@jforaker

First off let me say WOW this is amazing! The draft-js ecosystem is so fragmented right now and this brings everything together so nicely. Well done!!

Is there support for on an onChange event or similar?

The use case being to pass the content through props to a "live" preview component as the user types or inserts an image for example.... something like this:

image

Another question (I don't want to bombard your repo with issues that aren't really issues)... Is there a way to set the initial content of the editor based on props? Use case being editing a pre-existing bit of content.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions