Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

New Draft-JS version breaks backspace key #38

@SullyJHF

Description

@SullyJHF

New Draft JS 0.11 adds a new parameter (eventTimestamp) to the handleKeyCommand function: handleKeyCommand
This causes the plugin to throw an error whenever you press the backspace key because it's tring to find setEditorState in a number. PR #34 will fix this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @SullyJHF

        Issue actions

          New Draft-JS version breaks backspace key · Issue #38 · withspectrum/draft-js-code-editor-plugin