Skip to content

onFocus is not working #16

Open
Open
@stormcleric

Description

@stormcleric

I'm using TintMCEInput as suggested:

<TinyMCEInput value={this.state.text} onChange={this.handleEditorChange} onFocus={this.handleFocus} onBlur={this.handleBlur} tinymceConfig={config} />

But focus is not working - blur does.

handleFocus: function () {
        console.log("FOCUS POCUS!");
        this.setState({
            focused: true
        });
    },
    handleBlur: function () {
        console.log("BLURRED BLUR!");
        this.setState({
            focused: false
        });
    },    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions