Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Content can be null
  • Loading branch information
ellatrix committed May 10, 2017
commit e6e0266482fe7cb7de40de563edb6fecaaacf39e
2 changes: 1 addition & 1 deletion blocks/editable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ export default class Editable extends wp.element.Component {
}

isEmpty( content ) {
return ! content.length;
return ! content || ! content.length;
}

render() {
Expand Down