Skip to content

Controlled component #180

@Yomguithereal

Description

@Yomguithereal

Hello draftail team,

Sorry if I did not found the option in the docs but I was just wondering whether you would add the possibility to handle a Draftail editor as any controlled react input (what's more, draft.js normally works this way). I can see the appeal of having a debounced onSave hook but the fact that one cannot control the editor using react unidirectional data flow make it hard to use with usual patterns. What's more, can I help you in any way to add this, if you want to?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions