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

better directions #29

Open
onewiseburdman opened this issue Dec 15, 2017 · 2 comments
Open

better directions #29

onewiseburdman opened this issue Dec 15, 2017 · 2 comments

Comments

@onewiseburdman
Copy link

please write some better directions-I am not sure what I am supposed to install via NPM.

Am I supposed to install summernote via NPM? I guess I am missing something.

@onewiseburdman
Copy link
Author

The reason I say that-I am getting this error:

summer-note.js:59 Uncaught TypeError: Cannot set property 'onChange' of undefined

I had to make a change also to the controller, to this.set:

onContentChange(text) {
this.set('postContent', text);
},

  changeHeight(someObject) {
    let height = someObject.doSomeCalculationToGetHeight();
    this.set('contentHeight', height);
  },

Ember was complaining about it. It's just a new ember install running ember 2.17.1

@vsymguysung
Copy link
Owner

Any contribution would be welcome! Feel free to create a PR. Thanks!

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