Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: undefined is not an object (evaluating 'deepestAncestor.firstChild') #3

Closed
OKNoah opened this issue Jun 19, 2015 · 1 comment

Comments

@OKNoah
Copy link

OKNoah commented Jun 19, 2015

I see this error in my console log whenever there is a change event in the editable field. The onChange event doesn't seem to file at all. Here is my code.

render: function () {
    return (
        <div>
            <InlineEdit 
                /*...*/
                onChange={ this.onChange }
                /*...*/
        </div>
    )
},

/*...*/

onChange: function ( text ) {
    console.log( text )
    this.setState( { text: text } )
}

This is actually when using ng-react with Angular. I'll try make another version without to see if it's related to that.

@vasanthk
Copy link
Owner

I highly recommend @bmcmahen 's react-wysiwyg It's well maintained.
I wrote this module as a learning experience and did some tweaks to suit my project needs.

@vasanthk vasanthk reopened this Nov 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants