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

Probably needs a refactor later, but stops us from saving every key stroke. #440

Merged
merged 5 commits into from
May 31, 2016

Conversation

mmcdermott
Copy link
Contributor

No description provided.

@@ -28,6 +28,10 @@ class TextInputEditor extends Component {
return editorState.getCurrentContent().getPlainText('')
}

_onBlur() {
this.props.onBlur(this.state.editorState.getCurrentContent().getPlainText(''))
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need to pass the value to the parent? The parent element, TextInput, already has that value in state.value.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it doesn't right now.

OAGr and others added 4 commits May 31, 2016 15:10
* master:
  Added stage environments for master, ozzie, matthew
  Addressed comments from cr
  Minor color alterations
  Added cut functionality to space header
  Basic refactoring for header
  Basic toolbar for space show header
  Adjusted model header to experiment
  Bit more clean up.
  Clean Up
  Don't try to update the graph at all, just tell the user to refresh.
  Partially updates the graph.
  Space warning, not properly updating graph.
  We shouldn't update an undefined name to a '' name.
@OAGr OAGr merged commit e3346a4 into master May 31, 2016
@OAGr OAGr deleted the no-save-every-keystroke branch May 31, 2016 22:37
@OAGr OAGr removed the in progress label May 31, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants